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

@TRowbotham commented on this pull request.



> @@ -85,6 +85,170 @@ valid input. User agents, especially conformance checkers, are encouraged to rep
  unclear to other developers.
 </div>
 
+<table>
+ <thead>
+  <tr>
+   <th>Error Code
+   <th>Error Message
+ <tbody>
+  <tr>
+   <td><dfn>unexpected-c0-control-or-space</dfn>
+   <td>This error occurs when the input to the URL parser contains leading or trailing
+   <a>C0 control or space</a> code points. The URL parser subsequently strips any matching code
+   points.
+  <tr>
+   <td><dfn>unexpected-ascii-tab-or-newline</dfn>

No particular reason. Was mostly following what was done for the HTML [parse errors](https://html.spec.whatwg.org/multipage/parsing.html#parse-errors) since they were all lowercase and didn't use uppercase for terms like "HTML" or "EOF".

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

Received on Sunday, 10 May 2020 00:15:51 UTC