Closed Bug 324151 Opened 20 years ago Closed 20 years ago

ASSERTION: getElementById(""), fix caller?: '!aId.IsEmpty()'

Categories

(Core :: XUL, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 296237

People

(Reporter: martijn.martijn, Assigned: jag+mozilla)

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

35.24 KB, application/vnd.mozilla.xul+xml
Details
###!!! ASSERTION: getElementById(""), fix caller?: '!aId.IsEmpty()', file c:/moz illa/mozilla/content/xul/document/src/nsXULDocument.cpp, line 1650 See testcase, you have to download the testcase locally to get the assertion. You need to drag the left button.
Attached file testcase
The button doesn't have an id, when I add an id to the button, the assertion goes away.
So.. in toolboxObserver.onDragStart you're calling var item =document.getElementById(evt.target.id); which causes the assertion. Is this basically bug 296237 or am I missing something?
Oops! You're right, thanks. That's the problem when you see it happening with such a large testcase, it's not easy to see where the problem is coming from. *** This bug has been marked as a duplicate of 296237 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: