Chromium Code Reviews| Index: Source/bindings/core/v8/custom/V8InjectedScriptHostCustom.cpp |
| diff --git a/Source/bindings/core/v8/custom/V8InjectedScriptHostCustom.cpp b/Source/bindings/core/v8/custom/V8InjectedScriptHostCustom.cpp |
| index 711660a221e95b51290102b292feee5fc94e3a2f..c0f4d1f3beb4de0f35565fb2f1a56d4449019df9 100644 |
| --- a/Source/bindings/core/v8/custom/V8InjectedScriptHostCustom.cpp |
| +++ b/Source/bindings/core/v8/custom/V8InjectedScriptHostCustom.cpp |
| @@ -565,6 +565,7 @@ void V8InjectedScriptHost::setNonEnumPropertyMethodCustom(const v8::FunctionCall |
| return; |
| v8::Local<v8::Object> object = info[0].As<v8::Object>(); |
| + // TODO(bashi): Use DefineOwnProperty() if possible. |
|
jochen (gone - plz use gerrit)
2015/06/03 10:55:17
what exception does this throw?
bashi
2015/06/05 01:10:27
Nevermind; this custom bindings has gone.
https://
|
| object->ForceSet(info.GetIsolate()->GetCurrentContext(), info[1], info[2], v8::DontEnum); |
| } |