Re: [whatwg/url] Changes to file URL path normalization (#544)

@alwinb [url.pathToFileURL](https://nodejs.org/dist/latest-v14.x/docs/api/url.html#url_url_pathtofileurl_path) exists already. I'm not entirely sure the recommendation here as the test for policies at least is failing with the existing implementation of that. We could update that helper but is the expectation that all comparisons of these leading `/` prefixes be coalesced when comparing? If so, does that mean URL comparison should not be done using `===` of the string representation / components?

-- 
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/544#issuecomment-703739923

Received on Monday, 5 October 2020 16:23:56 UTC