Closed Bug 321056 Opened 19 years ago Closed 15 years ago

ASSERTION: grandparent should be root box (nsPopupSetFrame.cpp)

Categories

(Core :: XUL, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: assertion, testcase)

Attachments

(1 file, 1 obsolete file)

(deleted), application/xhtml+xml
Details
Steps to reproduce: Load testcase in a (trunk) debug build.

<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  <grid>
    <popupgroup>
    </popupgroup>
  </grid>
</window>

Result: two assertion failures, with the same text but different line numbers.

###!!! ASSERTION: grandparent should be root box: 'NS_SUCCEEDED(res)', file /Users/admin/trunk/mozilla/layout/xul/base/src/nsPopupSetFrame.cpp, line 155

###!!! ASSERTION: grandparent should be root box: 'NS_SUCCEEDED(res)', file /Users/admin/trunk/mozilla/layout/xul/base/src/nsPopupSetFrame.cpp, line 194
Attached file testcase (obsolete) (deleted) —
Keywords: testcase
Summary: ASSERTION: grandparent should be root box → ASSERTION: grandparent should be root box (nsPopupSetFrame.cpp)
Still happens on trunk, post bug 279703 landing.
Now it also triggers:

###!!! ASSERTION: Unexpected PopupSetFrame: 'rootBox->GetPopupSetFrame() == newFrame', file /Users/jruderman/trunk/mozilla/layout/base/nsCSSFrameConstructor.cpp, line 6167

(That assertion also appears in bug 321058.)
Attached file Testcase #2 (deleted) —
The first testcase doesn't trigger the assertion for me (on Linux and Mac).
This testcase does (and also triggers bug 385845).
Same here.
Attachment #206474 - Attachment is obsolete: true
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets
This shouldn't be happening any more now that 400185 is fixed.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Neil, I still see this bug using "Testcase #2".
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
The "grandparent should be root box" assertion was removed in bug 421203:
http://hg.mozilla.org/mozilla-central/rev/4a73efb88edc

When I load these testcases now I only get the assertion in bug 385845.
Status: REOPENED → RESOLVED
Closed: 16 years ago15 years ago
Depends on: 421203
Resolution: --- → FIXED
Crashtest: http://hg.mozilla.org/mozilla-central/rev/b64a7e4a35e2
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: