Bug 266354
| Summary: | Sever window opener on manual navigation | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ben Nham <nham> |
| Component: | WebKit Process Model | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ben Nham
rdar://118951619
Ben Nham
Pull request: https://github.com/WebKit/WebKit/pull/21747
EWS
Committed 272321@main (e0471a8d0e2b): <https://commits.webkit.org/272321@main>
Reviewed commits have been landed. Closing PR #21747 and removing active labels.