Closed
Bug 385472
Opened 18 years ago
Closed 12 years ago
window.open() doesn't work in xulrunner
Categories
(Toolkit Graveyard :: XULRunner, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: bero, Unassigned)
Details
Attachments
(2 files)
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.5; en_US) KHTML/3.5.7 (like Gecko)
Build Identifier: MOZILLA_1_9a5_RELEASE
Trying to use the window.open() javascript function in xulrunner results in an NS_ERROR_FAILURE from nsIDOMJSWindow.open:
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMJSWindow.open]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://testcase/content/index.xhtml :: <TOP_LEVEL> :: line 8" data: no]
When the exception occurs, the JS console complains about
No chrome package registered for chrome://navigator/content/navigator.xul
Looks like window.open() is implemented in a way that requires the navigator chrome, which isn't part of xulrunner...
Reproducible: Always
Steps to Reproduce:
Use window.open() in xulrunner 1.9a5
Actual Results:
Exception
Expected Results:
Popup window showing the requested URL
| Reporter | ||
Comment 1•18 years ago
|
||
| Reporter | ||
Comment 2•18 years ago
|
||
Comment 3•18 years ago
|
||
Who is going to write the UI for the "popup window"? You don't have any browser chrome because you're not Firefox.
This is mostly INVALID, though we should document the ways you could add browser chrome support to your app (through the browser.chromeURL pref).
Updated•12 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
| Assignee | ||
Updated•9 years ago
|
Product: Toolkit → Toolkit Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•