From 8e40c8b394a1ddd889885b7aae82c830ff70fba6 Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Fri, 17 Feb 2017 13:47:32 +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. I cannot get a Location object to represent a javascript URL so that case was a no-op 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 a02b4f19405..d5dd10db77b 100644 --- a/source +++ b/source @@ -22078,9 +22078,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. @@ -81231,9 +81229,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.