Add back assertions from bug 637214

NEW
Unassigned

Status

()

Core
DOM
7 years ago
7 years ago

People

(Reporter: sicking, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

There are a couple of things needed before we can add back these assertions:

* Make sure UnbindFromTree is only called when we have scriptblockers (and add
  assertions to enforce this)
* Remove the somewhat bogus scriptblockers added in bug 637214 to nsXULDocument
  http://hg.mozilla.org/mozilla-central/rev/23cf0cedfd4a

Ideally, we should do the second bullet by completely removing the code that calls AddToIdTable/RemoveFromIdTable. This should only affect the places where XBL content ends up in the id map, which last I looked was very rare. This might be better to do as a separate bug though.
You need to log in before you can comment on or make changes to this bug.