Closed Bug 808993 Opened 13 years ago Closed 13 years ago

"ASSERTION: must have binding parent when in native anonymous subtree with a parent node: '!IsInNativeAnonymousSubtree() || GetBindingParent() || !GetParent()', file nsIContent.h, line 230" when handling load/error event for generated image content

Categories

(Core :: DOM: Events, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: smaug, Assigned: smaug)

References

(Depends on 1 open bug)

Details

(Keywords: assertion)

Attachments

(2 files, 1 obsolete file)

+++ This bug was initially created as a clone of Bug #791201 +++ load and error events are dispatched async, so generated content may not be in document anymore.
Attached file testcase —
Attached patch patch (obsolete) — — Splinter Review
I think we should tweak the assertion a bit. I'll file a new bug to not fire load and error for generated image.
Attachment #678697 - Flags: review?(bzbarsky)
Attached patch patch — — Splinter Review
Ooops, this is the patch.
Attachment #678697 - Attachment is obsolete: true
Attachment #678697 - Flags: review?(bzbarsky)
Attachment #678714 - Flags: review?(bzbarsky)
Attachment #678714 - Flags: review?(bzbarsky) → review+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Olli, the regular startup assertion failure is gone. Thanks!
Thanks for fixing and reviewing this, smaug and bz. :)
Depends on: 735135
No longer depends on: 735135
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: