mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 23:05:42 +00:00
Bug 979730 part 4 - Make JS_IsRunning ignore saved frame boundaries. r=luke
This commit is contained in:
parent
62eddae24f
commit
38e56ba989
@ -1055,11 +1055,8 @@ bool
|
||||
JSContext::currentlyRunning() const
|
||||
{
|
||||
for (ActivationIterator iter(runtime()); !iter.done(); ++iter) {
|
||||
if (iter->cx() == this) {
|
||||
if (iter->hasSavedFrameChain())
|
||||
return false;
|
||||
if (iter->cx() == this)
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user