Closed Bug 413587 Opened 17 years ago Closed 15 years ago

"ASSERTION: PostRestyleEvent after the shell is destroyed (bug 279505)" with <style> in <svg:use>

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Assigned: MatsPalmgren_bugz)

References

Details

(Keywords: assertion, regression, testcase)

Attachments

(2 files)

Loading the testcase triggers:

###!!! ASSERTION: PostRestyleEvent after the shell is destroyed (bug 279505): 'Not Reached', file /Users/jruderman/trunk/mozilla/layout/base/nsCSSFrameConstructor.cpp, line 13277

This assertion was added in bug 279505.  (I don't understand why the patch added the assertion -- doesn't the testcase for that bug trigger the assertion too?)
Attached image testcase
Blocks: 279505
The assert was added because on trunk we shouldn't be hitting it, in fact.  I don't believe we hit it on that testcase...

Mats, want to either fix this, or make it safe to do this sort of thing?
Probably the former, I would guess...
Attached file stack
This is a false alarm.  I forgot that we temporarily set
mIsDestroyingFrameTree true while destroying the root frame:
http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/layout/base/nsCSSFrameConstructor.cpp&rev=1.1457&root=/cvsroot&mark=7818#7799
Assignee: nobody → mats.palmgren
OS: Mac OS X → All
Hardware: PC → All
WFM on trunk.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Flags: in-testsuite?
Crashtest: http://hg.mozilla.org/mozilla-central/rev/b64a7e4a35e2
Flags: in-testsuite? → in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: