[Webkit-unassigned] [Bug 230051] New: Compat problem with new URL()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Sep 8 09:59:23 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=230051
Bug ID: 230051
Summary: Compat problem with new URL()
Product: WebKit
Version: Safari 14
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: New Bugs
Assignee: webkit-unassigned at lists.webkit.org
Reporter: luke at warlow.dev
Steps to reproduce the problem:
1. Navigate to https://jsfiddle.net/40abpv7d/
2. Look at the HTML output
I'm not entirely sure on the correct behaviour. Chrome, Firefox and Safari all behave differently.
Chrome - https://%22google.com/
Safari - https://"google.com/
Firefox - TypeError: URL constructor: https://"google.com is not a valid URL.
As I say I'm not sure if Chrome, Firefox or Safari is "correct" as far as the spec is concerned. But from what I as a web developer expect I would say that Firefox is the most correct, followed by Chrome. Safari's behaviour of outputting a non URL safe string surprises me.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210908/38a126bf/attachment.htm>
More information about the webkit-unassigned
mailing list