Closed Bug 70844 Opened 25 years ago Closed 25 years ago

getElementById crashes when used "renamed"

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
critical

Tracking

()

VERIFIED DUPLICATE of bug 63930

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
Attached file test case
Crashes on linux build 2001-03-03-21 as well. Attaching stack trace...
Severity: major → critical
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: crash, testcase
OS: Windows 98 → All
Hardware: Other → All
Attached file stack trace
Boris: that doesn't look like a stacktrace :-)
dup of bug 63930: "crash when using a DOM function as a first-class function"
Thank you H-J. *** This bug has been marked as a duplicate of 63930 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
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
Component: DOM: Core → DOM: Core & HTML
QA Contact: nobody → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: