Index: src/inspector/v8-injected-script-host.cc |
diff --git a/src/inspector/v8-injected-script-host.cc b/src/inspector/v8-injected-script-host.cc |
index 02af51eb1205f2bb47dbe3e5185384f1c5ac6a35..35a52f6265f96145058b34faf8b5d08a802da4ff 100644 |
--- a/src/inspector/v8-injected-script-host.cc |
+++ b/src/inspector/v8-injected-script-host.cc |
@@ -80,6 +80,26 @@ v8::Local<v8::Object> V8InjectedScriptHost::create( |
setFunctionProperty(context, injectedScriptHost, "proxyTargetValue", |
V8InjectedScriptHost::proxyTargetValueCallback, |
debuggerExternal); |
+ createDataProperty(context, injectedScriptHost, |
+ toV8StringInternalized(isolate, "keys"), |
+ v8::debug::GetBuiltin(isolate, v8::debug::kObjectKeys)); |
+ createDataProperty( |
+ context, injectedScriptHost, |
+ toV8StringInternalized(isolate, "getPrototypeOf"), |
+ v8::debug::GetBuiltin(isolate, v8::debug::kObjectGetPrototypeOf)); |
+ createDataProperty( |
+ context, injectedScriptHost, |
+ toV8StringInternalized(isolate, "getOwnPropertyDescriptor"), |
+ v8::debug::GetBuiltin(isolate, |
+ v8::debug::kObjectGetOwnPropertyDescriptor)); |
+ createDataProperty( |
+ context, injectedScriptHost, |
+ toV8StringInternalized(isolate, "getOwnPropertyNames"), |
+ v8::debug::GetBuiltin(isolate, v8::debug::kObjectGetOwnPropertyNames)); |
+ createDataProperty( |
+ context, injectedScriptHost, |
+ toV8StringInternalized(isolate, "getOwnPropertySymbols"), |
+ v8::debug::GetBuiltin(isolate, v8::debug::kObjectGetOwnPropertySymbols)); |
return injectedScriptHost; |
} |