Closed Bug 991198 Opened 11 years ago Closed 6 years ago

window.open doesn't work on b2g desktop

Categories

(Core :: DOM: Core & HTML, defect, P5)

x86
macOS
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: ehsan.akhgari, Unassigned)

Details

No description provided.
On b2g?
Flags: needinfo?(ehsan)
Currently window.open just throws NS_ERROR_FAILURE. I spent some time trying to figure out why that is. I narrowed it down to the fact that we seem to be going down the regular window opening code path, which causes us to look at "browser.chromeURL", which is "chrome://b2g/content/" and then we try to open a new window with that URL (which resolves to "chrome://b2g/content/b2g.xul"). But b2g.xul doesn't exist, of course, so that URL won't resolve to anything. So we get to here, and spin the event loop: <http://mxr.mozilla.org/mozilla-central/source/xpfe/appshell/src/nsXULWindow.cpp#1796> and after that we bail out because |xulWin->mPrimaryContentShell| is null.
Summary: window.open doesn → window.open doesn't work on b2g desktop
Flags: needinfo?(ehsan)
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Mass closing as we are no longer working on b2g/firefox os.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Mass closing as we are no longer working on b2g/firefox os.
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.