Bug 243587

Summary: a.href a.port URL parser showing different output compared to Blink
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: DOMAssignee: 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
Reported 2022-08-05 07:57:41 PDT
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
Radar WebKit Bug Importer
Comment 1 2022-08-12 07:58:37 PDT
Alex Christensen
Comment 2 2022-08-12 09:06:18 PDT
We follow https://url.spec.whatwg.org in this case.
Note You need to log in before you can comment on or make changes to this bug.