Created attachment 284776 [details] testcase When I load the testcase and wait a few seconds, I see: ###!!! ASSERTION: Native anonymous node with wrong binding parent: '!aContent->IsNativeAnonymous()', file /Users/jruderman/trunk/mozilla/content/base/src/nsContentUtils.cpp, line 3702 I'm not sure this is a recent regression, but if it is, I suspect bug 378866.
That assertion was just added in Bug 345609.
Well, this is fun. Spellcheck is getting computed style on a native anonymous node that's already been removed from the document (because the relevant frame is gone). So the binding parent is null, while IsNativeAnonymous() is true. I filed bug 399791 on spell-check. I guess we should make this a warning for now, until that's fixed, but in general, I do think we should be asserting in this situation.
Created attachment 284859 [details] [diff] [review] "fix" to quiet down the assert
11 years ago
Assignee: nobody → bzbarsky
OS: Mac OS X → All
Hardware: PC → All
Summary: "ASSERTION: Native anonymous node with wrong binding parent" → [FIX]"ASSERTION: Native anonymous node with wrong binding parent"
Comment on attachment 284859 [details] [diff] [review] "fix" to quiet down the assert Fun. r+sr+a=jst
Status: NEW → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → FIXED
Crashtest checked in. (I have the testcase run for three seconds.)
You need to log in before you can comment on or make changes to this bug.