Closed
Bug 344215
Opened 18 years ago
Closed 18 years ago
<xul:observes/> with no attributes triggers "ASSERTION: getElementById(""), fix caller?"
Categories
(Core :: XUL, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jruderman, Assigned: MatsPalmgren_bugz)
References
Details
(Keywords: assertion, testcase)
Attachments
(2 files)
(deleted),
application/vnd.mozilla.xul+xml
|
Details | |
(deleted),
patch
|
sicking
:
review+
sicking
:
superreview+
|
Details | Diff | Splinter Review |
<xul:observes/> with no attributes triggers "ASSERTION: getElementById(""), fix caller?".
Bug 296237 covers turning this assertion into some kind of warning, but I don't think the warning there would be appropriate for just having a <xul:observes/> with no attributes.
Reporter | ||
Comment 1•18 years ago
|
||
Assignee | ||
Comment 2•18 years ago
|
||
Return NS_FINDBROADCASTER_NOT_FOUND when there is no/empty "element" attribute.
(as we do in the "generic element" case when there is no "observes"/"command")
http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/content/xul/document/src/nsXULDocument.cpp&rev=1.723&root=/cvsroot&mark=3943,3954,3951,3956,3957,3967,3968,3982#3911
Assignee: nobody → mats.palmgren
Status: NEW → ASSIGNED
Attachment #229189 -
Flags: superreview?(bugmail)
Attachment #229189 -
Flags: review?(bugmail)
Attachment #229189 -
Flags: superreview?(bugmail)
Attachment #229189 -
Flags: superreview+
Attachment #229189 -
Flags: review?(bugmail)
Attachment #229189 -
Flags: review+
Assignee | ||
Comment 3•18 years ago
|
||
Checked in to trunk at 2006-07-20 01:11 PDT.
-> FIXED
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•