Re: [whatwg/url] Add file as allowed scheme for blob origin (PR #775)

@annevk commented on this pull request.

There was a `blob:file` test that needs updating. Removing the `origin` field might be best for now. @domenic?

> @@ -3081,8 +3081,8 @@ is the <a for=/>origin</a> returned by running these steps, switching on <var>ur
 
    <li><p>If <var>pathURL</var> is failure, then return a new <a>opaque origin</a>.
 
-   <li><p>If <var>pathURL</var>'s <a for=url>scheme</a> is not "<code>http</code>" and not
-   "<code>https</code>", then return a new <a>opaque origin</a>.
+   <li><p>If <var>pathURL</var>'s <a for=url>scheme</a> is not "<code>http</code>", "<code>https</code>",
+   and "<code>file</code>" then return a new <a>opaque origin</a>.

or

(and make sure lines don't exceed 100 columns)

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

Message ID: <whatwg/url/pull/775/review/1452864908@github.com>

Received on Wednesday, 31 May 2023 10:49:12 UTC