Closed Bug 1354410 Opened 9 years ago Closed 9 years ago

WebExtensions tab: unable to close popup window using window_reference.close()

Categories

(WebExtensions :: Untriaged, defect)

52 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1354403

People

(Reporter: tom, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2950.0 Iron Safari/537.36 Steps to reproduce: $('.test').click(function () { var window_reference = window.open('https://cryptup.org/', '_blank', 'height=600,left=100,menubar=no,status=no,toolbar=no,top=100,width=500'); setTimeout(function () { window_reference.close(); }, 1000); }); Actual results: Popup opens but never closes when running the code as a WebExtension page at moz-extension://6715bdce-18a4-4748-adf6-5882b6dd2060/cryptup/index.htm: Popup opens and closes in 1s when running the code at http://localhost:63342/cryptup/index.htm Expected results: Popup window should be closed in 1s when running as a WebExtension, the way it does when running as a normal web page. related to #1354403. Tested on 52.0.2 (64-bit) / Ubuntu
Component: Untriaged → WebExtensions: Untriaged
Product: Firefox → Toolkit
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.