Closed
Bug 1164139
Opened 10 years ago
Closed 10 years ago
window.open does not work in some cases with e10s enabled
Categories
(Core :: DOM: Content Processes, defect)
Core
DOM: Content Processes
Tracking
()
RESOLVED
DUPLICATE
of bug 1095236
People
(Reporter: mconley, Assigned: mconley)
Details
STR:
1) Visit http://test.jlongster.com/edit/new
2) Click on the green ↗ arrow in the top right
ER:
A popup window should open.
AR:
No activity. NS_ERROR_FAILURE from bundle.js in the error console for the page.
Here's the script that's running when clicking on that arrow:
handlePopout: function() {
go(function*() {
let preview = window.open(
'/preview',
'preview',
'width=800,height=600,resizable=1,scrollbars=1,dialog=1'
);
preview.focus();
if(!this.previewWindow) {
preview.addEventListener('load', () => {
preview.postMessage({ post: this.state.post }, config.get('url'));
preview.addEventListener('unload', () => {
this.previewWindow = null;
});
}, false);
this.previewWindow = preview;
}
}.bind(this));
},
Updated•10 years ago
|
Assignee: nobody → mconley
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•