diff --git a/source b/source index 73646634775..c637849e13e 100644 --- a/source +++ b/source @@ -7086,8 +7086,8 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute

To encoding-parse a URL, - given a string url, relative to a Document object or environment - settings object environment, run these steps. They return failure or a + given a string url, relative to a Document object or + environment environment, run these steps. They return failure or a URL.

    @@ -7097,15 +7097,17 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute to environment's character encoding.

    -
  1. Otherwise, if environment's relevant global object is a - Window object, set encoding to environment's relevant - global object's associated - Document's character - encoding.

  2. +
  3. Otherwise, if environment is an environment settings object and + environment's relevant global object is a Window object, set + encoding to environment's relevant global object's associated Document's character encoding.

  4. Let baseURL be environment's base URL, if environment is a Document object; otherwise - environment's API base URL.

  5. + environment's API base URL, if environment is an + environment settings object; otherwise environment's creation URL.

  6. Return the result of applying the URL parser to url, with baseURL and encoding.

  7. @@ -15547,14 +15549,9 @@ interface HTMLLinkElement : HTMLElement {
  8. If options's destination is not a destination, then return null.

  9. -
  10. -

    Let url be the result of encoding-parsing a URL given - options's href, relative to - options's base URL.

    - -

    Passing the base URL instead of a document or environment is tracked by issue #9715.

    -
  11. +
  12. Let url be the result of encoding-parsing a URL given + options's href, relative to + options's environment.

  13. If url is failure, then return null.

  14. @@ -15645,9 +15642,6 @@ interface HTMLLinkElement : HTMLElement {
    source set (default null)
    Null or a source set
    -
    base URL
    -
    A URL
    -
    origin
    An origin
    @@ -15668,11 +15662,6 @@ interface HTMLLinkElement : HTMLElement {
    A fetch priority attribute state
    -

    A link processing options has a base URL and an href - rather than a parsed URL because the URL could be a result of the options's source set.

    -

    To create link options from element given a link element el:

    @@ -15698,9 +15687,6 @@ interface HTMLLinkElement : HTMLElement {
    source set
    el's source set
    -
    base URL
    -
    document's document base URL
    -
    origin
    document's origin
    @@ -15817,9 +15803,6 @@ interface HTMLLinkElement : HTMLElement {
    href
    linkObject["target_uri"]
    -
    base URL
    -
    doc's document base URL
    -
    origin
    doc's origin
    @@ -16011,9 +15994,6 @@ data-x="rel-preload">preload; as=font<
    initiator
    "early-hint"
    -
    base URL
    -
    response's URL
    -
    origin
    response's URL's origin
    @@ -26859,17 +26839,12 @@ document.body.appendChild(wbr);

    To preconnect given a link processing options options:

      -
    1. If options's - href is an empty string, returns.

    2. - -
    3. -

      Let url be the result of encoding-parsing a URL given - options's href, relative to - options's base URL.

      +
    4. If options's href is an empty string, + then return.

    5. -

      Passing the base URL instead of a document or environment is tracked by issue #9715.

      - +
    6. Let url be the result of encoding-parsing a URL given + options's href, relative to + options's environment.

    7. If url is failure, then return.