diff --git a/url.bs b/url.bs index 3fff34e8..8ff281df 100644 --- a/url.bs +++ b/url.bs @@ -93,16 +93,16 @@ valid input. User agents, especially conformance checkers, are encouraged to rep Fatal - unexpected-C0-control-or-space + unexpected-c0-control-or-space

The input to the URL parser contains leading or trailing C0 control or space code points. The URL parser subsequently strips any matching code points. -

" https://example.org " +

" https://example.org " - unexpected-ASCII-tab-or-newline + unexpected-ascii-tab-or-newline

The input to the URL parser contains ASCII tab or newline code points. The URL parser subsequently strips any matching code points. -

"ht\ttps://example.org" +

"ht\ttps://example.org" invalid-scheme-start-code-point @@ -122,11 +122,11 @@ valid input. User agents, especially conformance checkers, are encouraged to rep

"^_^://example.org"
"https//example.org" ✅ - missing-scheme-non-relative-URL + missing-scheme-non-relative-url

The input is missing a scheme, because it does not begin with an ASCII alpha, and either no base URL was provided or the base URL cannot be used as a base URL because its cannot-be-a-base-URL flag is set. -

+

Input's scheme is missing and no base URL is given:


    let url = new URL("💩");
@@ -138,10 +138,10 @@ valid input. User agents, especially conformance checkers, are encouraged to rep
    
✅ - relative-URL-missing-beginning-solidus + relative-url-missing-beginning-solidus

The input is a relative-URL String that does not begin with a U+002F (/) code point. -

+

    let url = new URL("foo.html", "https://example.org/");
    
@@ -241,12 +241,12 @@ valid input. User agents, especially conformance checkers, are encouraged to rep

"https://example.org/%💩" - unclosed-IPv6-address + unclosed-ipv6-address

An IPv6 address is missing the closing U+005D (]) code point. -

"https://[::1" +

"https://[::1" ✅ - domain-to-ASCII-failure + domain-to-ascii-failure

The result of Unicode toASCII records an error while processing the input domain.

[[!UTS46]] conformance does not require the reporting of precise errors, only that @@ -254,7 +254,7 @@ valid input. User agents, especially conformance checkers, are encouraged to rep are encouraged pass those codes along. ✅ - domain-to-ASCII-empty-domain-failure + domain-to-ascii-empty-domain-failure

The result of Unicode toASCII returns an empty string. This can be caused by a number of things, such as: