Closed Bug 379975 Opened 14 years ago Closed 14 years ago

[FIX]Crash [@ nsFrameManager::InsertFrames()] when getting documentElement that has a binding attached to it

Categories

(Core :: Layout, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla1.9alpha5

People

(Reporter: Gavin, Assigned: bzbarsky)

Details

(Keywords: crash, testcase)

Crash Data

Attachments

(2 files)

Attachment #264032 - Attachment description: testcase → testcase (crashes on load)
Attached patch Proposed fixSplinter Review
When the XBL loads, it tries to reframe the bound node (in this case the root).  The non-inline script means we haven't called InitialReflow yet, so we don't have a viewport frame and all that jazz.

For non-root nodes this doesn't matter, since GetPrimaryFrameFor() on the parent returns null, and then we bail out of frame construction.  But for the root we need to deal here.
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Attachment #264036 - Flags: superreview?(roc)
Attachment #264036 - Flags: review?(roc)
Priority: -- → P1
Summary: Crash [@ nsFrameManager::InsertFrames()] when getting documentElement that has a binding attached to it → [FIX]Crash [@ nsFrameManager::InsertFrames()] when getting documentElement that has a binding attached to it
Target Milestone: --- → mozilla1.9alpha5
Attachment #264036 - Flags: superreview?(roc)
Attachment #264036 - Flags: superreview+
Attachment #264036 - Flags: review?(roc)
Attachment #264036 - Flags: review+
Fixed.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
Crash Signature: [@ nsFrameManager::InsertFrames()]
You need to log in before you can comment on or make changes to this bug.