Open
Bug 1418394
Opened 7 years ago
Updated 2 years ago
Popup window created by extension cannot close itself on Windows 10
Categories
(WebExtensions :: Frontend, defect, P3)
Tracking
(Not tracked)
UNCONFIRMED
People
(Reporter: kzar, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
688 bytes,
application/gzip
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36
Steps to reproduce:
1. Extract the attached archive, load as temporary extension.
2. The extension will open a popup window, wait for it to finish loading.
3. Click the "Close the window" button in the popup window.
Actual results:
The window does not close, the following exception is displayed in the console for the window:
Scripts may not close windows that were not opened by script.
popup.js:4:2
Expected results:
The window should close.
Notes:
The problem happens for me with Firefox 57 on Windows 10 but not on Linux (Debian Buster).
See the related Adblock Plus issue https://issues.adblockplus.org/ticket/6053
Updated•7 years ago
|
Component: Untriaged → WebExtensions: Frontend
Product: Firefox → Toolkit
Updated•7 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Comment 2•7 years ago
|
||
Reopening: Dave tested it with the allowScriptsToClose flag and the issue is still reproducible.
Reporter | ||
Comment 3•7 years ago
|
||
Yea, passing the allowScriptsToClose flag as true seemed to have no effect. On Linux the window closed still, on Windows 10 it didn't.
So I guess the bug here is actually that allowScriptsToClose is not honoured on either platform, we shouldn't be able to close the window on Linux if the option is missing, and we should be able to close it on Windows 10 if the options is passed.
Updated•7 years ago
|
Blocks: webext-oop
Priority: -- → P3
Reporter | ||
Comment 4•7 years ago
|
||
I can also reproduce the bug on Linux by setting extensions.webextensions.remote to true and restarting Firefox.
Updated•7 years ago
|
Product: Toolkit → WebExtensions
Comment 5•6 years ago
|
||
I am seeing this problem on Firefox 60ESR on Windows 10.
Is there any fix for this planned for any version of Firefox?
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•