| Index: Source/bindings/tests/results/core/V8TestObject.cpp
|
| diff --git a/Source/bindings/tests/results/core/V8TestObject.cpp b/Source/bindings/tests/results/core/V8TestObject.cpp
|
| index 9f7655cc5dd574f7062cfafc1d9325e1ae78a056..52e51bf1a96820542b72968a9c232a71dbc7e3da 100644
|
| --- a/Source/bindings/tests/results/core/V8TestObject.cpp
|
| +++ b/Source/bindings/tests/results/core/V8TestObject.cpp
|
| @@ -9999,6 +9999,36 @@ static void checkSecurityForNodeVoidMethodMethodCallback(const v8::FunctionCallb
|
| TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
|
| }
|
|
|
| +static void clearSingleCachedAttributeMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| +{
|
| + TestObject* impl = V8TestObject::toImpl(info.Holder());
|
| + impl->clearSingleCachedAttribute();
|
| + V8HiddenValue::deleteHiddenValue(info.GetIsolate(), info.Holder(), V8HiddenValue::one(info.GetIsolate()));
|
| +}
|
| +
|
| +static void clearSingleCachedAttributeMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| +{
|
| + TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod");
|
| + TestObjectV8Internal::clearSingleCachedAttributeMethod(info);
|
| + TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
|
| +}
|
| +
|
| +static void clearMultipleCachedAttributesMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| +{
|
| + TestObject* impl = V8TestObject::toImpl(info.Holder());
|
| + impl->clearMultipleCachedAttributes();
|
| + V8HiddenValue::deleteHiddenValue(info.GetIsolate(), info.Holder(), V8HiddenValue::one(info.GetIsolate()));
|
| + V8HiddenValue::deleteHiddenValue(info.GetIsolate(), info.Holder(), V8HiddenValue::two(info.GetIsolate()));
|
| + V8HiddenValue::deleteHiddenValue(info.GetIsolate(), info.Holder(), V8HiddenValue::three(info.GetIsolate()));
|
| +}
|
| +
|
| +static void clearMultipleCachedAttributesMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| +{
|
| + TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod");
|
| + TestObjectV8Internal::clearMultipleCachedAttributesMethod(info);
|
| + TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
|
| +}
|
| +
|
| #if ENABLE(CONDITION)
|
| static void conditionalConditionVoidMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| {
|
| @@ -12471,6 +12501,8 @@ static const V8DOMConfiguration::MethodConfiguration V8TestObjectMethods[] = {
|
| {"callWithActiveWindowScriptWindow", TestObjectV8Internal::callWithActiveWindowScriptWindowMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts},
|
| {"callWithThisValue", TestObjectV8Internal::callWithThisValueMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts},
|
| {"checkSecurityForNodeVoidMethod", TestObjectV8Internal::checkSecurityForNodeVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts},
|
| + {"clearSingleCachedAttribute", TestObjectV8Internal::clearSingleCachedAttributeMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts},
|
| + {"clearMultipleCachedAttributes", TestObjectV8Internal::clearMultipleCachedAttributesMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts},
|
| #if ENABLE(CONDITION)
|
| {"conditionalConditionVoidMethod", TestObjectV8Internal::conditionalConditionVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts},
|
| #endif // ENABLE(CONDITION)
|
|
|