| Index: Source/bindings/tests/results/V8TestSpecialOperationsIdentifier.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestSpecialOperationsIdentifier.cpp b/Source/bindings/tests/results/V8TestSpecialOperationsIdentifier.cpp
|
| index 0a43b9515e02c150b7b4b09daa69577f5d4331f0..50ac2bf10f29b7c1541d9e5027156cde831ddbfc 100644
|
| --- a/Source/bindings/tests/results/V8TestSpecialOperationsIdentifier.cpp
|
| +++ b/Source/bindings/tests/results/V8TestSpecialOperationsIdentifier.cpp
|
| @@ -281,22 +281,6 @@ static void namedPropertySetterCallback(v8::Local<v8::String> name, v8::Local<v8
|
| TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
|
| }
|
|
|
| -static void namedPropertyDeleter(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Boolean>& info)
|
| -{
|
| - TestSpecialOperationsIdentifier* collection = V8TestSpecialOperationsIdentifier::toNative(info.Holder());
|
| - AtomicString propertyName = toCoreAtomicString(name);
|
| - DeleteResult result = collection->deleteNamedItem(propertyName);
|
| - if (result != DeleteUnknownProperty)
|
| - return v8SetReturnValueBool(info, result == DeleteSuccess);
|
| -}
|
| -
|
| -static void namedPropertyDeleterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Boolean>& info)
|
| -{
|
| - TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMNamedProperty");
|
| - TestSpecialOperationsIdentifierV8Internal::namedPropertyDeleter(name, info);
|
| - TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
|
| -}
|
| -
|
| static void namedPropertyQuery(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Integer>& info)
|
| {
|
| TestSpecialOperationsIdentifier* collection = V8TestSpecialOperationsIdentifier::toNative(info.Holder());
|
| @@ -317,6 +301,22 @@ static void namedPropertyQueryCallback(v8::Local<v8::String> name, const v8::Pro
|
| TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
|
| }
|
|
|
| +static void namedPropertyDeleter(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Boolean>& info)
|
| +{
|
| + TestSpecialOperationsIdentifier* collection = V8TestSpecialOperationsIdentifier::toNative(info.Holder());
|
| + AtomicString propertyName = toCoreAtomicString(name);
|
| + DeleteResult result = collection->deleteNamedItem(propertyName);
|
| + if (result != DeleteUnknownProperty)
|
| + return v8SetReturnValueBool(info, result == DeleteSuccess);
|
| +}
|
| +
|
| +static void namedPropertyDeleterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Boolean>& info)
|
| +{
|
| + TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMNamedProperty");
|
| + TestSpecialOperationsIdentifierV8Internal::namedPropertyDeleter(name, info);
|
| + TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
|
| +}
|
| +
|
| static void namedPropertyEnumerator(const v8::PropertyCallbackInfo<v8::Array>& info)
|
| {
|
| ExceptionState exceptionState(info.Holder(), info.GetIsolate());
|
|
|