Closed
Bug 397561
Opened 17 years ago
Closed 14 years ago
"ASSERTION: An XBL file is malformed. Did you forget the XBL namespace on the bindings tag"
Categories
(Core :: XBL, defect, P4)
Core
XBL
Tracking
()
RESOLVED
FIXED
mozilla1.9.3a5
People
(Reporter: jruderman, Unassigned)
References
Details
(Keywords: assertion, helpwanted, testcase)
Attachments
(3 files)
142 bytes,
application/xhtml+xml
|
Details | |
1.64 KB,
patch
|
bzbarsky
:
review-
|
Details | Diff | Splinter Review |
1.72 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
This testcase triggers an assertion. I think the assertion is just bogus. ###!!! ASSERTION: An XBL file is malformed. Did you forget the XBL namespace on the bindings tag?: 'Error', file /Users/jruderman/trunk/mozilla/content/xbl/src/nsXBLService.cpp, line 404 It also triggers a gigantic leak, but I think that's covered by bug 324465 and bug 394052. I've also seen the assertion (and leak) happen in cases where afaik the XBL isn't actually malformed, but I can't reproduce that reliably, and it's probably a separate issue from both "the assertion shouldn't be an assertion" and the leak.
Comment 1•17 years ago
|
||
I believe this assertion was added (as were many other such assertions) back when it was important to debug issues with chrome XBL. We may want to make the assert only happen for chrome bindings or something.
Keywords: helpwanted
Comment 2•16 years ago
|
||
Reporter | ||
Updated•15 years ago
|
Attachment #323031 -
Flags: review?(bzbarsky)
Comment 3•15 years ago
|
||
Comment on attachment 323031 [details] [diff] [review] Assert if chrome, JS console error otherwise Please make the ReportToConsole happen for chrome too. Other than that, looks ok.
Attachment #323031 -
Flags: review?(bzbarsky) → review-
Here's a patch to change the assertion to a warning; it should never have been an assertion at all. I want this in because this assertion happens randomly on some crashtests, and I'd like to fix random assertion counts ASAP.
Attachment #443499 -
Flags: review?(bzbarsky)
And I can merge the other patch on top of this one too. (I found this bug after writing the patch.)
Other patch merged on top of above: http://hg.mozilla.org/users/dbaron_mozilla.com/patches/raw-file/1c5c2b4daaf8/xbl-malformed-assert-2
Comment 7•14 years ago
|
||
Comment on attachment 443499 [details] [diff] [review] change assertion to warning r=bzbarsky (on the merged patch too).
Attachment #443499 -
Flags: review?(bzbarsky) → review+
http://hg.mozilla.org/mozilla-central/rev/c1b186e232ac http://hg.mozilla.org/mozilla-central/rev/f14bbcd528b4
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
OS: Mac OS X → All
Priority: -- → P4
Hardware: x86 → All
Target Milestone: --- → mozilla1.9.3a5
You need to log in
before you can comment on or make changes to this bug.
Description
•