| Index: Source/bindings/tests/results/V8TestObject.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestObject.cpp b/Source/bindings/tests/results/V8TestObject.cpp
|
| index 6bf4a6debd72598525f0bc71d3d0a2927d0e56ca..f3ec5ca3ec8e07cd3a69ab2982cde77ce7196135 100644
|
| --- a/Source/bindings/tests/results/V8TestObject.cpp
|
| +++ b/Source/bindings/tests/results/V8TestObject.cpp
|
| @@ -4969,6 +4969,22 @@ void V8TestObject::namedPropertyEnumerator(const v8::PropertyCallbackInfo<v8::Ar
|
| v8SetReturnValue(info, v8names);
|
| }
|
|
|
| +void V8TestObject::namedPropertyQuery(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Integer>& info)
|
| +{
|
| + TestObj* collection = toNative(info.Holder());
|
| + AtomicString propertyName = toWebCoreAtomicString(name);
|
| + ExceptionCode ec = 0;
|
| + int returnValue = 0;
|
| + bool result = collection->namedPropertyQuery(propertyName, returnValue, ec);
|
| + if (ec) {
|
| + setDOMException(ec, info.GetIsolate());
|
| + return;
|
| + }
|
| + if (!result)
|
| + return;
|
| + v8SetReturnValueInt(info, 0);
|
| +}
|
| +
|
| static v8::Handle<v8::FunctionTemplate> ConfigureV8TestObjectTemplate(v8::Handle<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType currentWorldType)
|
| {
|
| desc->ReadOnlyPrototype();
|
|
|