| Index: test/cctest/test-api.cc
|
| diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
|
| index 63378ba7d6417453445483ecbc4f40f4189d6653..0714e404b4fc6386ab0535f952717993c0de87f8 100644
|
| --- a/test/cctest/test-api.cc
|
| +++ b/test/cctest/test-api.cc
|
| @@ -8279,11 +8279,8 @@
|
| CHECK(result.IsEmpty());
|
| result = CompileRun("get_x_w()");
|
| CHECK(result.IsEmpty());
|
| - {
|
| - v8::TryCatch try_catch(env1->GetIsolate());
|
| - CompileRun("this_x()");
|
| - CHECK(try_catch.HasCaught());
|
| - }
|
| + result = CompileRun("this_x()");
|
| + CHECK(v8_str("env2_x")->Equals(result));
|
|
|
| // Reattach env2's proxy
|
| env2 = Context::New(env1->GetIsolate(),
|
|
|