Closed Bug 53150 Opened 24 years ago Closed 24 years ago

Using DOM to add tabs crashes Mozilla.

Categories

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

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: eric.promislow, Assigned: danm.moz)

References

Details

(Whiteboard: [nsbeta3+])

Attachments

(1 file)

From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
BuildID:    2000091312

Adding a tab using tabbox.appendChild() causes stack overflow in rdf.dll

Reproducible: Always
Steps to Reproduce:
1. Load the attached xul file as chrome (I use a debug version of
Mozilla, and have it in packages/komodo/komodo/content/editor/tab.xul).
2. Press the button
3. Pick up the pieces.

Actual Results:  I get the OK/Cancel fatal error dialog box.			
				

Expected Results:  	Added a second tab to the right of the first.  It did
this last week before we moved to the post capabilityID version
of Moz.
Summary: Using DOM to add tabs crashes Mozilla. → Using DOM to add tabs crashes Mozilla.
I suspect this is the problem danm just fixed today (an infinite recursion 
involving unnecessary <children> insertion points that are placed immediately 
under <content> elements in XBL).  Reassigning to danm and confirming.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Dan, this looks like the bug you and I fixed today.
Assignee: jst → danm
Nominating for nsbeta3, since I know this bug causes the product to crash on 
some of morse's dialogs.
Keywords: nsbeta3
QA Contact: vidur → jrgm
*** Bug 53149 has been marked as a duplicate of this bug. ***
Yes, same root cause as bug 53116. Marking dependent.
Status: NEW → ASSIGNED
Depends on: 53116
nsbeta3+, ActiveState needs this, they are partnering with us on tools.
Priority: P3 → P2
Whiteboard: [nsbeta3+]
Target Milestone: --- → M18
Fixed along with bug 53116.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
verified fixed for the original bug, an infinite recursion in classic skin.
20000922nn mac/linux/win32 (both skins tested, although this was classic-only).

The testcase still crashes when you click on one of the generated tabs (in 
either skin, XP) but that is because the testcase does not add content to 
the tabpanel, to match the <tab>s that are added to the <tabbox>. I have 
filed bug #53885 to cover this case.
Status: RESOLVED → VERIFIED
Component: DOM Level 2 → DOM Other
Component: DOM Other → DOM Level 1
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: