File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -208,8 +208,6 @@ class ContextifyContext {
208
208
GlobalPropertyDeleterCallback,
209
209
GlobalPropertyEnumeratorCallback,
210
210
CreateDataWrapper (env));
211
- object_template->SetAccessCheckCallbacks (GlobalPropertyNamedAccessCheck,
212
- GlobalPropertyIndexedAccessCheck);
213
211
214
212
Local<Context> ctx = Context::New (env->isolate (), nullptr , object_template);
215
213
if (!ctx.IsEmpty ())
@@ -343,22 +341,6 @@ class ContextifyContext {
343
341
}
344
342
345
343
346
- static bool GlobalPropertyNamedAccessCheck (Local<Object> host,
347
- Local<Value> key,
348
- AccessType type,
349
- Local<Value> data) {
350
- return true ;
351
- }
352
-
353
-
354
- static bool GlobalPropertyIndexedAccessCheck (Local<Object> host,
355
- uint32_t key,
356
- AccessType type,
357
- Local<Value> data) {
358
- return true ;
359
- }
360
-
361
-
362
344
static void GlobalPropertyGetterCallback (
363
345
Local<String> property,
364
346
const PropertyCallbackInfo<Value>& args) {
You can’t perform that action at this time.
0 commit comments