Closed Bug 534412 Opened 10 years ago Closed 7 years ago
IXTFElement::on Destroyed triggers JS _ASSERT failures for scripted elements
JS_ASSERT(!cx->runtime->gcRunning); I think onDestroyed should be marked [noscript]. From code inspection, I see onDestroyed only gets called when all references to the XTFElementWrapper are gone - and JS code shouldn't be executing anything at that point.
Comments 1 and 2 are a separate bug - filed as bug 543304. (It just took me three weeks to realize it.)
so, roughly, xpconnect is one of very few co-conspirators wrt jsgc, as such, it shouldn't allow js methods to be called when it knows gc is running. but that would solve your crash w/o resulting in happy code.
XTF is dead.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.