| Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexedGlobal.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexedGlobal.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexedGlobal.cpp
|
| index 7f69bc306a43a56c78cbe4b3cdd728e8d3ecd387..3acdea9002ba1dd95fc859b256f35752bcfb330e 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexedGlobal.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexedGlobal.cpp
|
| @@ -100,47 +100,40 @@ static void voidMethodDocumentMethodCallback(const v8::FunctionCallbackInfo<v8::
|
| TestIntegerIndexedGlobalV8Internal::voidMethodDocumentMethod(info);
|
| }
|
|
|
| -void indexedPropertyGetterCallback(uint32_t index, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| -{
|
| - V8TestIntegerIndexedGlobal::indexedPropertyGetterCustom(index, info);
|
| -}
|
| -
|
| -void indexedPropertySetterCallback(uint32_t index, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| -{
|
| - V8TestIntegerIndexedGlobal::indexedPropertySetterCustom(index, v8Value, info);
|
| -}
|
| -
|
| -void indexedPropertyDeleterCallback(uint32_t index, const v8::PropertyCallbackInfo<v8::Boolean>& info)
|
| -{
|
| - V8TestIntegerIndexedGlobal::indexedPropertyDeleterCustom(index, info);
|
| -}
|
| -
|
| void namedPropertyGetterCallback(v8::Local<v8::Name> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| if (!name->IsString())
|
| return;
|
| - V8TestIntegerIndexedGlobal::namedPropertyGetterCustom(name, info);
|
| + const AtomicString& propertyName = toCoreAtomicString(name.As<v8::String>());
|
| +
|
| + V8TestIntegerIndexedGlobal::namedPropertyGetterCustom(propertyName, info);
|
| }
|
|
|
| void namedPropertySetterCallback(v8::Local<v8::Name> name, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| if (!name->IsString())
|
| return;
|
| - V8TestIntegerIndexedGlobal::namedPropertySetterCustom(name, v8Value, info);
|
| + const AtomicString& propertyName = toCoreAtomicString(name.As<v8::String>());
|
| +
|
| + V8TestIntegerIndexedGlobal::namedPropertySetterCustom(propertyName, v8Value, info);
|
| }
|
|
|
| -void namedPropertyQueryCallback(v8::Local<v8::Name> name, const v8::PropertyCallbackInfo<v8::Integer>& info)
|
| +void namedPropertyDeleterCallback(v8::Local<v8::Name> name, const v8::PropertyCallbackInfo<v8::Boolean>& info)
|
| {
|
| if (!name->IsString())
|
| return;
|
| - V8TestIntegerIndexedGlobal::namedPropertyQueryCustom(name, info);
|
| + const AtomicString& propertyName = toCoreAtomicString(name.As<v8::String>());
|
| +
|
| + V8TestIntegerIndexedGlobal::namedPropertyDeleterCustom(propertyName, info);
|
| }
|
|
|
| -void namedPropertyDeleterCallback(v8::Local<v8::Name> name, const v8::PropertyCallbackInfo<v8::Boolean>& info)
|
| +void namedPropertyQueryCallback(v8::Local<v8::Name> name, const v8::PropertyCallbackInfo<v8::Integer>& info)
|
| {
|
| if (!name->IsString())
|
| return;
|
| - V8TestIntegerIndexedGlobal::namedPropertyDeleterCustom(name, info);
|
| + const AtomicString& propertyName = toCoreAtomicString(name.As<v8::String>());
|
| +
|
| + V8TestIntegerIndexedGlobal::namedPropertyQueryCustom(propertyName, info);
|
| }
|
|
|
| void namedPropertyEnumeratorCallback(const v8::PropertyCallbackInfo<v8::Array>& info)
|
| @@ -148,6 +141,21 @@ void namedPropertyEnumeratorCallback(const v8::PropertyCallbackInfo<v8::Array>&
|
| V8TestIntegerIndexedGlobal::namedPropertyEnumeratorCustom(info);
|
| }
|
|
|
| +void indexedPropertyGetterCallback(uint32_t index, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| +{
|
| + V8TestIntegerIndexedGlobal::indexedPropertyGetterCustom(index, info);
|
| +}
|
| +
|
| +void indexedPropertySetterCallback(uint32_t index, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| +{
|
| + V8TestIntegerIndexedGlobal::indexedPropertySetterCustom(index, v8Value, info);
|
| +}
|
| +
|
| +void indexedPropertyDeleterCallback(uint32_t index, const v8::PropertyCallbackInfo<v8::Boolean>& info)
|
| +{
|
| + V8TestIntegerIndexedGlobal::indexedPropertyDeleterCustom(index, info);
|
| +}
|
| +
|
| } // namespace TestIntegerIndexedGlobalV8Internal
|
|
|
| const V8DOMConfiguration::AccessorConfiguration V8TestIntegerIndexedGlobalAccessors[] = {
|
|
|