From 065a26c97c4ede80b7b07838981b89c4646b7b1b Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Wed, 22 Feb 2017 07:19:37 +0100 Subject: [PATCH] Remove javascript URL case from //Location hash setter It makes no sense to just special case them in this IDL attribute anymore, if it ever did. Javascript URLs might come up again for the Location object per #1565, but for now they cannot be represented there and the other case should be aligned with the URL Standard, which changes per https://github.com/whatwg/url/pull/254. --- source | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/source b/source index f50dc714819..570f7d31290 100644 --- a/source +++ b/source @@ -22080,9 +22080,7 @@ interface HTMLHyperlinkElementUtils {
  • Let url be this element's url.

  • -
  • If url is null or url's scheme is "javascript", terminate these - steps.

  • +
  • If url is null, then return.

  • If the given value is the empty string, set url's fragment to null. @@ -81246,9 +81244,6 @@ State: <OUTPUT NAME=I>1</OUTPUT> <INPUT VALUE="Increment" TYPE=BUTTON O

  • Let copyURL be a copy of this Location object's url.

  • -
  • If copyURL's scheme is "javascript", terminate these steps.

  • -
  • Let input be the given value with a single leading "#" removed, if any.