Closed Bug 801440 Opened 8 years ago Closed 8 years ago

"ASSERTION: Mutation event dispatched in native anonymous content"

Categories

(Core :: DOM: Core & HTML, defect)

x86_64
macOS
defect
Not set

Tracking

()

RESOLVED FIXED

People

(Reporter: jruderman, Assigned: smaug)

Details

(Keywords: assertion, testcase)

Attachments

(3 files)

Attached file testcase
###!!! ASSERTION: Mutation event dispatched in native anonymous content!?!: 'aVisitor.mEvent->eventStructType != NS_MUTATION_EVENT || aVisitor.mDOMEvent', file content/base/src/FragmentOrElement.cpp, line 959
Attached file stack trace
Bah, I forgot to update the assertion.
Assignee: nobody → bugs
Attached patch patchSplinter Review
Attachment #671245 - Flags: review?(bzbarsky)
Group: core-security
Might be worth wrapping a block around this code so that the new variable doesn't leak out into non #ifdef'ed code.

Up to you.
The non ifdef'ed code is just
aVisitor.mEventTargetAtParent = parent;
Comment on attachment 671245 [details] [diff] [review]
patch

r=me
Attachment #671245 - Flags: review?(bzbarsky) → review+
https://hg.mozilla.org/mozilla-central/rev/c4f3ea8eec81
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.