[whatwg/url] Use a file URL example that triggers the drive-letter validation error (PR #936)

The existing example starts with a slash, which enters file slash state without emitting this validation error. Describe the file-state condition directly and use a drive letter with a pipe so the input reaches that condition.


<!--
    This comment and the below content is programmatically generated.
    You may add a comma-separated list of anchors you'd like a
    direct link to below (e.g. #idl-serializers, #idl-sequence):

    Don't remove this comment or modify anything below this line.
    If you don't want a preview generated for this pull request,
    just replace the whole of this comment's content by "no preview"
    and remove what's below.
-->
***
<a href="https://whatpr.org/url/936.html" title="Last updated on Nov 14, 2026, 5:25 AM UTC (225f604)">Preview</a> | <a href="https://whatpr.org/url/936/845bafc...225f604.html" title="Last updated on Nov 14, 2026, 5:25 AM UTC (225f604)">Diff</a>
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/url/pull/936

-- Commit Summary --

  * Use a file URL example that triggers the drive-letter validation error

-- File Changes --

    M url.bs (6)

-- Patch Links --

https://github.com/whatwg/url/pull/936.patch
https://github.com/whatwg/url/pull/936.diff

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

Message ID: <whatwg/url/pull/936@github.com>

Received on Saturday, 14 November 2026 05:25:21 UTC