Closed
Bug 334894
Opened 19 years ago
Closed 9 years ago
Adding pref observer in during parse causes "no xbl binding" error
Categories
(Firefox :: Settings UI, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: boogs, Unassigned)
Details
Adding a preference observer via nsIPrefBranch2.addObserver causes "no xbl binding" error at: http://lxr.mozilla.org/mozilla1.8/source/browser/base/content/browser.js#783
Was not able to understand why, or get a consistent repro. On one of our test systems, it happened at least 50% of the time.
We suspect that it was because this system had massive amounts of pref data caused by a greasemonkey script. *blink* *blink* ;)
Moving the addObserver call to the xul window's onload event solved the problem.
Comment 1•19 years ago
|
||
What does "during parse" mean? Do you have a testcase? This is from an extension, I'm guessing?
| Reporter | ||
Comment 2•19 years ago
|
||
Sorry, by "during parse" I mean, from the top-level script inside a <script> block overlayed in browser.xul.
I don't have a testcase. Darin and Ben have been urging me to file bugs, even w/o testcases or repros. If you can't repro by filling up prefs.js and adding an observer in a browser.xul overlay, let me know and I'll try to make a repro.
Comment 4•9 years ago
|
||
Going to mark wfm as we're phasing out XUL add-ons, the link is dead, fixing the link to point to dxr points to a code comment... so there isn't really enough here to fix anything.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•