Closed Bug 13254 Opened 25 years ago Closed 25 years ago

[CRASH] setAttributeNode method of Element object dumps core

Categories

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

Sun
Solaris
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: rpallath, Assigned: vidur)

Details

Attachments

(3 files)

The setAttribute method dumps core on invokation.

This test creates a dummy Attribute (dummy_attr) and tries  to set it
as an attribute node to a BODY element.

It dumps core on invoking the setAttributeNode call.

Extract Mozilla from the mozilla tree.
go to <MOZILLA_HOME>/java/dom/tests/src directory.
Follow instructions as indicated in README.

then execute from command line
sh autorun.sh -t org.mozilla.dom.test.ElementImpl_setAttributeNode_Attr_1


The log files are in <MOZILLA_HOME>/java/dom/tests/src/log directory.

Attached along with this is the dump file.
Attached file A debug log file of the dump. (deleted) —
Status: NEW → ASSIGNED
Assignee: akhil.arora → vidur
Status: ASSIGNED → NEW
Component: Java APIs for DOM → DOM Level 1
Priority: P3 → P2
Changed Component from JavaDOM API to DOM Level1 as the bug seems to occur  at
this level. Also changed the  priority from P3- to P2.
It would be immensely helpful if you could give me a boiled down
JavaScript example that reproduces the crash. Failing that, I'll try to glean
one out of the test file.
Summary: setAttributeNode method of Element object dumps core → [CRASH] setAttributeNode method of Element object dumps core
In an attempt to get my bug list in order again, marking all the bugs I have
currently as ASSIGNED.
Blocks: 22176
Works for me in the current build and apparently doesn't crash in the Java test 
case either.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Checked with M12 build and it does not crash anymore on both Win32/Solaris.
Status: RESOLVED → VERIFIED
No longer blocks: 22176
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: