| Index: test/cctest/test-api.cc
|
| diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
|
| index 5546c83c83acf5847da247ffe8858d16919751b8..39bf1394c4b109ce0a86b47cf37ea76e214ac32d 100644
|
| --- a/test/cctest/test-api.cc
|
| +++ b/test/cctest/test-api.cc
|
| @@ -9175,7 +9175,8 @@ TEST(TryCatchFinallyStoresMessageUsingTryCatchHandler) {
|
| // For use within the TestSecurityHandler() test.
|
| static bool g_security_callback_result = false;
|
| static bool SecurityTestCallback(Local<v8::Context> accessing_context,
|
| - Local<v8::Object> accessed_object) {
|
| + Local<v8::Object> accessed_object,
|
| + Local<v8::Value> data) {
|
| printf("a\n");
|
| return g_security_callback_result;
|
| }
|
| @@ -9373,7 +9374,8 @@ THREADED_TEST(SecurityChecksForPrototypeChain) {
|
| static bool security_check_with_gc_called;
|
|
|
| static bool SecurityTestCallbackWithGC(Local<v8::Context> accessing_context,
|
| - Local<v8::Object> accessed_object) {
|
| + Local<v8::Object> accessed_object,
|
| + Local<v8::Value> data) {
|
| CcTest::heap()->CollectAllGarbage();
|
| security_check_with_gc_called = true;
|
| return true;
|
| @@ -9860,7 +9862,8 @@ TEST(DetachedAccesses) {
|
|
|
| static bool allowed_access = false;
|
| static bool AccessBlocker(Local<v8::Context> accessing_context,
|
| - Local<v8::Object> accessed_object) {
|
| + Local<v8::Object> accessed_object,
|
| + Local<v8::Value> data) {
|
| v8::Local<v8::Context> context = CcTest::isolate()->GetCurrentContext();
|
| return context->Global()->Equals(context, accessed_object).FromJust() ||
|
| allowed_access;
|
| @@ -10154,9 +10157,9 @@ TEST(AccessControlES5) {
|
| CHECK_EQ(42, g_echo_value); // Make sure we didn't call the setter.
|
| }
|
|
|
| -
|
| static bool AccessAlwaysBlocked(Local<v8::Context> accessing_context,
|
| - Local<v8::Object> global) {
|
| + Local<v8::Object> global,
|
| + Local<v8::Value> data) {
|
| i::PrintF("Access blocked.\n");
|
| return false;
|
| }
|
| @@ -10300,7 +10303,8 @@ THREADED_TEST(CrossDomainAccessors) {
|
| static int access_count = 0;
|
|
|
| static bool AccessCounter(Local<v8::Context> accessing_context,
|
| - Local<v8::Object> accessed_object) {
|
| + Local<v8::Object> accessed_object,
|
| + Local<v8::Value> data) {
|
| access_count++;
|
| return true;
|
| }
|
| @@ -24128,16 +24132,16 @@ TEST(SealHandleScopeNested) {
|
|
|
| static bool access_was_called = false;
|
|
|
| -
|
| static bool AccessAlwaysAllowedWithFlag(Local<v8::Context> accessing_context,
|
| - Local<v8::Object> accessed_object) {
|
| + Local<v8::Object> accessed_object,
|
| + Local<v8::Value> data) {
|
| access_was_called = true;
|
| return true;
|
| }
|
|
|
| -
|
| static bool AccessAlwaysBlockedWithFlag(Local<v8::Context> accessing_context,
|
| - Local<v8::Object> accessed_object) {
|
| + Local<v8::Object> accessed_object,
|
| + Local<v8::Value> data) {
|
| access_was_called = true;
|
| return false;
|
| }
|
|
|