Bug 243587
Summary: | a.href a.port URL parser showing different output compared to Blink | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | achristensen, ap, bfulgham, cdumez, rniwa, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari 15 | ||
Hardware: | Mac (Apple Silicon) | ||
OS: | macOS 12 |
Ahmad Saleem
HI Team,
Thanks for your continuous support.
I came across a test case where the Safari 15.6 is matching Firefox Nightly 105 but differs from Chrome Canary 106, I am not sure on Web-spec but just wanted to bring to attention so we can decide, which behavior to follow.
Firefox Bug - https://bugzilla.mozilla.org/show_bug.cgi?id=1151195
Test Case - https://jsfiddle.net/ug2wrq9f/
** STEPS TO REPRODUCE **
1) Run Test Case
2) Look for output in Console
<< ACTUAL RESULTS >>
"" - empty result [Same in Safari Technical Preview 150]
<< EXPECTED RESULT / CHROME RESULT >>
0 - "0"...
____
If Safari / Webkit behavior is right then please ignore and mark this as "RESOLVED INVALID" and then if it is incorrect, appreciate if we can Webkit more web-spec compliant. Thanks!
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/98568146>
Alex Christensen
We follow https://url.spec.whatwg.org in this case.