- From: Anne van Kesteren <notifications@github.com>
- Date: Tue, 24 Jan 2023 09:28:09 -0800
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 24 January 2023 17:28:22 UTC
@annevk commented on this pull request. > + <td><dfn>unexpected-Windows-drive-letter</dfn> + <td> + <p>The input is a <a>relative-URL string</a> that <a>starts with a Windows drive letter</a> and + the <a>base URL</a>'s <a for=url>scheme</a> is "<code>file</code>". + <pre class=example id=example-unexpected-windows-drive-letter><code class=lang-javascript> +let url = new URL("/c:/path/to/file", "file:///c:/");</code></pre> + <td>❌ + <tr> + <td><dfn>unexpected-Windows-drive-letter-host</dfn> + <td> + <p>The file URL's host is a Windows drive letter. + <p class=example id=example-unexpected-windows-drive-letter-host>"<code>file://c:</code>" + <td>❌ + <tbody> + <tr> + <th colspan=3 scope=rowgroup>URL parsing and <a>opaque-host parser</a> I wanted to group validation errors per somewhat major section. However these validation errors were reused across Hosts and URLs. I could just put it under Hosts as that's the first appearance, but it might look surprising? -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/url/pull/502#discussion_r1085658324 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/url/pull/502/review/1267943491@github.com>
Received on Tuesday, 24 January 2023 17:28:22 UTC