mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 19:25:43 +00:00
Backed out changeset 932ebd50f385 (bug 996060)
This commit is contained in:
parent
59c05a06a8
commit
04ea41e959
@ -238,7 +238,7 @@ BEGIN_TEST(test_JS_GetPendingExceptionStack)
|
|||||||
CHECK(JS::GetPendingExceptionStack(cx, &stack));
|
CHECK(JS::GetPendingExceptionStack(cx, &stack));
|
||||||
CHECK(stack);
|
CHECK(stack);
|
||||||
CHECK(stack->is<js::SavedFrame>());
|
CHECK(stack->is<js::SavedFrame>());
|
||||||
JS::Rooted<js::SavedFrame*> savedFrameStack(cx, &stack->as<js::SavedFrame>());
|
JS::Rooted<js::SavedFrame*> savedFrameStack(cx, &stack->as<SavedFrame>());
|
||||||
|
|
||||||
JS_GetPendingException(cx, &val);
|
JS_GetPendingException(cx, &val);
|
||||||
CHECK(val.isInt32());
|
CHECK(val.isInt32());
|
||||||
|
Loading…
Reference in New Issue
Block a user