Closed
Bug 70844
Opened 25 years ago
Closed 25 years ago
getElementById crashes when used "renamed"
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
People
(Reporter: hojani, Assigned: jst)
Details
(Keywords: crash, testcase)
Attachments
(2 files)
var dG = document.getElementById;
function setLeft(id,nL) {
if (dG) dG(id).style.left = nL + "px";
}
dG(id) should do the same as docuement.getElementById(id), but this code
crashes under mozilla0.8
Comment 2•25 years ago
|
||
Crashes on linux build 2001-03-03-21 as well. Attaching stack trace...
Comment 3•25 years ago
|
||
Comment 4•25 years ago
|
||
Boris: that doesn't look like a stacktrace :-)
dup of bug 63930: "crash when using a DOM function as a first-class function"
| Assignee | ||
Comment 6•25 years ago
|
||
Thank you H-J.
*** This bug has been marked as a duplicate of 63930 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Comment 7•25 years ago
|
||
jag, you're right. I attached the wrong file. Go me. :)
verified dup -- my stack trace is identical to the one in bug 63930
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•