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

@annevk commented on this pull request.



> @@ -1016,10 +1352,11 @@ actually doing that with the editors of this document first.
          <li><p>If <a>c</a> is a U+002E (.) and <var>numbersSeen</var> is less than 4, then increase
          <var>pointer</var> by 1.
 
-         <li>Otherwise, <a>validation error</a>, return failure.
+         <li>Otherwise, <a>IPv4-in-IPv6-too-many-parts</a> <a>validation error</a>, return failure.

This can also happen when c is not `.`. E.g., `https://[ffff::12xyz]`. Should we perhaps reuse IPv4-in-IPv6-unexpected-code-point here and just call out all the different cases in examples?

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

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

Received on Monday, 23 January 2023 13:43:15 UTC