Re: [whatwg/url] Named validation errors (#502)

@annevk commented on this pull request.



> @@ -1031,13 +1368,14 @@ actually doing that with the editors of this document first.
          <li>
           <p>If <var>ipv4Piece</var> is null, then set <var>ipv4Piece</var> to <var>number</var>.
 
-          <p>Otherwise, if <var>ipv4Piece</var> is 0, <a>validation error</a>, return failure.
+          <p>Otherwise, if <var>ipv4Piece</var> is 0, <a>IPv4-in-IPv6-invalid-first-part</a>

This name is also wrong. The error here is the leading zero. This can happen in any part, not just the first.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/pull/502#pullrequestreview-1265620338
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/url/pull/502/review/1265620338@github.com>

Received on Monday, 23 January 2023 13:45:36 UTC