Bug 228249

Summary: WebKit is the only major browser engine what returns "about:blank" for Location.href in a closed window
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: DOMAssignee: Chris Dumez <cdumez>
Status: RESOLVED WONTFIX    
Severity: Normal    
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
URL: https://github.com/whatwg/html/issues/6899
Attachments:
Description Flags
Patch ews-feeder: commit-queue-

Chris Dumez
Reported 2021-07-23 14:27:07 PDT
WebKit is the only major browser engine what returns "about:blank" for Location.href in a closed window. Gecko returns the empty string and the property is completely undefined in Blink. This seems to be causing failures on WPT tests like: - https://wpt.live/html/cross-origin-opener-policy/resource-popup.https.html Because the test expects that the URL becomes something else than "about:blank" after closing. I filed https://github.com/whatwg/html/issues/6899 to clarify the expected behavior.
Attachments
Patch (6.47 KB, patch)
2021-07-23 14:30 PDT, Chris Dumez
ews-feeder: commit-queue-
Chris Dumez
Comment 1 2021-07-23 14:30:11 PDT
Chris Dumez
Comment 2 2021-07-23 15:27:35 PDT
Our behavior matches the spec. Let's see if we can get the test updated and other browsers to follow.
Note You need to log in before you can comment on or make changes to this bug.