URL constructor does not support unknown protocols
Categories
(Core :: Networking, defect, P3)
Tracking
()
People
(Reporter: me, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [necko-backlog])
Updated•7 years ago
|
Comment 2•7 years ago
|
||
Comment 3•7 years ago
|
||
Updated•7 years ago
|
Updated•7 years ago
|
Comment 4•7 years ago
|
||
Comment 5•7 years ago
|
||
Comment 6•7 years ago
|
||
Comment 7•7 years ago
|
||
Comment 8•7 years ago
|
||
Comment 9•7 years ago
|
||
Comment 11•6 years ago
|
||
Comment 15•5 years ago
|
||
This bug has the unfortunate side effect of requiring users to ship a 95KB polyfill (after minification and gzipping) to our users 😭 https://www.npmjs.com/package/whatwg-url
For the sake of web performance, this bug ought to be prioritized :)
I'll also add that this page (https://felixfbecker.github.io/whatwg-url-custom-host-repro/) which demonstrates the divergence between browsers is quite damning. This is a webcompat issue that should be prioritized, or else this API really can't be used safely.
Comment 16•3 years ago
|
||
Just ran into this issue too. I was looking at whether it would be possible to create a platform-independent version of the https://www.npmjs.com/package/amazon-s3-uri package by switching from the Node url module (which has to be polyfilled for browsers) to the URL Web API (which is available everywhere).
Firefox and Chrome both parse urls of the format 's3://bucketname/objectkey' incorrectly relative to the WHATWG URL spec. Node and Safari get it right. Fixing this bug would certainly help simplify frontend bundling a few years down the line.
Comment 18•2 years ago
|
||
The size of the current polyfill, and the need to include it in source-map, which is relatively widely-used, makes this a pretty big problem.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 19•2 years ago
|
||
The severity field for this bug is relatively low, S3. However, the bug has 5 duplicates.
:kershaw, could you consider increasing the bug severity?
For more information, please visit auto_nag documentation.
Comment 20•2 years ago
|
||
The last needinfo from me was triggered in error by recent activity on the bug. I'm clearing the needinfo since this is a very old bug and I don't know if it's still relevant.
Comment 22•1 year ago
|
||
Analogous current Chromium bug: https://bugs.chromium.org/p/chromium/issues/detail?id=1416006
Comment 24•10 months ago
|
||
Fixed in bug 1603699
Description
•