Closed
Bug 1338845
Opened 8 years ago
Closed 8 years ago
window.open does not open window from contextMenu item
Categories
(WebExtensions :: Untriaged, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1282021
People
(Reporter: bugs, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.37 Safari/537.36
Steps to reproduce:
1. Implement an add-on that uses the window.open() call from within a contextMenu item callback. Example: http://codepen.io/anon/pen/EZGjQK
2. Click the item from within a regular page
Actual results:
The google.com window does NOT open (call returns null). The example.com window does open.
Expected results:
The google.com window should have opened.
---
I don't believe having browser.windows.create is a valid workaround as I cannot set window features using this.
This behavior does not occur in Chrome. Chrome opens both windows as expected.
Summary: window.open returns null from contextMenu item → window.open does not open window from contextMenu item
Updated•8 years ago
|
Component: Untriaged → WebExtensions: Untriaged
Product: Firefox → Toolkit
Updated•8 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Updated•7 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•