Closed Bug 742596 Opened 12 years ago Closed 6 years ago

window.open in a web page causes an error

Categories

(Firefox OS Graveyard :: General, defect)

x86
macOS
defect
Not set
major

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: benadida, Unassigned)

Details

xul error, can't reproduce details cause phone is currently encountering a different bug (keyboard isn't coming up.)
I don't believe we implement window.open yet on b2g.  That work is in progress.  Fabrice and Vivien know more.
This is because nsBrowserAccess in shell.js is broken since a major refactoring of gaia homescreen. We have plans to fix that.
For the record, the error says it cannot find browser.xul.
(In reply to Kan-Ru Chen [:kanru] from comment #3)
> For the record, the error says it cannot find browser.xul.

yep, we return null from openURI() and this leads to a default loading path that tries to load browser.xul in our chrome window.
window.open works now. are you still seeing this error?
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.