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.
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.
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.
Let baseURL be environment's base
URL, if environment is a Document
object; otherwise
- environment's API base URL.
Return the result of applying the URL parser to url, with baseURL and encoding.
If options's destination is not a destination, then return null.
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.
-Let url be the result of encoding-parsing a URL given + options's href, relative to + options's environment.
If url is failure, then return null.
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:
target_uri
"]early-hint
"To preconnect given a link processing options options:
If options's - href is an empty string, returns.
Let url be the result of encoding-parsing a URL given - options's href, relative to - options's base URL.
+If options's href is an empty string, + then return.
Passing the base URL instead of a document or environment is tracked by issue #9715.
- +Let url be the result of encoding-parsing a URL given + options's href, relative to + options's environment.
If url is failure, then return.