Steps to reproduce
Attached the Repro.
Here is the source code of the below URL to reproduce the behavior:
Manually typing this URL into your browser: http://scl.la/edgetest
You will see on chrome et al it loads the page and prints text. On edge, it attempts to close the window even though the page is NOT owned by window.open().
window.close() should be ignored if the page was not created by a script (or other conditions in the spec)
Dev Channel specific:
Comments and activity
- Microsoft Edge Team
Changed Assigned To to “Mara P.”
Changed Assigned To to “Christian F.”
Changed Assigned To to “Travis L.”
Changed Steps to Reproduce
Changed Title from “Edge may break w3c spec for window.close() behavior” to “window.close() should not prompt to close the window if the window was not opened by script.”
Changed Assigned To from “Travis L.” to “Eugene V.”
Changed Status to “Confirmed”