Closed
Bug 294342
Opened 19 years ago
Closed 17 years ago
using tabbrowser inside xulrunner without setting prefs throws exceptions
Categories
(Toolkit Graveyard :: XULRunner, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: clovis_wichoski, Assigned: WeirdAl)
References
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1
using tabbrowser inside xulrunner I get follow exception:
Error: [Exception... "Component returned failure code: 0x8000ffff
(NS_ERROR_UNEXPECTED) [nsIPrefBranch.getBoolPref]" nsresult: "0x8000ffff
(NS_ERROR_UNEXPECTED)" location: "JS frame ::
chrome://global/content/bindings/tabbrowser.xml :: shouldLoadFavIcon :: line
431" data: no]
Source File: chrome://global/content/bindings/tabbrowser.xml
Line: 431
Reproducible: Always
Steps to Reproduce:
1. put a tabbrowser inside the of your main.xul
2. onload we get the exception
Actual Results:
the application starts, but get exceptions,
Expected Results:
application starts, but don´t get exceptions, or say to developer, please set
defaults prefs to use tabbrowser or whatever else.
Reporter | ||
Comment 1•19 years ago
|
||
the page that I loaded inside tabbrowser is in chrome:// url
Comment 2•19 years ago
|
||
Yeah, I ran into this problem as well while developing the "MyBrowser" XUL app:
http://friedfish.homeip.net/~darinf/xulrunner/mybrowser.html
I think we want to make tabbrowser support undefined prefs or we should move the
pref definitions into xulrunner.js (or some other prefs file included with
xulrunner).
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 3•19 years ago
|
||
Supporting undefined prefs is a better solution, overall, imho. Do you want a
patch from me?
Comment 4•19 years ago
|
||
We probably want both solutions... in any case a patch is quite welcome.
Assignee | ||
Updated•19 years ago
|
Assignee: nobody → ajvincent
Assignee | ||
Comment 5•19 years ago
|
||
One small problem:
browser.chrome.favicons defaults to true for Firefox, but false for SeaMonkey
and for Thunderbird.
What should it be for XULRunner?
browser.chrome.site_icons is true for Firefox, SeaMonkey and Thunderbird, so
unless you say otherwise, I'm assuming you want that one true.
Assignee | ||
Comment 6•18 years ago
|
||
bsmedberg, could you answer comment 5?
Also, this bug itself could become moot, if tabbrowser is removed from toolkit (which I believe is intended).
Comment 7•18 years ago
|
||
AJ, I don't really care. As long as the prefs get overridden properly in the app-level prefs file, we'll be ok.
Updated•17 years ago
|
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
Assignee | ||
Comment 8•17 years ago
|
||
asqueela, why is this INVALID?
Comment 9•17 years ago
|
||
(In reply to comment #8)
> asqueela, why is this INVALID?
>
IIRC, tabbrowser.xml is not part of toolkit anymore
Comment 10•17 years ago
|
||
>tabbrowser.xml is not part of toolkit anymore
Exactly. Sorry about closing without a comment; I thought I said it earlier in the bug.
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
•