Revision f230a1cf deps/v8/test/cctest/test-global-object.cc
deps/v8/test/cctest/test-global-object.cc | ||
---|---|---|
34 | 34 |
// This test fails if properties on the prototype of the global object appear |
35 | 35 |
// as declared globals. |
36 | 36 |
TEST(StrictUndeclaredGlobalVariable) { |
37 |
HandleScope scope(Isolate::GetCurrent());
|
|
37 |
HandleScope scope(CcTest::isolate());
|
|
38 | 38 |
v8::Local<v8::String> var_name = v8_str("x"); |
39 | 39 |
LocalContext context; |
40 | 40 |
v8::TryCatch try_catch; |
Also available in: Unified diff