Backtrace: http://pastebin.mozilla.org/1747828 Situation: writing in the scratchpad that may have evaluated something in the background. I got the following message, too: Assertion failure: rt->heapState == JSRuntime::Idle, at /home/tyl/files/cloud/fx-team/js/src/jsapi.cpp:241
Bill, Nick, looks like we're running into an AssertHeapIsIdle assertion while collecting compartment stats. Can you have a look at the stack and say where we're going wrong?
Created attachment 651240 [details] [diff] [review] Loosen over-tight assertion in JS_GetGlobalForScopeChain. I assume it's reasonable for JS_GetGlobalForScopeChain() to be called within a call to nsXPConnect::GetNativeOfWrapper()? If so, the assertion is too strong, and should be changed to AssertHeapIsIdleOrIterating(). It's possible that we'll see this same overtight assertion in other jsapi.cpp functions that can be called within GetNativeOfWrapper().