| Index: test/cctest/test-accessors.cc
|
| diff --git a/test/cctest/test-accessors.cc b/test/cctest/test-accessors.cc
|
| index fd620a95a613608167b23403933e73f03148edc9..d9e0fb2ac17baa8f089e994096b014bc9502c6db 100644
|
| --- a/test/cctest/test-accessors.cc
|
| +++ b/test/cctest/test-accessors.cc
|
| @@ -535,13 +535,11 @@ THREADED_TEST(JSONStringifyNamedInterceptorObject) {
|
|
|
|
|
| static v8::Local<v8::Context> expected_current_context;
|
| -static v8::Local<v8::Context> expected_calling_context;
|
|
|
|
|
| static void check_contexts(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| ApiTestFuzzer::Fuzz();
|
| CHECK(expected_current_context == info.GetIsolate()->GetCurrentContext());
|
| - CHECK(expected_calling_context == info.GetIsolate()->GetCallingContext());
|
| }
|
|
|
|
|
| @@ -554,7 +552,6 @@ THREADED_TEST(AccessorPropertyCrossContext) {
|
| switch_context->Global()->Set(v8_str("fun"), fun);
|
| v8::TryCatch try_catch(isolate);
|
| expected_current_context = env.local();
|
| - expected_calling_context = switch_context.local();
|
| CompileRun(
|
| "var o = Object.create(null, { n: { get:fun } });"
|
| "for (var i = 0; i < 10; i++) o.n;");
|
|
|