Bug 266354

Summary: Sever window opener on manual navigation
Product: WebKit Reporter: Ben Nham <nham>
Component: WebKit Process ModelAssignee: Ben Nham <nham>
Status: RESOLVED FIXED    
Severity: Normal CC: nham, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 300035    

Ben Nham
Reported 2023-12-13 10:17:12 PST
When a user does a cross-origin manual navigation (e.g. navigating via the address bar, opening a bookmark, ...), then we should sever the window.opener reference (by creating a new browsing context group?). This should be safe since other browsers like Chrome and Firefox are already doing this. Related WHATWG discussions: https://github.com/whatwg/html/issues/5767#issuecomment-763855860 https://github.com/whatwg/html/issues/6356 https://github.com/whatwg/html/issues/1440
Attachments
Ben Nham
Comment 1 2023-12-13 10:17:45 PST
Ben Nham
Comment 2 2023-12-13 10:24:25 PST
EWS
Comment 3 2023-12-19 19:51:29 PST
Committed 272321@main (e0471a8d0e2b): <https://commits.webkit.org/272321@main> Reviewed commits have been landed. Closing PR #21747 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.