зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1239666 - part 3, devtools test case changes. r=sphink
--HG-- extra : rebase_source : fbc8881f6db1961399b302a0714c6d3e98d6c9ae extra : histedit_source : 2c88643e3219c63bff7d1b2a7b17fe579cbbdfe2
This commit is contained in:
Родитель
afa80bc73e
Коммит
066de48f44
|
@ -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;
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче