diff --git a/README.md b/README.md index 7d8e6ca..f937292 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ whatwg-url is a full implementation of the WHATWG [URL Standard](https://url.spe ## Specification conformance -whatwg-url is currently up to date with the URL spec up to commit [6ef17eb](https://github.com/whatwg/url/commit/6ef17ebe1220a7e7c0cfff0785017502ee18808b). +whatwg-url is currently up to date with the URL spec up to commit [7ae1c69](https://github.com/whatwg/url/commit/7ae1c691c96f0d82fafa24c33aa1e8df9ffbf2bc). For `file:` URLs, whose [origin is left unspecified](https://url.spec.whatwg.org/#concept-url-origin), whatwg-url chooses to use a new opaque origin (which serializes to `"null"`). diff --git a/scripts/get-latest-platform-tests.js b/scripts/get-latest-platform-tests.js index 3cbc62c..4f3a413 100644 --- a/scripts/get-latest-platform-tests.js +++ b/scripts/get-latest-platform-tests.js @@ -18,7 +18,7 @@ process.on("unhandledRejection", err => { // 1. Go to https://github.com/w3c/web-platform-tests/tree/master/url // 2. Press "y" on your keyboard to get a permalink // 3. Copy the commit hash -const commitHash = "37d83def16bacfa66abac065f8f5adc8f7e7a4fc"; +const commitHash = "fd4814ce7fcc4d6c23c73aac62daa8299feb0510"; const urlPrefix = `https://raw.githubusercontent.com/web-platform-tests/wpt/${commitHash}/url/`; const targetDir = path.resolve(__dirname, "..", "test", "web-platform-tests"); diff --git a/src/url-state-machine.js b/src/url-state-machine.js index 72b1b59..9de3c77 100644 --- a/src/url-state-machine.js +++ b/src/url-state-machine.js @@ -12,7 +12,6 @@ function p(char) { const specialSchemes = { ftp: 21, file: null, - gopher: 70, http: 80, https: 443, ws: 80, @@ -1237,7 +1236,6 @@ module.exports.serializeURLOrigin = function (url) { return "null"; } case "ftp": - case "gopher": case "http": case "https": case "ws":