mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1239666 - part 3, devtools test case changes. r=sphink
This commit is contained in:
parent
a45d35ad71
commit
9ce33177bd
@ -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;
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user