Closed Bug 400459 Opened 17 years ago Closed 17 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
normal

Tracking

()

RESOLVED FIXED
mozilla1.9beta1

People

(Reporter: WeirdAl, Assigned: bzbarsky)

References

()

Details

(Keywords: assertion, testcase)

Attachments

(2 files)

Attached file stack trace (deleted) —
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 Fix (deleted) — Splinter 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: 17 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.

Attachment

General

Created:
Updated:
Size: