Backed out changeset 932ebd50f385 (bug 996060)

This commit is contained in:
Sebastian Hengst 2016-05-21 23:59:55 +02:00
parent 59c05a06a8
commit 04ea41e959

View File

@ -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());