// Copyright 2017 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "include/v8.h" #include "test/unittests/test-utils.h" #include "testing/gtest/include/gtest/gtest.h" namespace v8 { using AccessCheckTest = TestWithIsolate; namespace { bool AccessCheck(Local accessing_context, Local accessed_object, Local data) { return false; } MaybeLocal CompileRun(Isolate* isolate, const char* source) { Local source_string = String::NewFromUtf8(isolate, source, NewStringType::kNormal) .ToLocalChecked(); Local context = isolate->GetCurrentContext(); Local