| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! | 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! |
| 6 | 6 |
| 7 #include "config.h" | 7 #include "config.h" |
| 8 #include "V8TestObject.h" | 8 #include "V8TestObject.h" |
| 9 | 9 |
| 10 #include "HTMLNames.h" | 10 #include "HTMLNames.h" |
| (...skipping 1843 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1854 { | 1854 { |
| 1855 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 1855 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 1856 TestObjectV8Internal::cachedArrayAttributeAttributeSetter(v8Value, info); | 1856 TestObjectV8Internal::cachedArrayAttributeAttributeSetter(v8Value, info); |
| 1857 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 1857 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 1858 } | 1858 } |
| 1859 | 1859 |
| 1860 static void callWithExecutionContextAnyAttributeAttributeGetter(const v8::Proper
tyCallbackInfo<v8::Value>& info) | 1860 static void callWithExecutionContextAnyAttributeAttributeGetter(const v8::Proper
tyCallbackInfo<v8::Value>& info) |
| 1861 { | 1861 { |
| 1862 v8::Handle<v8::Object> holder = info.Holder(); | 1862 v8::Handle<v8::Object> holder = info.Holder(); |
| 1863 TestObject* impl = V8TestObject::toNative(holder); | 1863 TestObject* impl = V8TestObject::toNative(holder); |
| 1864 ExecutionContext* scriptContext = currentExecutionContext(info.GetIsolate())
; | 1864 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); |
| 1865 v8SetReturnValue(info, impl->callWithExecutionContextAnyAttribute(scriptCont
ext).v8Value()); | 1865 v8SetReturnValue(info, impl->callWithExecutionContextAnyAttribute(executionC
ontext).v8Value()); |
| 1866 } | 1866 } |
| 1867 | 1867 |
| 1868 static void callWithExecutionContextAnyAttributeAttributeGetterCallback(v8::Loca
l<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) | 1868 static void callWithExecutionContextAnyAttributeAttributeGetterCallback(v8::Loca
l<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 1869 { | 1869 { |
| 1870 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 1870 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 1871 TestObjectV8Internal::callWithExecutionContextAnyAttributeAttributeGetter(in
fo); | 1871 TestObjectV8Internal::callWithExecutionContextAnyAttributeAttributeGetter(in
fo); |
| 1872 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 1872 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 1873 } | 1873 } |
| 1874 | 1874 |
| 1875 static void callWithExecutionContextAnyAttributeAttributeSetter(v8::Local<v8::Va
lue> v8Value, const v8::PropertyCallbackInfo<void>& info) | 1875 static void callWithExecutionContextAnyAttributeAttributeSetter(v8::Local<v8::Va
lue> v8Value, const v8::PropertyCallbackInfo<void>& info) |
| 1876 { | 1876 { |
| 1877 v8::Handle<v8::Object> holder = info.Holder(); | 1877 v8::Handle<v8::Object> holder = info.Holder(); |
| 1878 TestObject* impl = V8TestObject::toNative(holder); | 1878 TestObject* impl = V8TestObject::toNative(holder); |
| 1879 TONATIVE_VOID(ScriptValue, cppValue, ScriptValue(ScriptState::current(info.G
etIsolate()), v8Value)); | 1879 TONATIVE_VOID(ScriptValue, cppValue, ScriptValue(ScriptState::current(info.G
etIsolate()), v8Value)); |
| 1880 ExecutionContext* scriptContext = currentExecutionContext(info.GetIsolate())
; | 1880 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); |
| 1881 impl->setCallWithExecutionContextAnyAttribute(scriptContext, cppValue); | 1881 impl->setCallWithExecutionContextAnyAttribute(executionContext, cppValue); |
| 1882 } | 1882 } |
| 1883 | 1883 |
| 1884 static void callWithExecutionContextAnyAttributeAttributeSetterCallback(v8::Loca
l<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void
>& info) | 1884 static void callWithExecutionContextAnyAttributeAttributeSetterCallback(v8::Loca
l<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void
>& info) |
| 1885 { | 1885 { |
| 1886 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 1886 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 1887 TestObjectV8Internal::callWithExecutionContextAnyAttributeAttributeSetter(v8
Value, info); | 1887 TestObjectV8Internal::callWithExecutionContextAnyAttributeAttributeSetter(v8
Value, info); |
| 1888 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 1888 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 1889 } | 1889 } |
| 1890 | 1890 |
| 1891 static void callWithScriptStateAnyAttributeAttributeGetter(const v8::PropertyCal
lbackInfo<v8::Value>& info) | 1891 static void callWithScriptStateAnyAttributeAttributeGetter(const v8::PropertyCal
lbackInfo<v8::Value>& info) |
| (...skipping 23 matching lines...) Expand all Loading... |
| 1915 { | 1915 { |
| 1916 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 1916 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 1917 TestObjectV8Internal::callWithScriptStateAnyAttributeAttributeSetter(v8Value
, info); | 1917 TestObjectV8Internal::callWithScriptStateAnyAttributeAttributeSetter(v8Value
, info); |
| 1918 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 1918 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 1919 } | 1919 } |
| 1920 | 1920 |
| 1921 static void callWithExecutionContextAndScriptStateAnyAttributeAttributeGetter(co
nst v8::PropertyCallbackInfo<v8::Value>& info) | 1921 static void callWithExecutionContextAndScriptStateAnyAttributeAttributeGetter(co
nst v8::PropertyCallbackInfo<v8::Value>& info) |
| 1922 { | 1922 { |
| 1923 v8::Handle<v8::Object> holder = info.Holder(); | 1923 v8::Handle<v8::Object> holder = info.Holder(); |
| 1924 TestObject* impl = V8TestObject::toNative(holder); | 1924 TestObject* impl = V8TestObject::toNative(holder); |
| 1925 ExecutionContext* scriptContext = currentExecutionContext(info.GetIsolate())
; | 1925 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); |
| 1926 ScriptState* scriptState = ScriptState::current(info.GetIsolate()); | 1926 ScriptState* scriptState = ScriptState::current(info.GetIsolate()); |
| 1927 v8SetReturnValue(info, impl->callWithExecutionContextAndScriptStateAnyAttrib
ute(scriptState, scriptContext).v8Value()); | 1927 v8SetReturnValue(info, impl->callWithExecutionContextAndScriptStateAnyAttrib
ute(scriptState, executionContext).v8Value()); |
| 1928 } | 1928 } |
| 1929 | 1929 |
| 1930 static void callWithExecutionContextAndScriptStateAnyAttributeAttributeGetterCal
lback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) | 1930 static void callWithExecutionContextAndScriptStateAnyAttributeAttributeGetterCal
lback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 1931 { | 1931 { |
| 1932 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 1932 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 1933 TestObjectV8Internal::callWithExecutionContextAndScriptStateAnyAttributeAttr
ibuteGetter(info); | 1933 TestObjectV8Internal::callWithExecutionContextAndScriptStateAnyAttributeAttr
ibuteGetter(info); |
| 1934 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 1934 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 1935 } | 1935 } |
| 1936 | 1936 |
| 1937 static void callWithExecutionContextAndScriptStateAnyAttributeAttributeSetter(v8
::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) | 1937 static void callWithExecutionContextAndScriptStateAnyAttributeAttributeSetter(v8
::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
| 1938 { | 1938 { |
| 1939 v8::Handle<v8::Object> holder = info.Holder(); | 1939 v8::Handle<v8::Object> holder = info.Holder(); |
| 1940 TestObject* impl = V8TestObject::toNative(holder); | 1940 TestObject* impl = V8TestObject::toNative(holder); |
| 1941 TONATIVE_VOID(ScriptValue, cppValue, ScriptValue(ScriptState::current(info.G
etIsolate()), v8Value)); | 1941 TONATIVE_VOID(ScriptValue, cppValue, ScriptValue(ScriptState::current(info.G
etIsolate()), v8Value)); |
| 1942 ExecutionContext* scriptContext = currentExecutionContext(info.GetIsolate())
; | 1942 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); |
| 1943 impl->setCallWithExecutionContextAndScriptStateAnyAttribute(scriptState, scr
iptContext, cppValue); | 1943 impl->setCallWithExecutionContextAndScriptStateAnyAttribute(scriptState, exe
cutionContext, cppValue); |
| 1944 } | 1944 } |
| 1945 | 1945 |
| 1946 static void callWithExecutionContextAndScriptStateAnyAttributeAttributeSetterCal
lback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCal
lbackInfo<void>& info) | 1946 static void callWithExecutionContextAndScriptStateAnyAttributeAttributeSetterCal
lback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCal
lbackInfo<void>& info) |
| 1947 { | 1947 { |
| 1948 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 1948 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 1949 TestObjectV8Internal::callWithExecutionContextAndScriptStateAnyAttributeAttr
ibuteSetter(v8Value, info); | 1949 TestObjectV8Internal::callWithExecutionContextAndScriptStateAnyAttributeAttr
ibuteSetter(v8Value, info); |
| 1950 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 1950 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 1951 } | 1951 } |
| 1952 | 1952 |
| 1953 static void checkSecurityForNodeReadonlyDocumentAttributeAttributeGetter(const v
8::PropertyCallbackInfo<v8::Value>& info) | 1953 static void checkSecurityForNodeReadonlyDocumentAttributeAttributeGetter(const v
8::PropertyCallbackInfo<v8::Value>& info) |
| (...skipping 2053 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4007 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 4007 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 4008 TestObjectV8Internal::setterCallWithExecutionContextStringAttributeAttribute
Getter(info); | 4008 TestObjectV8Internal::setterCallWithExecutionContextStringAttributeAttribute
Getter(info); |
| 4009 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 4009 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 4010 } | 4010 } |
| 4011 | 4011 |
| 4012 static void setterCallWithExecutionContextStringAttributeAttributeSetter(v8::Loc
al<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) | 4012 static void setterCallWithExecutionContextStringAttributeAttributeSetter(v8::Loc
al<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
| 4013 { | 4013 { |
| 4014 v8::Handle<v8::Object> holder = info.Holder(); | 4014 v8::Handle<v8::Object> holder = info.Holder(); |
| 4015 TestObject* impl = V8TestObject::toNative(holder); | 4015 TestObject* impl = V8TestObject::toNative(holder); |
| 4016 TOSTRING_VOID(V8StringResource<>, cppValue, v8Value); | 4016 TOSTRING_VOID(V8StringResource<>, cppValue, v8Value); |
| 4017 ExecutionContext* scriptContext = currentExecutionContext(info.GetIsolate())
; | 4017 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); |
| 4018 impl->setSetterCallWithExecutionContextStringAttribute(scriptContext, cppVal
ue); | 4018 impl->setSetterCallWithExecutionContextStringAttribute(executionContext, cpp
Value); |
| 4019 } | 4019 } |
| 4020 | 4020 |
| 4021 static void setterCallWithExecutionContextStringAttributeAttributeSetterCallback
(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallback
Info<void>& info) | 4021 static void setterCallWithExecutionContextStringAttributeAttributeSetterCallback
(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallback
Info<void>& info) |
| 4022 { | 4022 { |
| 4023 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 4023 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 4024 TestObjectV8Internal::setterCallWithExecutionContextStringAttributeAttribute
Setter(v8Value, info); | 4024 TestObjectV8Internal::setterCallWithExecutionContextStringAttributeAttribute
Setter(v8Value, info); |
| 4025 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 4025 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 4026 } | 4026 } |
| 4027 | 4027 |
| 4028 static void treatNullAsNullStringStringAttributeAttributeGetter(const v8::Proper
tyCallbackInfo<v8::Value>& info) | 4028 static void treatNullAsNullStringStringAttributeAttributeGetter(const v8::Proper
tyCallbackInfo<v8::Value>& info) |
| (...skipping 3838 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7867 Vector<v8::Handle<v8::Value> > loggerArgs = toNativeArguments<v8::Handle
<v8::Value> >(info, 0); | 7867 Vector<v8::Handle<v8::Value> > loggerArgs = toNativeArguments<v8::Handle
<v8::Value> >(info, 0); |
| 7868 contextData->activityLogger()->logMethod("TestObject.activityLoggingAcce
ssForAllWorldsMethod", info.Length(), loggerArgs.data()); | 7868 contextData->activityLogger()->logMethod("TestObject.activityLoggingAcce
ssForAllWorldsMethod", info.Length(), loggerArgs.data()); |
| 7869 } | 7869 } |
| 7870 TestObjectV8Internal::activityLoggingAccessForAllWorldsMethodMethod(info); | 7870 TestObjectV8Internal::activityLoggingAccessForAllWorldsMethodMethod(info); |
| 7871 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 7871 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 7872 } | 7872 } |
| 7873 | 7873 |
| 7874 static void callWithExecutionContextVoidMethodMethod(const v8::FunctionCallbackI
nfo<v8::Value>& info) | 7874 static void callWithExecutionContextVoidMethodMethod(const v8::FunctionCallbackI
nfo<v8::Value>& info) |
| 7875 { | 7875 { |
| 7876 TestObject* impl = V8TestObject::toNative(info.Holder()); | 7876 TestObject* impl = V8TestObject::toNative(info.Holder()); |
| 7877 ExecutionContext* scriptContext = currentExecutionContext(info.GetIsolate())
; | 7877 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); |
| 7878 impl->callWithExecutionContextVoidMethod(scriptContext); | 7878 impl->callWithExecutionContextVoidMethod(executionContext); |
| 7879 } | 7879 } |
| 7880 | 7880 |
| 7881 static void callWithExecutionContextVoidMethodMethodCallback(const v8::FunctionC
allbackInfo<v8::Value>& info) | 7881 static void callWithExecutionContextVoidMethodMethodCallback(const v8::FunctionC
allbackInfo<v8::Value>& info) |
| 7882 { | 7882 { |
| 7883 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); | 7883 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 7884 TestObjectV8Internal::callWithExecutionContextVoidMethodMethod(info); | 7884 TestObjectV8Internal::callWithExecutionContextVoidMethodMethod(info); |
| 7885 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 7885 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 7886 } | 7886 } |
| 7887 | 7887 |
| 7888 static void callWithScriptStateVoidMethodMethod(const v8::FunctionCallbackInfo<v
8::Value>& info) | 7888 static void callWithScriptStateVoidMethodMethod(const v8::FunctionCallbackInfo<v
8::Value>& info) |
| (...skipping 22 matching lines...) Expand all Loading... |
| 7911 { | 7911 { |
| 7912 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); | 7912 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 7913 TestObjectV8Internal::callWithScriptStateLongMethodMethod(info); | 7913 TestObjectV8Internal::callWithScriptStateLongMethodMethod(info); |
| 7914 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 7914 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 7915 } | 7915 } |
| 7916 | 7916 |
| 7917 static void callWithScriptStateExecutionContextVoidMethodMethod(const v8::Functi
onCallbackInfo<v8::Value>& info) | 7917 static void callWithScriptStateExecutionContextVoidMethodMethod(const v8::Functi
onCallbackInfo<v8::Value>& info) |
| 7918 { | 7918 { |
| 7919 TestObject* impl = V8TestObject::toNative(info.Holder()); | 7919 TestObject* impl = V8TestObject::toNative(info.Holder()); |
| 7920 ScriptState* scriptState = ScriptState::current(info.GetIsolate()); | 7920 ScriptState* scriptState = ScriptState::current(info.GetIsolate()); |
| 7921 ExecutionContext* scriptContext = currentExecutionContext(info.GetIsolate())
; | 7921 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); |
| 7922 impl->callWithScriptStateExecutionContextVoidMethod(scriptState, scriptConte
xt); | 7922 impl->callWithScriptStateExecutionContextVoidMethod(scriptState, executionCo
ntext); |
| 7923 } | 7923 } |
| 7924 | 7924 |
| 7925 static void callWithScriptStateExecutionContextVoidMethodMethodCallback(const v8
::FunctionCallbackInfo<v8::Value>& info) | 7925 static void callWithScriptStateExecutionContextVoidMethodMethodCallback(const v8
::FunctionCallbackInfo<v8::Value>& info) |
| 7926 { | 7926 { |
| 7927 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); | 7927 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 7928 TestObjectV8Internal::callWithScriptStateExecutionContextVoidMethodMethod(in
fo); | 7928 TestObjectV8Internal::callWithScriptStateExecutionContextVoidMethodMethod(in
fo); |
| 7929 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 7929 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 7930 } | 7930 } |
| 7931 | 7931 |
| 7932 static void callWithScriptStateScriptArgumentsVoidMethodMethod(const v8::Functio
nCallbackInfo<v8::Value>& info) | 7932 static void callWithScriptStateScriptArgumentsVoidMethodMethod(const v8::Functio
nCallbackInfo<v8::Value>& info) |
| (...skipping 914 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8847 throwMinimumArityTypeError(exceptionState, 1, info.Length()); | 8847 throwMinimumArityTypeError(exceptionState, 1, info.Length()); |
| 8848 return; | 8848 return; |
| 8849 } | 8849 } |
| 8850 TestObject* impl = V8TestObject::toNative(info.Holder()); | 8850 TestObject* impl = V8TestObject::toNative(info.Holder()); |
| 8851 int longArg; | 8851 int longArg; |
| 8852 { | 8852 { |
| 8853 v8::TryCatch block; | 8853 v8::TryCatch block; |
| 8854 V8RethrowTryCatchScope rethrow(block); | 8854 V8RethrowTryCatchScope rethrow(block); |
| 8855 TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(longArg, toInt32(info[0], exceptio
nState), exceptionState); | 8855 TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(longArg, toInt32(info[0], exceptio
nState), exceptionState); |
| 8856 } | 8856 } |
| 8857 ExecutionContext* scriptContext = currentExecutionContext(info.GetIsolate())
; | 8857 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); |
| 8858 impl->callWithExecutionContextRaisesExceptionVoidMethodLongArg(scriptContext
, longArg, exceptionState); | 8858 impl->callWithExecutionContextRaisesExceptionVoidMethodLongArg(executionCont
ext, longArg, exceptionState); |
| 8859 if (exceptionState.hadException()) { | 8859 if (exceptionState.hadException()) { |
| 8860 exceptionState.throwIfNeeded(); | 8860 exceptionState.throwIfNeeded(); |
| 8861 return; | 8861 return; |
| 8862 } | 8862 } |
| 8863 } | 8863 } |
| 8864 | 8864 |
| 8865 static void callWithExecutionContextRaisesExceptionVoidMethodLongArgMethodCallba
ck(const v8::FunctionCallbackInfo<v8::Value>& info) | 8865 static void callWithExecutionContextRaisesExceptionVoidMethodLongArgMethodCallba
ck(const v8::FunctionCallbackInfo<v8::Value>& info) |
| 8866 { | 8866 { |
| 8867 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); | 8867 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 8868 TestObjectV8Internal::callWithExecutionContextRaisesExceptionVoidMethodLongA
rgMethod(info); | 8868 TestObjectV8Internal::callWithExecutionContextRaisesExceptionVoidMethodLongA
rgMethod(info); |
| (...skipping 962 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9831 fromInternalPointer(object)->deref(); | 9831 fromInternalPointer(object)->deref(); |
| 9832 } | 9832 } |
| 9833 | 9833 |
| 9834 template<> | 9834 template<> |
| 9835 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea
tionContext, v8::Isolate* isolate) | 9835 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea
tionContext, v8::Isolate* isolate) |
| 9836 { | 9836 { |
| 9837 return toV8(impl, creationContext, isolate); | 9837 return toV8(impl, creationContext, isolate); |
| 9838 } | 9838 } |
| 9839 | 9839 |
| 9840 } // namespace WebCore | 9840 } // namespace WebCore |
| OLD | NEW |