| Index: Source/bindings/tests/results/V8TestEventTarget.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestEventTarget.cpp b/Source/bindings/tests/results/V8TestEventTarget.cpp
|
| index da6b4af59af7cfe960e54edcc694d1c83104cd78..fa28ef61a2c268a23e55145489a5c04f82dfb383 100644
|
| --- a/Source/bindings/tests/results/V8TestEventTarget.cpp
|
| +++ b/Source/bindings/tests/results/V8TestEventTarget.cpp
|
| @@ -250,6 +250,22 @@ void V8TestEventTarget::namedPropertyEnumerator(const v8::PropertyCallbackInfo<v
|
| v8SetReturnValue(info, v8names);
|
| }
|
|
|
| +void V8TestEventTarget::namedPropertyQuery(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Integer>& info)
|
| +{
|
| + TestEventTarget* 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> ConfigureV8TestEventTargetTemplate(v8::Handle<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType currentWorldType)
|
| {
|
| desc->ReadOnlyPrototype();
|
|
|