Index: Source/bindings/tests/results/V8TestObject.cpp |
diff --git a/Source/bindings/tests/results/V8TestObject.cpp b/Source/bindings/tests/results/V8TestObject.cpp |
index 6a61ef4fe3f0f173f88946c8049f7689045ef08e..9ea299c891e8cd5d70b5a98f93888c3aac1ca2c8 100644 |
--- a/Source/bindings/tests/results/V8TestObject.cpp |
+++ b/Source/bindings/tests/results/V8TestObject.cpp |
@@ -9159,32 +9159,6 @@ static void callWithExecutionContextRaisesExceptionVoidMethodLongArgMethodCallba |
TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
} |
-static void readOnlyVoidMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
-{ |
- TestObject* impl = V8TestObject::toNative(info.Holder()); |
- impl->readOnlyVoidMethod(); |
-} |
- |
-static void readOnlyVoidMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) |
-{ |
- TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); |
- TestObjectV8Internal::readOnlyVoidMethodMethod(info); |
- TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
-} |
- |
-static void notEnumerableReadOnlyVoidMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
-{ |
- TestObject* impl = V8TestObject::toNative(info.Holder()); |
- impl->notEnumerableReadOnlyVoidMethod(); |
-} |
- |
-static void notEnumerableReadOnlyVoidMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) |
-{ |
- TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); |
- TestObjectV8Internal::notEnumerableReadOnlyVoidMethodMethod(info); |
- TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
-} |
- |
static void runtimeEnabledVoidMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
@@ -10115,14 +10089,6 @@ static void configureV8TestObjectTemplate(v8::Handle<v8::FunctionTemplate> funct |
"notEnumerableVoidMethod", TestObjectV8Internal::notEnumerableVoidMethodMethodCallback, 0, 0 |
}; |
V8DOMConfiguration::installMethodCustomSignature(prototypeTemplate, defaultSignature, static_cast<v8::PropertyAttribute>(v8::DontDelete | v8::DontEnum), notEnumerableVoidMethodMethodConfiguration, isolate); |
- static const V8DOMConfiguration::MethodConfiguration readOnlyVoidMethodMethodConfiguration = { |
- "readOnlyVoidMethod", TestObjectV8Internal::readOnlyVoidMethodMethodCallback, 0, 0 |
- }; |
- V8DOMConfiguration::installMethodCustomSignature(prototypeTemplate, defaultSignature, static_cast<v8::PropertyAttribute>(v8::DontDelete | v8::ReadOnly), readOnlyVoidMethodMethodConfiguration, isolate); |
- static const V8DOMConfiguration::MethodConfiguration notEnumerableReadOnlyVoidMethodMethodConfiguration = { |
- "notEnumerableReadOnlyVoidMethod", TestObjectV8Internal::notEnumerableReadOnlyVoidMethodMethodCallback, 0, 0 |
- }; |
- V8DOMConfiguration::installMethodCustomSignature(prototypeTemplate, defaultSignature, static_cast<v8::PropertyAttribute>(v8::DontDelete | v8::DontEnum | v8::ReadOnly), notEnumerableReadOnlyVoidMethodMethodConfiguration, isolate); |
if (RuntimeEnabledFeatures::featureNameEnabled()) { |
static const V8DOMConfiguration::MethodConfiguration runtimeEnabledVoidMethodMethodConfiguration = { |
"runtimeEnabledVoidMethod", TestObjectV8Internal::runtimeEnabledVoidMethodMethodCallback, 0, 0 |
@@ -10144,7 +10110,7 @@ static void configureV8TestObjectTemplate(v8::Handle<v8::FunctionTemplate> funct |
static const V8DOMConfiguration::MethodConfiguration unforgeableVoidMethodMethodConfiguration = { |
"unforgeableVoidMethod", TestObjectV8Internal::unforgeableVoidMethodMethodCallback, 0, 0 |
}; |
- V8DOMConfiguration::installMethodCustomSignature(instanceTemplate, defaultSignature, v8::None, unforgeableVoidMethodMethodConfiguration, isolate); |
+ V8DOMConfiguration::installMethodCustomSignature(instanceTemplate, defaultSignature, static_cast<v8::PropertyAttribute>(v8::DontDelete | v8::ReadOnly), unforgeableVoidMethodMethodConfiguration, isolate); |
functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "staticStringAttribute"), TestObjectV8Internal::staticStringAttributeAttributeGetterCallback, TestObjectV8Internal::staticStringAttributeAttributeSetterCallback, v8::External::New(isolate, 0), static_cast<v8::PropertyAttribute>(v8::None), v8::Handle<v8::AccessorSignature>(), static_cast<v8::AccessControl>(v8::DEFAULT)); |
functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "staticLongAttribute"), TestObjectV8Internal::staticLongAttributeAttributeGetterCallback, TestObjectV8Internal::staticLongAttributeAttributeSetterCallback, v8::External::New(isolate, 0), static_cast<v8::PropertyAttribute>(v8::None), v8::Handle<v8::AccessorSignature>(), static_cast<v8::AccessControl>(v8::DEFAULT)); |