| Index: test/cctest/test-api.cc
|
| diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
|
| index 92fee1715a49e9b6b43987432ca7bae2b27a3f5a..8142228a4a90a8430d98dfdbb0392ed327bd12cf 100644
|
| --- a/test/cctest/test-api.cc
|
| +++ b/test/cctest/test-api.cc
|
| @@ -9704,15 +9704,6 @@ TEST(DetachGlobal) {
|
| result = CompileRun("other.p");
|
| CHECK(result->IsInt32());
|
| CHECK_EQ(24, result->Int32Value(env3).FromJust());
|
| -
|
| - // Change security token for env3 to something different from env1 and env2.
|
| - env3->SetSecurityToken(v8_str("bar"));
|
| -
|
| - // Check that we do not have access to other.p in env1. |other| is now
|
| - // the global object for env3 which has a different security token,
|
| - // so access should be blocked.
|
| - result = CompileRun("other.p");
|
| - CHECK(result.IsEmpty());
|
| }
|
|
|
|
|
|
|