Closed Bug 477740 Opened 11 years ago Closed 10 years ago

"ASSERTION: Parent in document but flagged as forcing XBL" with XBL, <xul:resizer>, <math:ms>

Categories

(Core :: XBL, defect)

x86
macOS
defect
Not set

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

References

(Blocks 4 open bugs)

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

701 bytes, application/xhtml+xml
Details
Attached file testcase
###!!! ASSERTION: aDocument must be current doc of aParent: '!aParent || aDocument == aParent->GetCurrentDoc()', file /Users/jruderman/central/content/base/src/nsGenericElement.cpp, line 2497

###!!! ASSERTION: Parent in document but flagged as forcing XBL: '!aParent || !aDocument || !aParent->HasFlag(NODE_FORCE_XBL_BINDINGS)', file /Users/jruderman/central/content/base/src/nsGenericElement.cpp, line 2510
So in this case, aDocument is non-null but aParent->GetCurrentDoc() is null.  The second assertion just follows from the first.

It looks like we're creating generated content for a content node that's no longer in the document.  And in particular for the mathml:ms.

Smaug, sicking, want to dig into why we're constructing frames for nodes that are not in the document anymore in this case?  ;)
WFM
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Crashtest: http://hg.mozilla.org/mozilla-central/rev/e5dd52dd3cb5
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.