diff --git a/source b/source index 53e76dba107..b9eca16a7a8 100644 --- a/source +++ b/source @@ -90734,7 +90734,8 @@ interface NavigatorContentUtils {

User agents must throw a "SyntaxError" DOMException if parsing the url argument relative to the - entry settings object is not successful.

+ relevant settings object of this NavigatorContentUtils object is not + successful.

The resulting URL string would by definition not be a valid URL as it would include the string "%s" which is not a valid @@ -90742,8 +90743,8 @@ interface NavigatorContentUtils {

User agents must throw a "SecurityError" DOMException if the resulting URL record has an origin - that differs from the origin specified by the entry settings - object.

+ that differs from the origin specified by the relevant settings object + of this NavigatorContentUtils object.

This is forcibly the case if the %s placeholder is in the scheme, host, or port parts of the URL.

@@ -90754,10 +90755,10 @@ interface NavigatorContentUtils {

When the user agent uses this handler, it must replace the first occurrence of the exact literal string "%s" in the url argument with an escaped version of the absolute URL of the content in question (as defined below), - then parse the resulting URL, relative to the entry - settings object at the time the parse the resulting URL, relative to the relevant + settings object of the NavigatorContentUtils object on which the registerContentHandler() or registerProtocolHandler() methods were + data-x="dom-navigator-registerProtocolHandler">registerProtocolHandler() method was invoked, and then navigate an appropriate browsing context to the resulting URL.

@@ -90993,14 +90994,14 @@ interface NavigatorContentUtils {
  • If the string does not contain the substring "%s", abort these steps. There's no matching handler.

  • -
  • Parse the string relative to the entry settings - object. If this fails, then throw a "SyntaxError" - DOMException.

  • +
  • Parse the string relative to the relevant settings + object of this NavigatorContentUtils object. If this fails, then throw a + "SyntaxError" DOMException.

  • If the resulting URL record's origin - is not the same origin as the origin specified by the entry - settings object, throw a "SecurityError" - DOMException.

  • + is not the same origin as the origin of the relevant settings + object of this NavigatorContentUtils object, throw a + "SecurityError" DOMException.

  • Return the resulting URL string as the result of preprocessing the argument.