New issue
Advanced search Search tips

Issue 881228 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

recreates new window instead of using existing

Reported by rik...@gmail.com, Sep 6

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36

Steps to reproduce the problem:
use the link to page "https://codepen.io/anon/pen/dqVbwJ" or create html page with folowwing code

<button onclick="createWindow();">Open window</button>
<button onclick="removeOpener();">Remove opener</button>

<script>
var windowHandle = null;
function createWindow( ) {
    windowHandle = window.open("", "windowName", "width=200,height=100");
} 

function removeOpener() {
  windowHandle.opener = null;
}
</script>

1.  click on "open window".
2. click on "Remove opener"
3. click again on "Open window"

What is the expected behavior?
i am expected to use existing window instead of creating new one.

What went wrong?
creates new window.

Did this work before? N/A 

Chrome version: 68.0.3440.106  Channel: n/a
OS Version: OS X 10.13.6
Flash Version:
 
window.html
452 bytes View Download
Labels: Needs-Triage-M68
Components: -Blink Blink>WindowDialog
Status: Untriaged (was: Unconfirmed)
Confirm that this does occur. Over to Blink>WindowDialog to triage.

Sign in to add a comment