diff --git a/src/node_contextify.cc b/src/node_contextify.cc index d93fb60c69a..c5976a56ec5 100644 --- a/src/node_contextify.cc +++ b/src/node_contextify.cc @@ -208,8 +208,6 @@ class ContextifyContext { GlobalPropertyDeleterCallback, GlobalPropertyEnumeratorCallback, CreateDataWrapper(env)); - object_template->SetAccessCheckCallbacks(GlobalPropertyNamedAccessCheck, - GlobalPropertyIndexedAccessCheck); Local ctx = Context::New(env->isolate(), nullptr, object_template); if (!ctx.IsEmpty()) @@ -343,22 +341,6 @@ class ContextifyContext { } - static bool GlobalPropertyNamedAccessCheck(Local host, - Local key, - AccessType type, - Local data) { - return true; - } - - - static bool GlobalPropertyIndexedAccessCheck(Local host, - uint32_t key, - AccessType type, - Local data) { - return true; - } - - static void GlobalPropertyGetterCallback( Local property, const PropertyCallbackInfo& args) {