When about:blank is same origin, I don't think loading it explicitly should reset window.name. Test is in http://mozilla.pettay.fi/moztests/window_name_test_initial.html Steps: Click 'Open a noopener window'. A new window opens. Click 'open another window which has opener pointing to this one'. A new window opens. Check what is logged at the top of the page, especially see opener's name Click 'Load about:blank to opener'. Check what is logged at the top of the page and compare what was there before.
Bug 1685807 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
When about:blank is same origin, I don't think loading it explicitly should reset window.name. Test is in http://mozilla.pettay.fi/moztests/window_name_test_initial.html Steps: 1. Click 'Open a noopener window'. A new window opens. 2. Click 'open another window which has opener pointing to this one'. A new window opens. 3. Check what is logged at the top of the page, especially see opener's name 4. Click 'Load about:blank to opener'. 5. Check what is logged at the top of the page and compare what was there before.
(This is currently Nightly only, since privacy.window.name.update.enabled is enabled only there.) When about:blank is same origin, I don't think loading it explicitly should reset window.name. Test is in http://mozilla.pettay.fi/moztests/window_name_test_initial.html Steps: 1. Click 'Open a noopener window'. A new window opens. 2. Click 'open another window which has opener pointing to this one'. A new window opens. 3. Check what is logged at the top of the page, especially see opener's name 4. Click 'Load about:blank to opener'. 5. Check what is logged at the top of the page and compare what was there before.