Closed Bug 712521 Opened 13 years ago Closed 10 years ago

ASSERTION: Want to fire DOMNodeRemoved event, but it's not safe: 'aChild->IsNodeOfType(nsINode::eCONTENT) && static_cast<nsIContent*>(aChild)-> IsInNativeAnonymousSubtree() || IsSafeToRunScript() || sDOMNodeRemovedSuppressCount' (browser_aboutHome.js)

Categories

(Core :: XBL, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: MatsPalmgren_bugz, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: assertion, intermittent-failure)

Attachments

(1 file)

This is possibly just side-effect of the problem in bug 712520. STEPS TO REPRODUCE 1. using a clean profile, install "nectar_search_toolbar.xpi" attached in bug 711794 2. restart Fx 3. wait for the "first run" dialog that the add-on displays ACTUAL RESULTS ###!!! ASSERTION: Want to fire DOMNodeRemoved event, but it's not safe: 'aChild->IsNodeOfType(nsINode::eCONTENT) && static_cast<nsIContent*>(aChild)-> IsInNativeAnonymousSubtree() || IsSafeToRunScript() || sDOMNodeRemovedSuppressCount', file content/base/src/nsContentUtils.cpp, line 3351 PLATFORMS AND BUILDS TESTED Bug occurs in Fx9 debug build on OS X 10.7 Bug occurs in a recent mozilla-inbound debug build on OS X 10.7 Bug occurs in todays mozilla-inbound debug build on Linux x86-64
Attached file stack
stack leading up to the assertion on Linux (the assertion in bug 712520 occurs first)
I encounter the same issue reproducibly with browser_aboutHome.js on current m-c (that's FF26).
Blake, William, I think you've touched XBL lately.
Component: DOM → XBL
David, browser_aboutHome is (sort of) being tracked by bug 724307. Olli, can you reproduce this? I hit an assertion in nsParser.cpp about trying to pump data into about:blank and then bug 712520.
Flags: needinfo?(bugs)
The assertion from browser_aboutHome.js gives quite different stack. That one is about reporting error in parsing, and error reporting removing existing nodes from a fragment. The error reporting should be moved to higher up in the stack. Anyhow, the assertion just means that there is a bug somewhere doing dom mutations.
Flags: needinfo?(bugs)
Summary: ASSERTION: Want to fire DOMNodeRemoved event, but it's not safe: 'aChild->IsNodeOfType(nsINode::eCONTENT) && static_cast<nsIContent*>(aChild)-> IsInNativeAnonymousSubtree() || IsSafeToRunScript() || sDOMNodeRemovedSuppressCount' → ASSERTION: Want to fire DOMNodeRemoved event, but it's not safe: 'aChild->IsNodeOfType(nsINode::eCONTENT) && static_cast<nsIContent*>(aChild)-> IsInNativeAnonymousSubtree() || IsSafeToRunScript() || sDOMNodeRemovedSuppressCount' (browser_aboutHome.js)
Inactive; closing (see bug 1180138).
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: