Open
Bug 1310261
Opened 9 years ago
Updated 6 months ago
Consider severing the opener relationship on explicit navigations
Categories
(Core :: DOM: Core & HTML, defect, P3)
Core
DOM: Core & HTML
Tracking
()
NEW
People
(Reporter: nika, Unassigned)
References
Details
(Whiteboard: [domcore-bugbash-triaged])
When the user types a URL into the addressbar, navigating to a new URL, that currently occurs within the toplevel browsing context of the current tab. This means that any other pages which have a reference to that browsing context, and the opener of that browsing context, remain linked to the new page.
We should consider the webcompat implications and potential benefits which we could gain by making every explicit navigation through the URL bar create a distinct browsing context with a connected history.
Updated•9 years ago
|
Priority: -- → P3
Updated•8 years ago
|
Assignee: nobody → jkt
Updated•8 years ago
|
Assignee: jkt → nobody
Comment 1•8 years ago
|
||
One issue that should be considered is:
1. User is on example.com and it opens paypal.com
2. User switches back to example.com tab and changes the awesomebar to google.com
3. User then presses back on google window getting them to example.com
window.opener should probably be reconnected when the user is back on example.com.
One way to solve this might be to store the opener in the history and reconnect when the user is back on that page.
| Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
Updated•3 years ago
|
Severity: normal → S3
Comment 2•6 months ago
|
||
Hi Nika,
My team is revisiting some old bugs and we come across this. We are not quite sure if this issue still valid, especially after Fission. Quick thoughts?
Flags: needinfo?(nika)
Whiteboard: [domcore-bugbash-triaged]
| Reporter | ||
Comment 3•6 months ago
|
||
To my understanding we haven't made any changes with regards to this behaviour, so the suggestion is still valid. This change would involve treating navigations which were triggered by the user through the URL bar (and which aren't to URIs like javascript:) as-if they they are bcg-switching loads to sever these opener relationships.
Actually getting window.opener to reconnect as suggested in comment 1 is probably more complex, and it's unclear how much we would benefit.
Flags: needinfo?(nika)
You need to log in
before you can comment on or make changes to this bug.
Description
•