Skip to content

Commit

Permalink
Spec update: remove javascript URL special case in the hash setter
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed Feb 21, 2017
1 parent 07d4514 commit 90a5d54
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions lib/URL-impl.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,6 @@ exports.implementation = class URLImpl {
}

set hash(v) {
if (this._url.scheme === "javascript") {
return;
}

if (v === "") {
this._url.fragment = null;
return;
Expand Down
2 changes: 1 addition & 1 deletion scripts/get-latest-platform-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const request = require("request");
// 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 = "9e33ff697b9bb0b2b0c160ae34c145f9a78ae04d";
const commitHash = "9f6f1d19334c65479b360873657d82c509c9ea63";

const sourceURL = `https://raw.githubusercontent.com/w3c/web-platform-tests/${commitHash}/url/urltestdata.json`;
const setterSourceURL = `https://raw.githubusercontent.com/w3c/web-platform-tests/${commitHash}/url/setters_tests.json`;
Expand Down

0 comments on commit 90a5d54

Please sign in to comment.