Bug 1239666 - part 3, devtools test case changes. r=sphink

This commit is contained in:
Lars T Hansen 2016-01-18 09:49:17 +01:00
parent a45d35ad71
commit 9ce33177bd
2 changed files with 6 additions and 2 deletions

View File

@ -9,10 +9,12 @@
DEF_TEST(DoesCrossZoneBoundaries, {
// Create a new global to get a new zone.
JS::CompartmentOptions options;
JS::RootedObject newGlobal(cx, JS_NewGlobalObject(cx,
getGlobalClass(),
nullptr,
JS::FireOnNewGlobalHook));
JS::FireOnNewGlobalHook,
options));
ASSERT_TRUE(newGlobal);
JS::Zone* newZone = nullptr;
{

View File

@ -9,10 +9,12 @@
DEF_TEST(DoesntCrossZoneBoundaries, {
// Create a new global to get a new zone.
JS::CompartmentOptions options;
JS::RootedObject newGlobal(cx, JS_NewGlobalObject(cx,
getGlobalClass(),
nullptr,
JS::FireOnNewGlobalHook));
JS::FireOnNewGlobalHook,
options));
ASSERT_TRUE(newGlobal);
JS::Zone* newZone = nullptr;
{