Closed Bug 400459 Opened 12 years ago Closed 12 years ago

[FIX]###!!! ASSERTION: Native anonymous node with wrong binding parent: '!aContent->IsNativeAnonymous()', file c:/trunk/mozilla/content/base/src/nsContentUtils.cpp, line 3702

Categories

(Core :: SVG, defect)

x86
Windows XP
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla1.9beta1

People

(Reporter: WeirdAl, Assigned: bzbarsky)

References

()

Details

(Keywords: assertion, testcase)

Attachments

(2 files)

Attached file stack trace
Steps to reproduce:
(1) Load the URL into Minefield.
bz, this looks like one you added, but you've also recently modified it.  Any hints?
Uh, right.  <svg:use> just does this weird thing where it's the only thing that's got native anonymous kids that are not their own binding parents.

I guess we should special-case this in the assert... And of course this code won't treat svg:use anonymous content as native anonymous.  Which is why I think it's setting the stuff that way...
Blocks: 378866
Blocks: 345609
No longer blocks: 378866
Attached patch FixSplinter Review
SVG just has to be different...
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Attachment #285544 - Flags: superreview?(jst)
Attachment #285544 - Flags: review?(jst)
Summary: ###!!! ASSERTION: Native anonymous node with wrong binding parent: '!aContent->IsNativeAnonymous()', file c:/trunk/mozilla/content/base/src/nsContentUtils.cpp, line 3702 → [FIX]###!!! ASSERTION: Native anonymous node with wrong binding parent: '!aContent->IsNativeAnonymous()', file c:/trunk/mozilla/content/base/src/nsContentUtils.cpp, line 3702
Attachment #285544 - Flags: superreview?(jst)
Attachment #285544 - Flags: superreview+
Attachment #285544 - Flags: review?(jst)
Attachment #285544 - Flags: review+
Comment on attachment 285544 [details] [diff] [review]
Fix

This makes dealing with SVG in a debug build pretty painful...  Debug-only change, so should be completely safe for the beta.
Attachment #285544 - Flags: approval1.9?
Attachment #285544 - Flags: approvalM9+
Attachment #285544 - Flags: approval1.9?
Attachment #285544 - Flags: approval1.9+
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9 M9
You need to log in before you can comment on or make changes to this bug.