Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Side by Side Diff: Source/bindings/tests/results/core/V8TestObject.cpp

Issue 608853008: Canvas2D Performance: fix the bottleneck of hasInstance in JS binding -- TypeChecking Interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update code according to Jens's suggestions Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "bindings/core/v8/BindingSecurity.h" 10 #include "bindings/core/v8/BindingSecurity.h"
(...skipping 9642 matching lines...) Expand 10 before | Expand all | Expand 10 after
9653 V8ThrowException::throwException(createMinimumArityTypeErrorForMethod("t ypeCheckingInterfaceVoidMethodTestInterfaceEmptyArg", "TestObject", 1, info.Leng th(), info.GetIsolate()), info.GetIsolate()); 9653 V8ThrowException::throwException(createMinimumArityTypeErrorForMethod("t ypeCheckingInterfaceVoidMethodTestInterfaceEmptyArg", "TestObject", 1, info.Leng th(), info.GetIsolate()), info.GetIsolate());
9654 return; 9654 return;
9655 } 9655 }
9656 TestObject* impl = V8TestObject::toImpl(info.Holder()); 9656 TestObject* impl = V8TestObject::toImpl(info.Holder());
9657 TestInterfaceEmpty* testInterfaceEmptyArg; 9657 TestInterfaceEmpty* testInterfaceEmptyArg;
9658 { 9658 {
9659 if (info.Length() > 0 && !V8TestInterfaceEmpty::hasInstance(info[0], inf o.GetIsolate())) { 9659 if (info.Length() > 0 && !V8TestInterfaceEmpty::hasInstance(info[0], inf o.GetIsolate())) {
9660 V8ThrowException::throwTypeError(ExceptionMessages::failedToExecute( "typeCheckingInterfaceVoidMethodTestInterfaceEmptyArg", "TestObject", "parameter 1 is not of type 'TestInterfaceEmpty'."), info.GetIsolate()); 9660 V8ThrowException::throwTypeError(ExceptionMessages::failedToExecute( "typeCheckingInterfaceVoidMethodTestInterfaceEmptyArg", "TestObject", "parameter 1 is not of type 'TestInterfaceEmpty'."), info.GetIsolate());
9661 return; 9661 return;
9662 } 9662 }
9663 testInterfaceEmptyArg = V8TestInterfaceEmpty::toImplWithTypeCheck(info.G etIsolate(), info[0]); 9663 testInterfaceEmptyArg = V8TestInterfaceEmpty::toImpl(v8::Handle<v8::Obje ct>::Cast(info[0]));
9664 } 9664 }
9665 impl->typeCheckingInterfaceVoidMethodTestInterfaceEmptyArg(testInterfaceEmpt yArg); 9665 impl->typeCheckingInterfaceVoidMethodTestInterfaceEmptyArg(testInterfaceEmpt yArg);
9666 } 9666 }
9667 9667
9668 static void typeCheckingInterfaceVoidMethodTestInterfaceEmptyArgMethodCallback(c onst v8::FunctionCallbackInfo<v8::Value>& info) 9668 static void typeCheckingInterfaceVoidMethodTestInterfaceEmptyArgMethodCallback(c onst v8::FunctionCallbackInfo<v8::Value>& info)
9669 { 9669 {
9670 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); 9670 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod");
9671 TestObjectV8Internal::typeCheckingInterfaceVoidMethodTestInterfaceEmptyArgMe thod(info); 9671 TestObjectV8Internal::typeCheckingInterfaceVoidMethodTestInterfaceEmptyArgMe thod(info);
9672 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 9672 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
9673 } 9673 }
(...skipping 16 matching lines...) Expand all
9690 impl->typeCheckingInterfaceVoidMethodTestInterfaceEmptyVariadicArg(testInter faceEmptyArg); 9690 impl->typeCheckingInterfaceVoidMethodTestInterfaceEmptyVariadicArg(testInter faceEmptyArg);
9691 } 9691 }
9692 9692
9693 static void typeCheckingInterfaceVoidMethodTestInterfaceEmptyVariadicArgMethodCa llback(const v8::FunctionCallbackInfo<v8::Value>& info) 9693 static void typeCheckingInterfaceVoidMethodTestInterfaceEmptyVariadicArgMethodCa llback(const v8::FunctionCallbackInfo<v8::Value>& info)
9694 { 9694 {
9695 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); 9695 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod");
9696 TestObjectV8Internal::typeCheckingInterfaceVoidMethodTestInterfaceEmptyVaria dicArgMethod(info); 9696 TestObjectV8Internal::typeCheckingInterfaceVoidMethodTestInterfaceEmptyVaria dicArgMethod(info);
9697 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 9697 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
9698 } 9698 }
9699 9699
9700 static void useToImpl4ArgumentsCheckingIfPossibleWithOptionalArgMethod(const v8: :FunctionCallbackInfo<v8::Value>& info)
9701 {
9702 if (UNLIKELY(info.Length() < 1)) {
9703 V8ThrowException::throwException(createMinimumArityTypeErrorForMethod("u seToImpl4ArgumentsCheckingIfPossibleWithOptionalArg", "TestObject", 1, info.Leng th(), info.GetIsolate()), info.GetIsolate());
9704 return;
9705 }
9706 TestObject* impl = V8TestObject::toImpl(info.Holder());
9707 Node* node1;
9708 Node* node2;
9709 {
9710 if (info.Length() > 0 && !V8Node::hasInstance(info[0], info.GetIsolate() )) {
9711 V8ThrowException::throwTypeError(ExceptionMessages::failedToExecute( "useToImpl4ArgumentsCheckingIfPossibleWithOptionalArg", "TestObject", "parameter 1 is not of type 'Node'."), info.GetIsolate());
9712 return;
9713 }
9714 node1 = V8Node::toImpl(v8::Handle<v8::Object>::Cast(info[0]));
9715 if (UNLIKELY(info.Length() <= 1)) {
9716 impl->useToImpl4ArgumentsCheckingIfPossibleWithOptionalArg(node1);
9717 return;
9718 }
9719 if (info.Length() > 1 && !V8Node::hasInstance(info[1], info.GetIsolate() )) {
9720 V8ThrowException::throwTypeError(ExceptionMessages::failedToExecute( "useToImpl4ArgumentsCheckingIfPossibleWithOptionalArg", "TestObject", "parameter 2 is not of type 'Node'."), info.GetIsolate());
9721 return;
9722 }
9723 node2 = V8Node::toImpl(v8::Handle<v8::Object>::Cast(info[1]));
9724 }
9725 impl->useToImpl4ArgumentsCheckingIfPossibleWithOptionalArg(node1, node2);
9726 }
9727
9728 static void useToImpl4ArgumentsCheckingIfPossibleWithOptionalArgMethodCallback(c onst v8::FunctionCallbackInfo<v8::Value>& info)
9729 {
9730 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod");
9731 TestObjectV8Internal::useToImpl4ArgumentsCheckingIfPossibleWithOptionalArgMe thod(info);
9732 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
9733 }
9734
9735 static void useToImpl4ArgumentsCheckingIfPossibleWithNullableArgMethod(const v8: :FunctionCallbackInfo<v8::Value>& info)
9736 {
9737 if (UNLIKELY(info.Length() < 2)) {
9738 V8ThrowException::throwException(createMinimumArityTypeErrorForMethod("u seToImpl4ArgumentsCheckingIfPossibleWithNullableArg", "TestObject", 2, info.Leng th(), info.GetIsolate()), info.GetIsolate());
9739 return;
9740 }
9741 TestObject* impl = V8TestObject::toImpl(info.Holder());
9742 Node* node1;
9743 Node* node2;
9744 {
9745 if (info.Length() > 0 && !V8Node::hasInstance(info[0], info.GetIsolate() )) {
9746 V8ThrowException::throwTypeError(ExceptionMessages::failedToExecute( "useToImpl4ArgumentsCheckingIfPossibleWithNullableArg", "TestObject", "parameter 1 is not of type 'Node'."), info.GetIsolate());
9747 return;
9748 }
9749 node1 = V8Node::toImpl(v8::Handle<v8::Object>::Cast(info[0]));
9750 if (info.Length() > 1 && !isUndefinedOrNull(info[1]) && !V8Node::hasInst ance(info[1], info.GetIsolate())) {
9751 V8ThrowException::throwTypeError(ExceptionMessages::failedToExecute( "useToImpl4ArgumentsCheckingIfPossibleWithNullableArg", "TestObject", "parameter 2 is not of type 'Node'."), info.GetIsolate());
9752 return;
9753 }
9754 node2 = V8Node::toImplWithTypeCheck(info.GetIsolate(), info[1]);
9755 }
9756 impl->useToImpl4ArgumentsCheckingIfPossibleWithNullableArg(node1, node2);
9757 }
9758
9759 static void useToImpl4ArgumentsCheckingIfPossibleWithNullableArgMethodCallback(c onst v8::FunctionCallbackInfo<v8::Value>& info)
9760 {
9761 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod");
9762 TestObjectV8Internal::useToImpl4ArgumentsCheckingIfPossibleWithNullableArgMe thod(info);
9763 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
9764 }
9765
9766 static void useToImpl4ArgumentsCheckingIfPossibleWithUndefinedArgMethod(const v8 ::FunctionCallbackInfo<v8::Value>& info)
9767 {
9768 if (UNLIKELY(info.Length() < 1)) {
9769 V8ThrowException::throwException(createMinimumArityTypeErrorForMethod("u seToImpl4ArgumentsCheckingIfPossibleWithUndefinedArg", "TestObject", 1, info.Len gth(), info.GetIsolate()), info.GetIsolate());
9770 return;
9771 }
9772 TestObject* impl = V8TestObject::toImpl(info.Holder());
9773 Node* node1;
9774 Node* node2;
9775 {
9776 if (info.Length() > 0 && !V8Node::hasInstance(info[0], info.GetIsolate() )) {
9777 V8ThrowException::throwTypeError(ExceptionMessages::failedToExecute( "useToImpl4ArgumentsCheckingIfPossibleWithUndefinedArg", "TestObject", "paramete r 1 is not of type 'Node'."), info.GetIsolate());
9778 return;
9779 }
9780 node1 = V8Node::toImpl(v8::Handle<v8::Object>::Cast(info[0]));
9781 if (info.Length() > 1 && !V8Node::hasInstance(info[1], info.GetIsolate() )) {
9782 V8ThrowException::throwTypeError(ExceptionMessages::failedToExecute( "useToImpl4ArgumentsCheckingIfPossibleWithUndefinedArg", "TestObject", "paramete r 2 is not of type 'Node'."), info.GetIsolate());
9783 return;
9784 }
9785 node2 = V8Node::toImplWithTypeCheck(info.GetIsolate(), info[1]);
9786 }
9787 impl->useToImpl4ArgumentsCheckingIfPossibleWithUndefinedArg(node1, node2);
9788 }
9789
9790 static void useToImpl4ArgumentsCheckingIfPossibleWithUndefinedArgMethodCallback( const v8::FunctionCallbackInfo<v8::Value>& info)
9791 {
9792 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod");
9793 TestObjectV8Internal::useToImpl4ArgumentsCheckingIfPossibleWithUndefinedArgM ethod(info);
9794 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
9795 }
9796
9700 static void typeCheckingUnrestrictedVoidMethodFloatArgDoubleArgMethod(const v8:: FunctionCallbackInfo<v8::Value>& info) 9797 static void typeCheckingUnrestrictedVoidMethodFloatArgDoubleArgMethod(const v8:: FunctionCallbackInfo<v8::Value>& info)
9701 { 9798 {
9702 ExceptionState exceptionState(ExceptionState::ExecutionContext, "typeCheckin gUnrestrictedVoidMethodFloatArgDoubleArg", "TestObject", info.Holder(), info.Get Isolate()); 9799 ExceptionState exceptionState(ExceptionState::ExecutionContext, "typeCheckin gUnrestrictedVoidMethodFloatArgDoubleArg", "TestObject", info.Holder(), info.Get Isolate());
9703 if (UNLIKELY(info.Length() < 2)) { 9800 if (UNLIKELY(info.Length() < 2)) {
9704 setMinimumArityTypeError(exceptionState, 2, info.Length()); 9801 setMinimumArityTypeError(exceptionState, 2, info.Length());
9705 exceptionState.throwIfNeeded(); 9802 exceptionState.throwIfNeeded();
9706 return; 9803 return;
9707 } 9804 }
9708 TestObject* impl = V8TestObject::toImpl(info.Holder()); 9805 TestObject* impl = V8TestObject::toImpl(info.Holder());
9709 float floatArg; 9806 float floatArg;
(...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after
10365 {"callWithExecutionContextRaisesExceptionVoidMethodLongArg", TestObjectV8Int ernal::callWithExecutionContextRaisesExceptionVoidMethodLongArgMethodCallback, 0 , 1, V8DOMConfiguration::ExposedToAllScripts}, 10462 {"callWithExecutionContextRaisesExceptionVoidMethodLongArg", TestObjectV8Int ernal::callWithExecutionContextRaisesExceptionVoidMethodLongArgMethodCallback, 0 , 1, V8DOMConfiguration::ExposedToAllScripts},
10366 {"partiallyRuntimeEnabledOverloadedVoidMethod", TestObjectV8Internal::partia llyRuntimeEnabledOverloadedVoidMethodMethodCallback, 0, 1, V8DOMConfiguration::E xposedToAllScripts}, 10463 {"partiallyRuntimeEnabledOverloadedVoidMethod", TestObjectV8Internal::partia llyRuntimeEnabledOverloadedVoidMethodMethodCallback, 0, 1, V8DOMConfiguration::E xposedToAllScripts},
10367 {"treatReturnedNullStringAsNullStringMethod", TestObjectV8Internal::treatRet urnedNullStringAsNullStringMethodMethodCallback, 0, 0, V8DOMConfiguration::Expos edToAllScripts}, 10464 {"treatReturnedNullStringAsNullStringMethod", TestObjectV8Internal::treatRet urnedNullStringAsNullStringMethodMethodCallback, 0, 0, V8DOMConfiguration::Expos edToAllScripts},
10368 {"treatReturnedNullStringAsUndefinedStringMethod", TestObjectV8Internal::tre atReturnedNullStringAsUndefinedStringMethodMethodCallback, 0, 0, V8DOMConfigurat ion::ExposedToAllScripts}, 10465 {"treatReturnedNullStringAsUndefinedStringMethod", TestObjectV8Internal::tre atReturnedNullStringAsUndefinedStringMethodMethodCallback, 0, 0, V8DOMConfigurat ion::ExposedToAllScripts},
10369 {"treatReturnedNullStringAsNullByteStringMethod", TestObjectV8Internal::trea tReturnedNullStringAsNullByteStringMethodMethodCallback, 0, 0, V8DOMConfiguratio n::ExposedToAllScripts}, 10466 {"treatReturnedNullStringAsNullByteStringMethod", TestObjectV8Internal::trea tReturnedNullStringAsNullByteStringMethodMethodCallback, 0, 0, V8DOMConfiguratio n::ExposedToAllScripts},
10370 {"treatReturnedNullStringAsUndefinedByteStringMethod", TestObjectV8Internal: :treatReturnedNullStringAsUndefinedByteStringMethodMethodCallback, 0, 0, V8DOMCo nfiguration::ExposedToAllScripts}, 10467 {"treatReturnedNullStringAsUndefinedByteStringMethod", TestObjectV8Internal: :treatReturnedNullStringAsUndefinedByteStringMethodMethodCallback, 0, 0, V8DOMCo nfiguration::ExposedToAllScripts},
10371 {"treatReturnedNullStringAsNullScalarValueStringMethod", TestObjectV8Interna l::treatReturnedNullStringAsNullScalarValueStringMethodMethodCallback, 0, 0, V8D OMConfiguration::ExposedToAllScripts}, 10468 {"treatReturnedNullStringAsNullScalarValueStringMethod", TestObjectV8Interna l::treatReturnedNullStringAsNullScalarValueStringMethodMethodCallback, 0, 0, V8D OMConfiguration::ExposedToAllScripts},
10372 {"treatReturnedNullStringAsUndefinedScalarValueStringMethod", TestObjectV8In ternal::treatReturnedNullStringAsUndefinedScalarValueStringMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, 10469 {"treatReturnedNullStringAsUndefinedScalarValueStringMethod", TestObjectV8In ternal::treatReturnedNullStringAsUndefinedScalarValueStringMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts},
10373 {"typeCheckingInterfaceVoidMethodTestInterfaceEmptyArg", TestObjectV8Interna l::typeCheckingInterfaceVoidMethodTestInterfaceEmptyArgMethodCallback, 0, 1, V8D OMConfiguration::ExposedToAllScripts}, 10470 {"typeCheckingInterfaceVoidMethodTestInterfaceEmptyArg", TestObjectV8Interna l::typeCheckingInterfaceVoidMethodTestInterfaceEmptyArgMethodCallback, 0, 1, V8D OMConfiguration::ExposedToAllScripts},
10374 {"typeCheckingInterfaceVoidMethodTestInterfaceEmptyVariadicArg", TestObjectV 8Internal::typeCheckingInterfaceVoidMethodTestInterfaceEmptyVariadicArgMethodCal lback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, 10471 {"typeCheckingInterfaceVoidMethodTestInterfaceEmptyVariadicArg", TestObjectV 8Internal::typeCheckingInterfaceVoidMethodTestInterfaceEmptyVariadicArgMethodCal lback, 0, 0, V8DOMConfiguration::ExposedToAllScripts},
10472 {"useToImpl4ArgumentsCheckingIfPossibleWithOptionalArg", TestObjectV8Interna l::useToImpl4ArgumentsCheckingIfPossibleWithOptionalArgMethodCallback, 0, 1, V8D OMConfiguration::ExposedToAllScripts},
10473 {"useToImpl4ArgumentsCheckingIfPossibleWithNullableArg", TestObjectV8Interna l::useToImpl4ArgumentsCheckingIfPossibleWithNullableArgMethodCallback, 0, 2, V8D OMConfiguration::ExposedToAllScripts},
10474 {"useToImpl4ArgumentsCheckingIfPossibleWithUndefinedArg", TestObjectV8Intern al::useToImpl4ArgumentsCheckingIfPossibleWithUndefinedArgMethodCallback, 0, 1, V 8DOMConfiguration::ExposedToAllScripts},
10375 {"typeCheckingUnrestrictedVoidMethodFloatArgDoubleArg", TestObjectV8Internal ::typeCheckingUnrestrictedVoidMethodFloatArgDoubleArgMethodCallback, 0, 2, V8DOM Configuration::ExposedToAllScripts}, 10475 {"typeCheckingUnrestrictedVoidMethodFloatArgDoubleArg", TestObjectV8Internal ::typeCheckingUnrestrictedVoidMethodFloatArgDoubleArgMethodCallback, 0, 2, V8DOM Configuration::ExposedToAllScripts},
10376 {"voidMethodTestInterfaceGarbageCollectedSequenceArg", TestObjectV8Internal: :voidMethodTestInterfaceGarbageCollectedSequenceArgMethodCallback, 0, 1, V8DOMCo nfiguration::ExposedToAllScripts}, 10476 {"voidMethodTestInterfaceGarbageCollectedSequenceArg", TestObjectV8Internal: :voidMethodTestInterfaceGarbageCollectedSequenceArgMethodCallback, 0, 1, V8DOMCo nfiguration::ExposedToAllScripts},
10377 {"voidMethodTestInterfaceGarbageCollectedArrayArg", TestObjectV8Internal::vo idMethodTestInterfaceGarbageCollectedArrayArgMethodCallback, 0, 1, V8DOMConfigur ation::ExposedToAllScripts}, 10477 {"voidMethodTestInterfaceGarbageCollectedArrayArg", TestObjectV8Internal::vo idMethodTestInterfaceGarbageCollectedArrayArgMethodCallback, 0, 1, V8DOMConfigur ation::ExposedToAllScripts},
10378 {"voidMethodTestInterfaceWillBeGarbageCollectedSequenceArg", TestObjectV8Int ernal::voidMethodTestInterfaceWillBeGarbageCollectedSequenceArgMethodCallback, 0 , 1, V8DOMConfiguration::ExposedToAllScripts}, 10478 {"voidMethodTestInterfaceWillBeGarbageCollectedSequenceArg", TestObjectV8Int ernal::voidMethodTestInterfaceWillBeGarbageCollectedSequenceArgMethodCallback, 0 , 1, V8DOMConfiguration::ExposedToAllScripts},
10379 {"voidMethodTestInterfaceWillBeGarbageCollectedArrayArg", TestObjectV8Intern al::voidMethodTestInterfaceWillBeGarbageCollectedArrayArgMethodCallback, 0, 1, V 8DOMConfiguration::ExposedToAllScripts}, 10479 {"voidMethodTestInterfaceWillBeGarbageCollectedArrayArg", TestObjectV8Intern al::voidMethodTestInterfaceWillBeGarbageCollectedArrayArgMethodCallback, 0, 1, V 8DOMConfiguration::ExposedToAllScripts},
10380 {"voidMethodImplementedInPrivateScript", TestObjectV8Internal::voidMethodImp lementedInPrivateScriptMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScr ipts}, 10480 {"voidMethodImplementedInPrivateScript", TestObjectV8Internal::voidMethodImp lementedInPrivateScriptMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScr ipts},
10381 {"shortMethodImplementedInPrivateScript", TestObjectV8Internal::shortMethodI mplementedInPrivateScriptMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllS cripts}, 10481 {"shortMethodImplementedInPrivateScript", TestObjectV8Internal::shortMethodI mplementedInPrivateScriptMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllS cripts},
10382 {"shortMethodWithShortArgumentImplementedInPrivateScript", TestObjectV8Inter nal::shortMethodWithShortArgumentImplementedInPrivateScriptMethodCallback, 0, 1, V8DOMConfiguration::ExposedToAllScripts}, 10482 {"shortMethodWithShortArgumentImplementedInPrivateScript", TestObjectV8Inter nal::shortMethodWithShortArgumentImplementedInPrivateScriptMethodCallback, 0, 1, V8DOMConfiguration::ExposedToAllScripts},
10383 {"stringMethodWithStringArgumentImplementedInPrivateScript", TestObjectV8Int ernal::stringMethodWithStringArgumentImplementedInPrivateScriptMethodCallback, 0 , 1, V8DOMConfiguration::ExposedToAllScripts}, 10483 {"stringMethodWithStringArgumentImplementedInPrivateScript", TestObjectV8Int ernal::stringMethodWithStringArgumentImplementedInPrivateScriptMethodCallback, 0 , 1, V8DOMConfiguration::ExposedToAllScripts},
10384 {"nodeMethodWithNodeArgumentImplementedInPrivateScript", TestObjectV8Interna l::nodeMethodWithNodeArgumentImplementedInPrivateScriptMethodCallback, 0, 1, V8D OMConfiguration::ExposedToAllScripts}, 10484 {"nodeMethodWithNodeArgumentImplementedInPrivateScript", TestObjectV8Interna l::nodeMethodWithNodeArgumentImplementedInPrivateScriptMethodCallback, 0, 1, V8D OMConfiguration::ExposedToAllScripts},
(...skipping 666 matching lines...) Expand 10 before | Expand all | Expand 10 after
11051 return false; 11151 return false;
11052 11152
11053 ScriptState::Scope scope(scriptState); 11153 ScriptState::Scope scope(scriptState);
11054 v8::Handle<v8::Value> holder = toV8(holderImpl, scriptState->context()->Glob al(), scriptState->isolate()); 11154 v8::Handle<v8::Value> holder = toV8(holderImpl, scriptState->context()->Glob al(), scriptState->isolate());
11055 11155
11056 ExceptionState exceptionState(ExceptionState::SetterContext, "enumForPrivate Script", "TestObject", scriptState->context()->Global(), scriptState->isolate()) ; 11156 ExceptionState exceptionState(ExceptionState::SetterContext, "enumForPrivate Script", "TestObject", scriptState->context()->Global(), scriptState->isolate()) ;
11057 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn UserScript, "TestObject", "enumForPrivateScript", holder, v8String(scriptState-> isolate(), cppValue)); 11157 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn UserScript, "TestObject", "enumForPrivateScript", holder, v8String(scriptState-> isolate(), cppValue));
11058 } 11158 }
11059 11159
11060 } // namespace blink 11160 } // namespace blink
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/core/V8TestInterface.cpp ('k') | Source/bindings/tests/results/modules/V8TestInterface5.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698