Closed
Bug 895812
Opened 12 years ago
Closed 11 years ago
sandbox iframe with allow-popups results in 0x80004005 when trying to window.open in a nested iframe
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 766282
People
(Reporter: jochem.blok, Unassigned)
Details
Attachments
(1 file)
1.67 KB,
application/zip
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:22.0) Gecko/20100101 Firefox/22.0 (Beta/Release)
Build ID: 20130618035212
Steps to reproduce:
I made a HTML5 page with a iframe which is sandboxed with options allow-same-origin allow-scripts allow-popups allow-forms. In this iframe another iframe is loaded. In that iframe a window.open event is called. This call results in a error NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMJSWindow.open]
Actual results:
No pop-up was shown, I got an error: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMJSWindow.open]
Expected results:
The popup had to be showed, because allow-popups is allowed in the sandbox attribute of the upper iframe.
Updated•12 years ago
|
Component: Untriaged → DOM: Core & HTML
Product: Firefox → Core
Attachment #778383 -
Attachment mime type: application/octet-stream → application/zip
Comment 1•11 years ago
|
||
Independently reproduced on Ubuntu 12.04 LTS with Firefox 24.0 (although simply trying to open another page in a new tab, not in a popup). Are there any plans to address this issue?
Updated•11 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•