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

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

Issue 137773002: Cleanup IDL test files (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix SVG Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « Source/bindings/tests/results/V8TestObject.h ('k') | Source/bindings/tests/results/V8TestSVG.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 21 matching lines...) Expand all
32 32
33 #include "config.h" 33 #include "config.h"
34 #include "V8TestObject.h" 34 #include "V8TestObject.h"
35 35
36 #include "HTMLNames.h" 36 #include "HTMLNames.h"
37 #include "RuntimeEnabledFeatures.h" 37 #include "RuntimeEnabledFeatures.h"
38 #include "V8DOMStringList.h" 38 #include "V8DOMStringList.h"
39 #include "V8Document.h" 39 #include "V8Document.h"
40 #include "V8MessagePort.h" 40 #include "V8MessagePort.h"
41 #include "V8Node.h" 41 #include "V8Node.h"
42 #include "V8SVGAnimatedString.h"
43 #include "V8SVGDocument.h"
44 #include "V8SVGPoint.h"
45 #include "V8TestCallbackInterface.h" 42 #include "V8TestCallbackInterface.h"
46 #include "V8TestInterface.h" 43 #include "V8TestInterface.h"
47 #include "V8TestNode.h" 44 #include "V8TestNode.h"
48 #include "V8TestObjectectA.h" 45 #include "V8TestObjectectA.h"
49 #include "V8TestObjectectB.h" 46 #include "V8TestObjectectB.h"
50 #include "V8TestObjectectC.h" 47 #include "V8TestObjectectC.h"
51 #include "V8TestSubObj.h" 48 #include "V8TestSubObj.h"
52 #include "bindings/v8/BindingSecurity.h" 49 #include "bindings/v8/BindingSecurity.h"
53 #include "bindings/v8/Dictionary.h" 50 #include "bindings/v8/Dictionary.h"
54 #include "bindings/v8/ExceptionState.h" 51 #include "bindings/v8/ExceptionState.h"
55 #include "bindings/v8/ScriptState.h" 52 #include "bindings/v8/ScriptState.h"
56 #include "bindings/v8/ScriptValue.h" 53 #include "bindings/v8/ScriptValue.h"
57 #include "bindings/v8/SerializedScriptValue.h" 54 #include "bindings/v8/SerializedScriptValue.h"
58 #include "bindings/v8/V8AbstractEventListener.h" 55 #include "bindings/v8/V8AbstractEventListener.h"
59 #include "bindings/v8/V8DOMActivityLogger.h" 56 #include "bindings/v8/V8DOMActivityLogger.h"
60 #include "bindings/v8/V8DOMConfiguration.h" 57 #include "bindings/v8/V8DOMConfiguration.h"
61 #include "bindings/v8/V8EventListenerList.h" 58 #include "bindings/v8/V8EventListenerList.h"
62 #include "bindings/v8/V8HiddenPropertyName.h" 59 #include "bindings/v8/V8HiddenPropertyName.h"
63 #include "bindings/v8/V8ObjectConstructor.h" 60 #include "bindings/v8/V8ObjectConstructor.h"
64 #include "bindings/v8/custom/V8Float32ArrayCustom.h" 61 #include "bindings/v8/custom/V8Float32ArrayCustom.h"
65 #include "core/css/MediaQueryListListener.h" 62 #include "core/css/MediaQueryListListener.h"
66 #include "core/dom/ContextFeatures.h" 63 #include "core/dom/ContextFeatures.h"
67 #include "core/dom/Document.h" 64 #include "core/dom/Document.h"
68 #include "core/dom/custom/CustomElementCallbackDispatcher.h" 65 #include "core/dom/custom/CustomElementCallbackDispatcher.h"
69 #include "core/frame/DOMWindow.h" 66 #include "core/frame/DOMWindow.h"
70 #include "core/frame/UseCounter.h" 67 #include "core/frame/UseCounter.h"
71 #include "core/svg/properties/SVGPropertyTearOff.h"
72 #include "core/svg/properties/SVGStaticPropertyTearOff.h"
73 #include "platform/TraceEvent.h" 68 #include "platform/TraceEvent.h"
74 #include "wtf/GetPtr.h" 69 #include "wtf/GetPtr.h"
75 #include "wtf/RefPtr.h" 70 #include "wtf/RefPtr.h"
76 71
77 namespace WebCore { 72 namespace WebCore {
78 73
79 static void initializeScriptWrappableForInterface(TestObj* object) 74 static void initializeScriptWrappableForInterface(TestObj* object)
80 { 75 {
81 if (ScriptWrappable::wrapperCanBeStoredInObject(object)) 76 if (ScriptWrappable::wrapperCanBeStoredInObject(object))
82 ScriptWrappable::setTypeInfoInObject(object, &V8TestObject::wrapperTypeI nfo); 77 ScriptWrappable::setTypeInfoInObject(object, &V8TestObject::wrapperTypeI nfo);
(...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after
847 } 842 }
848 843
849 static void reflectedCustomURLAttrAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) 844 static void reflectedCustomURLAttrAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info)
850 { 845 {
851 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); 846 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
852 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; 847 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope;
853 TestObjV8Internal::reflectedCustomURLAttrAttributeSetter(jsValue, info); 848 TestObjV8Internal::reflectedCustomURLAttrAttributeSetter(jsValue, info);
854 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 849 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
855 } 850 }
856 851
857 static void animatedReflectedAttributeAttributeGetter(const v8::PropertyCallback Info<v8::Value>& info)
858 {
859 TestObj* imp = V8TestObject::toNative(info.Holder());
860 v8SetReturnValueFast(info, imp->getAttribute(HTMLNames::animatedreflectedatt ributeAttr), imp);
861 }
862
863 static void animatedReflectedAttributeAttributeGetterCallback(v8::Local<v8::Stri ng>, const v8::PropertyCallbackInfo<v8::Value>& info)
864 {
865 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
866 TestObjV8Internal::animatedReflectedAttributeAttributeGetter(info);
867 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
868 }
869
870 static void animatedReflectedAttributeAttributeSetter(v8::Local<v8::Value> jsVal ue, const v8::PropertyCallbackInfo<void>& info)
871 {
872 TestObj* imp = V8TestObject::toNative(info.Holder());
873 V8TRYCATCH_VOID(SVGAnimatedString*, cppValue, V8SVGAnimatedString::hasInstan ce(jsValue, info.GetIsolate(), worldType(info.GetIsolate())) ? V8SVGAnimatedStri ng::toNative(v8::Handle<v8::Object>::Cast(jsValue)) : 0);
874 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope;
875 imp->setAttribute(HTMLNames::animatedreflectedattributeAttr, WTF::getPtr(cpp Value));
876 }
877
878 static void animatedReflectedAttributeAttributeSetterCallback(v8::Local<v8::Stri ng>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info)
879 {
880 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
881 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope;
882 TestObjV8Internal::animatedReflectedAttributeAttributeSetter(jsValue, info);
883 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
884 }
885
886 static void limitedToOnlyOneAttributeAttributeGetter(const v8::PropertyCallbackI nfo<v8::Value>& info) 852 static void limitedToOnlyOneAttributeAttributeGetter(const v8::PropertyCallbackI nfo<v8::Value>& info)
887 { 853 {
888 TestObj* imp = V8TestObject::toNative(info.Holder()); 854 TestObj* imp = V8TestObject::toNative(info.Holder());
889 String resultValue = imp->fastGetAttribute(HTMLNames::limitedtoonlyoneattrib uteAttr); 855 String resultValue = imp->fastGetAttribute(HTMLNames::limitedtoonlyoneattrib uteAttr);
890 if (resultValue.isEmpty()) { 856 if (resultValue.isEmpty()) {
891 ; 857 ;
892 } else if (equalIgnoringCase(resultValue, "unique")) { 858 } else if (equalIgnoringCase(resultValue, "unique")) {
893 resultValue = "unique"; 859 resultValue = "unique";
894 } else { 860 } else {
895 resultValue = ""; 861 resultValue = "";
(...skipping 1346 matching lines...) Expand 10 before | Expand all | Expand 10 after
2242 v8SetReturnValueFast(info, imp->contentDocument(), imp); 2208 v8SetReturnValueFast(info, imp->contentDocument(), imp);
2243 } 2209 }
2244 2210
2245 static void contentDocumentAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) 2211 static void contentDocumentAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
2246 { 2212 {
2247 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); 2213 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
2248 TestObjV8Internal::contentDocumentAttributeGetter(info); 2214 TestObjV8Internal::contentDocumentAttributeGetter(info);
2249 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 2215 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
2250 } 2216 }
2251 2217
2252 static void mutablePointAttributeGetter(const v8::PropertyCallbackInfo<v8::Value >& info)
2253 {
2254 TestObj* imp = V8TestObject::toNative(info.Holder());
2255 v8SetReturnValueFast(info, WTF::getPtr(SVGStaticPropertyTearOff<TestObj, SVG Point>::create(imp, imp->mutablePoint(), &TestObj::updateMutablePoint)), imp);
2256 }
2257
2258 static void mutablePointAttributeGetterCallback(v8::Local<v8::String>, const v8: :PropertyCallbackInfo<v8::Value>& info)
2259 {
2260 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
2261 TestObjV8Internal::mutablePointAttributeGetter(info);
2262 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
2263 }
2264
2265 static void mutablePointAttributeSetter(v8::Local<v8::Value> jsValue, const v8:: PropertyCallbackInfo<void>& info)
2266 {
2267 ExceptionState exceptionState(ExceptionState::SetterContext, "mutablePoint", "TestObject", info.Holder(), info.GetIsolate());
2268 TestObj* imp = V8TestObject::toNative(info.Holder());
2269 V8TRYCATCH_VOID(RefPtr<SVGPropertyTearOff<SVGPoint> >, cppValue, V8SVGPoint: :hasInstance(jsValue, info.GetIsolate(), worldType(info.GetIsolate())) ? V8SVGPo int::toNative(v8::Handle<v8::Object>::Cast(jsValue)) : 0);
2270 if (!WTF::getPtr(cppValue)) {
2271 exceptionState.throwTypeError("The provided value is not of type 'SVGPoi nt'.");
2272 exceptionState.throwIfNeeded();
2273 return;
2274 }
2275 imp->setMutablePoint(WTF::getPtr(cppValue)->propertyReference());
2276 }
2277
2278 static void mutablePointAttributeSetterCallback(v8::Local<v8::String>, v8::Local <v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info)
2279 {
2280 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
2281 TestObjV8Internal::mutablePointAttributeSetter(jsValue, info);
2282 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
2283 }
2284
2285 static void immutablePointAttributeGetter(const v8::PropertyCallbackInfo<v8::Val ue>& info)
2286 {
2287 TestObj* imp = V8TestObject::toNative(info.Holder());
2288 v8SetReturnValueFast(info, WTF::getPtr(SVGPropertyTearOff<SVGPoint>::create( imp->immutablePoint())), imp);
2289 }
2290
2291 static void immutablePointAttributeGetterCallback(v8::Local<v8::String>, const v 8::PropertyCallbackInfo<v8::Value>& info)
2292 {
2293 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
2294 TestObjV8Internal::immutablePointAttributeGetter(info);
2295 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
2296 }
2297
2298 static void immutablePointAttributeSetter(v8::Local<v8::Value> jsValue, const v8 ::PropertyCallbackInfo<void>& info)
2299 {
2300 ExceptionState exceptionState(ExceptionState::SetterContext, "immutablePoint ", "TestObject", info.Holder(), info.GetIsolate());
2301 TestObj* imp = V8TestObject::toNative(info.Holder());
2302 V8TRYCATCH_VOID(RefPtr<SVGPropertyTearOff<SVGPoint> >, cppValue, V8SVGPoint: :hasInstance(jsValue, info.GetIsolate(), worldType(info.GetIsolate())) ? V8SVGPo int::toNative(v8::Handle<v8::Object>::Cast(jsValue)) : 0);
2303 if (!WTF::getPtr(cppValue)) {
2304 exceptionState.throwTypeError("The provided value is not of type 'SVGPoi nt'.");
2305 exceptionState.throwIfNeeded();
2306 return;
2307 }
2308 imp->setImmutablePoint(WTF::getPtr(cppValue)->propertyReference());
2309 }
2310
2311 static void immutablePointAttributeSetterCallback(v8::Local<v8::String>, v8::Loc al<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info)
2312 {
2313 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
2314 TestObjV8Internal::immutablePointAttributeSetter(jsValue, info);
2315 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
2316 }
2317
2318 static void strawberryAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info) 2218 static void strawberryAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
2319 { 2219 {
2320 TestObj* imp = V8TestObject::toNative(info.Holder()); 2220 TestObj* imp = V8TestObject::toNative(info.Holder());
2321 v8SetReturnValueInt(info, imp->blueberry()); 2221 v8SetReturnValueInt(info, imp->blueberry());
2322 } 2222 }
2323 2223
2324 static void strawberryAttributeGetterCallback(v8::Local<v8::String>, const v8::P ropertyCallbackInfo<v8::Value>& info) 2224 static void strawberryAttributeGetterCallback(v8::Local<v8::String>, const v8::P ropertyCallbackInfo<v8::Value>& info)
2325 { 2225 {
2326 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); 2226 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
2327 TestObjV8Internal::strawberryAttributeGetter(info); 2227 TestObjV8Internal::strawberryAttributeGetter(info);
(...skipping 2406 matching lines...) Expand 10 before | Expand all | Expand 10 after
4734 v8SetReturnValue(info, result.release()); 4634 v8SetReturnValue(info, result.release());
4735 } 4635 }
4736 4636
4737 static void domStringListFunctionMethodCallback(const v8::FunctionCallbackInfo<v 8::Value>& info) 4637 static void domStringListFunctionMethodCallback(const v8::FunctionCallbackInfo<v 8::Value>& info)
4738 { 4638 {
4739 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 4639 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
4740 TestObjV8Internal::domStringListFunctionMethod(info); 4640 TestObjV8Internal::domStringListFunctionMethod(info);
4741 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 4641 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
4742 } 4642 }
4743 4643
4744 static void getSVGDocumentMethod(const v8::FunctionCallbackInfo<v8::Value>& info )
4745 {
4746 ExceptionState exceptionState(ExceptionState::ExecutionContext, "getSVGDocum ent", "TestObject", info.Holder(), info.GetIsolate());
4747 TestObj* imp = V8TestObject::toNative(info.Holder());
4748 if (!BindingSecurity::shouldAllowAccessToNode(imp->getSVGDocument(exceptionS tate), exceptionState)) {
4749 v8SetReturnValueNull(info);
4750 exceptionState.throwIfNeeded();
4751 return;
4752 }
4753 RefPtr<SVGDocument> result = imp->getSVGDocument(exceptionState);
4754 if (exceptionState.throwIfNeeded())
4755 return;
4756 v8SetReturnValue(info, result.release());
4757 }
4758
4759 static void getSVGDocumentMethodCallback(const v8::FunctionCallbackInfo<v8::Valu e>& info)
4760 {
4761 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
4762 TestObjV8Internal::getSVGDocumentMethod(info);
4763 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
4764 }
4765
4766 static void convert1Method(const v8::FunctionCallbackInfo<v8::Value>& info) 4644 static void convert1Method(const v8::FunctionCallbackInfo<v8::Value>& info)
4767 { 4645 {
4768 if (UNLIKELY(info.Length() < 1)) { 4646 if (UNLIKELY(info.Length() < 1)) {
4769 throwTypeError(ExceptionMessages::failedToExecute("convert1", "TestObjec t", ExceptionMessages::notEnoughArguments(1, info.Length())), info.GetIsolate()) ; 4647 throwTypeError(ExceptionMessages::failedToExecute("convert1", "TestObjec t", ExceptionMessages::notEnoughArguments(1, info.Length())), info.GetIsolate()) ;
4770 return; 4648 return;
4771 } 4649 }
4772 TestObj* imp = V8TestObject::toNative(info.Holder()); 4650 TestObj* imp = V8TestObject::toNative(info.Holder());
4773 V8TRYCATCH_VOID(TestNode*, value, V8TestNode::hasInstance(info[0], info.GetI solate(), worldType(info.GetIsolate())) ? V8TestNode::toNative(v8::Handle<v8::Ob ject>::Cast(info[0])) : 0); 4651 V8TRYCATCH_VOID(TestNode*, value, V8TestNode::hasInstance(info[0], info.GetI solate(), worldType(info.GetIsolate())) ? V8TestNode::toNative(v8::Handle<v8::Ob ject>::Cast(info[0])) : 0);
4774 imp->convert1(value); 4652 imp->convert1(value);
4775 } 4653 }
(...skipping 16 matching lines...) Expand all
4792 imp->convert2(value); 4670 imp->convert2(value);
4793 } 4671 }
4794 4672
4795 static void convert2MethodCallback(const v8::FunctionCallbackInfo<v8::Value>& in fo) 4673 static void convert2MethodCallback(const v8::FunctionCallbackInfo<v8::Value>& in fo)
4796 { 4674 {
4797 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 4675 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
4798 TestObjV8Internal::convert2Method(info); 4676 TestObjV8Internal::convert2Method(info);
4799 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 4677 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
4800 } 4678 }
4801 4679
4802 static void mutablePointFunctionMethod(const v8::FunctionCallbackInfo<v8::Value> & info)
4803 {
4804 TestObj* imp = V8TestObject::toNative(info.Holder());
4805 v8SetReturnValue(info, WTF::getPtr(SVGPropertyTearOff<SVGPoint>::create(imp- >mutablePointFunction())));
4806 }
4807
4808 static void mutablePointFunctionMethodCallback(const v8::FunctionCallbackInfo<v8 ::Value>& info)
4809 {
4810 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
4811 TestObjV8Internal::mutablePointFunctionMethod(info);
4812 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
4813 }
4814
4815 static void immutablePointFunctionMethod(const v8::FunctionCallbackInfo<v8::Valu e>& info)
4816 {
4817 TestObj* imp = V8TestObject::toNative(info.Holder());
4818 v8SetReturnValue(info, WTF::getPtr(SVGPropertyTearOff<SVGPoint>::create(imp- >immutablePointFunction())));
4819 }
4820
4821 static void immutablePointFunctionMethodCallback(const v8::FunctionCallbackInfo< v8::Value>& info)
4822 {
4823 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
4824 TestObjV8Internal::immutablePointFunctionMethod(info);
4825 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
4826 }
4827
4828 static void svgPointMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& info )
4829 {
4830 ExceptionState exceptionState(ExceptionState::ExecutionContext, "svgPointMet hod", "TestObject", info.Holder(), info.GetIsolate());
4831 if (UNLIKELY(info.Length() < 2)) {
4832 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(2, i nfo.Length()));
4833 exceptionState.throwIfNeeded();
4834 return;
4835 }
4836 TestObj* imp = V8TestObject::toNative(info.Holder());
4837 V8TRYCATCH_VOID(RefPtr<SVGPropertyTearOff<SVGPoint> >, item, V8SVGPoint::has Instance(info[0], info.GetIsolate(), worldType(info.GetIsolate())) ? V8SVGPoint: :toNative(v8::Handle<v8::Object>::Cast(info[0])) : 0);
4838 V8TRYCATCH_EXCEPTION_VOID(unsigned, index, toUInt32(info[1], exceptionState) , exceptionState);
4839 if (!item) {
4840 exceptionState.throwTypeError("parameter 1 is not of type 'SVGPoint'.");
4841 exceptionState.throwIfNeeded();
4842 return;
4843 }
4844 v8SetReturnValue(info, WTF::getPtr(SVGPropertyTearOff<SVGPoint>::create(imp- >svgPointMethod(item->propertyReference(), index))));
4845 }
4846
4847 static void svgPointMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Valu e>& info)
4848 {
4849 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
4850 TestObjV8Internal::svgPointMethodMethod(info);
4851 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
4852 }
4853
4854 static void strictSVGPointMethodMethod(const v8::FunctionCallbackInfo<v8::Value> & info)
4855 {
4856 ExceptionState exceptionState(ExceptionState::ExecutionContext, "strictSVGPo intMethod", "TestObject", info.Holder(), info.GetIsolate());
4857 if (UNLIKELY(info.Length() < 2)) {
4858 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(2, i nfo.Length()));
4859 exceptionState.throwIfNeeded();
4860 return;
4861 }
4862 TestObj* imp = V8TestObject::toNative(info.Holder());
4863 if (info.Length() > 0 && !isUndefinedOrNull(info[0]) && !V8SVGPoint::hasInst ance(info[0], info.GetIsolate(), worldType(info.GetIsolate()))) {
4864 exceptionState.throwTypeError("parameter 1 is not of type 'SVGPoint'.");
4865 exceptionState.throwIfNeeded();
4866 return;
4867 }
4868 V8TRYCATCH_VOID(RefPtr<SVGPropertyTearOff<SVGPoint> >, item, V8SVGPoint::has Instance(info[0], info.GetIsolate(), worldType(info.GetIsolate())) ? V8SVGPoint: :toNative(v8::Handle<v8::Object>::Cast(info[0])) : 0);
4869 V8TRYCATCH_EXCEPTION_VOID(unsigned, index, toUInt32(info[1], exceptionState) , exceptionState);
4870 if (!item) {
4871 exceptionState.throwTypeError("parameter 1 is not of type 'SVGPoint'.");
4872 exceptionState.throwIfNeeded();
4873 return;
4874 }
4875 SVGPoint result = imp->strictSVGPointMethod(item->propertyReference(), index , exceptionState);
4876 if (exceptionState.throwIfNeeded())
4877 return;
4878 v8SetReturnValue(info, WTF::getPtr(SVGPropertyTearOff<SVGPoint>::create(resu lt)));
4879 }
4880
4881 static void strictSVGPointMethodMethodCallback(const v8::FunctionCallbackInfo<v8 ::Value>& info)
4882 {
4883 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
4884 TestObjV8Internal::strictSVGPointMethodMethod(info);
4885 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
4886 }
4887
4888 static void orangeMethod(const v8::FunctionCallbackInfo<v8::Value>& info) 4680 static void orangeMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
4889 { 4681 {
4890 TestObj* imp = V8TestObject::toNative(info.Holder()); 4682 TestObj* imp = V8TestObject::toNative(info.Holder());
4891 imp->banana(); 4683 imp->banana();
4892 } 4684 }
4893 4685
4894 static void orangeMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info ) 4686 static void orangeMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info )
4895 { 4687 {
4896 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 4688 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
4897 TestObjV8Internal::orangeMethod(info); 4689 TestObjV8Internal::orangeMethod(info);
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after
5415 } 5207 }
5416 5208
5417 static void deprecatedStaticMethodMethodCallback(const v8::FunctionCallbackInfo< v8::Value>& info) 5209 static void deprecatedStaticMethodMethodCallback(const v8::FunctionCallbackInfo< v8::Value>& info)
5418 { 5210 {
5419 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 5211 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
5420 UseCounter::countDeprecation(activeExecutionContext(), UseCounter::StaticMet hod); 5212 UseCounter::countDeprecation(activeExecutionContext(), UseCounter::StaticMet hod);
5421 TestObjV8Internal::deprecatedStaticMethodMethod(info); 5213 TestObjV8Internal::deprecatedStaticMethodMethod(info);
5422 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 5214 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
5423 } 5215 }
5424 5216
5425 static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info)
5426 {
5427 if (UNLIKELY(info.Length() < 1)) {
5428 throwTypeError(ExceptionMessages::failedToConstruct("TestObject", Except ionMessages::notEnoughArguments(1, info.Length())), info.GetIsolate());
5429 return;
5430 }
5431 if (info.Length() <= 0 || !info[0]->IsFunction()) {
5432 throwTypeError(ExceptionMessages::failedToExecute("Constructor", "TestOb ject", "The callback provided as parameter 1 is not a function."), info.GetIsola te());
5433 return;
5434 }
5435 OwnPtr<TestCallbackInterface> testCallbackInterface = V8TestCallbackInterfac e::create(v8::Handle<v8::Function>::Cast(info[0]), getExecutionContext());
5436 RefPtr<TestObj> impl = TestObj::create(testCallbackInterface);
5437 v8::Handle<v8::Object> wrapper = info.Holder();
5438
5439 V8DOMWrapper::associateObjectWithWrapper<V8TestObject>(impl.release(), &V8Te stObject::wrapperTypeInfo, wrapper, info.GetIsolate(), WrapperConfiguration::Dep endent);
5440 v8SetReturnValue(info, wrapper);
5441 }
5442
5443 static void indexedPropertyGetter(uint32_t index, const v8::PropertyCallbackInfo <v8::Value>& info) 5217 static void indexedPropertyGetter(uint32_t index, const v8::PropertyCallbackInfo <v8::Value>& info)
5444 { 5218 {
5445 ASSERT(V8DOMWrapper::maybeDOMWrapper(info.Holder())); 5219 ASSERT(V8DOMWrapper::maybeDOMWrapper(info.Holder()));
5446 TestObj* collection = V8TestObject::toNative(info.Holder()); 5220 TestObj* collection = V8TestObject::toNative(info.Holder());
5447 RefPtr<Node> element = collection->item(index); 5221 RefPtr<Node> element = collection->item(index);
5448 if (!element) 5222 if (!element)
5449 return; 5223 return;
5450 v8SetReturnValueFast(info, element.release(), collection); 5224 v8SetReturnValueFast(info, element.release(), collection);
5451 } 5225 }
5452 5226
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
5545 {"create", TestObjV8Internal::createAttributeGetterCallback, TestObjV8Intern al::createAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::D EFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 5319 {"create", TestObjV8Internal::createAttributeGetterCallback, TestObjV8Intern al::createAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::D EFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
5546 {"reflectedStringAttr", TestObjV8Internal::reflectedStringAttrAttributeGette rCallback, TestObjV8Internal::reflectedStringAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribut e>(v8::None), 0 /* on instance */}, 5320 {"reflectedStringAttr", TestObjV8Internal::reflectedStringAttrAttributeGette rCallback, TestObjV8Internal::reflectedStringAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribut e>(v8::None), 0 /* on instance */},
5547 {"reflectedIntegralAttr", TestObjV8Internal::reflectedIntegralAttrAttributeG etterCallback, TestObjV8Internal::reflectedIntegralAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAt tribute>(v8::None), 0 /* on instance */}, 5321 {"reflectedIntegralAttr", TestObjV8Internal::reflectedIntegralAttrAttributeG etterCallback, TestObjV8Internal::reflectedIntegralAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAt tribute>(v8::None), 0 /* on instance */},
5548 {"reflectedUnsignedIntegralAttr", TestObjV8Internal::reflectedUnsignedIntegr alAttrAttributeGetterCallback, TestObjV8Internal::reflectedUnsignedIntegralAttrA ttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st atic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 5322 {"reflectedUnsignedIntegralAttr", TestObjV8Internal::reflectedUnsignedIntegr alAttrAttributeGetterCallback, TestObjV8Internal::reflectedUnsignedIntegralAttrA ttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st atic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
5549 {"reflectedBooleanAttr", TestObjV8Internal::reflectedBooleanAttrAttributeGet terCallback, TestObjV8Internal::reflectedBooleanAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttri bute>(v8::None), 0 /* on instance */}, 5323 {"reflectedBooleanAttr", TestObjV8Internal::reflectedBooleanAttrAttributeGet terCallback, TestObjV8Internal::reflectedBooleanAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttri bute>(v8::None), 0 /* on instance */},
5550 {"reflectedURLAttr", TestObjV8Internal::reflectedURLAttrAttributeGetterCallb ack, TestObjV8Internal::reflectedURLAttrAttributeSetterCallback, 0, 0, 0, static _cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::No ne), 0 /* on instance */}, 5324 {"reflectedURLAttr", TestObjV8Internal::reflectedURLAttrAttributeGetterCallb ack, TestObjV8Internal::reflectedURLAttrAttributeSetterCallback, 0, 0, 0, static _cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::No ne), 0 /* on instance */},
5551 {"reflectedStringAttr", TestObjV8Internal::reflectedStringAttrAttributeGette rCallback, TestObjV8Internal::reflectedStringAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribut e>(v8::None), 0 /* on instance */}, 5325 {"reflectedStringAttr", TestObjV8Internal::reflectedStringAttrAttributeGette rCallback, TestObjV8Internal::reflectedStringAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribut e>(v8::None), 0 /* on instance */},
5552 {"reflectedCustomIntegralAttr", TestObjV8Internal::reflectedCustomIntegralAt trAttributeGetterCallback, TestObjV8Internal::reflectedCustomIntegralAttrAttribu teSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_c ast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 5326 {"reflectedCustomIntegralAttr", TestObjV8Internal::reflectedCustomIntegralAt trAttributeGetterCallback, TestObjV8Internal::reflectedCustomIntegralAttrAttribu teSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_c ast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
5553 {"reflectedCustomBooleanAttr", TestObjV8Internal::reflectedCustomBooleanAttr AttributeGetterCallback, TestObjV8Internal::reflectedCustomBooleanAttrAttributeS etterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast <v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 5327 {"reflectedCustomBooleanAttr", TestObjV8Internal::reflectedCustomBooleanAttr AttributeGetterCallback, TestObjV8Internal::reflectedCustomBooleanAttrAttributeS etterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast <v8::PropertyAttribute>(v8::None), 0 /* on instance */},
5554 {"reflectedCustomURLAttr", TestObjV8Internal::reflectedCustomURLAttrAttribut eGetterCallback, TestObjV8Internal::reflectedCustomURLAttrAttributeSetterCallbac k, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Propert yAttribute>(v8::None), 0 /* on instance */}, 5328 {"reflectedCustomURLAttr", TestObjV8Internal::reflectedCustomURLAttrAttribut eGetterCallback, TestObjV8Internal::reflectedCustomURLAttrAttributeSetterCallbac k, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Propert yAttribute>(v8::None), 0 /* on instance */},
5555 {"animatedReflectedAttribute", TestObjV8Internal::animatedReflectedAttribute AttributeGetterCallback, TestObjV8Internal::animatedReflectedAttributeAttributeS etterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast <v8::PropertyAttribute>(v8::None), 0 /* on instance */},
5556 {"limitedToOnlyOneAttribute", TestObjV8Internal::limitedToOnlyOneAttributeAt tributeGetterCallback, TestObjV8Internal::limitedToOnlyOneAttributeAttributeSett erCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8 ::PropertyAttribute>(v8::None), 0 /* on instance */}, 5329 {"limitedToOnlyOneAttribute", TestObjV8Internal::limitedToOnlyOneAttributeAt tributeGetterCallback, TestObjV8Internal::limitedToOnlyOneAttributeAttributeSett erCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8 ::PropertyAttribute>(v8::None), 0 /* on instance */},
5557 {"limitedToOnlyAttribute", TestObjV8Internal::limitedToOnlyAttributeAttribut eGetterCallback, TestObjV8Internal::limitedToOnlyAttributeAttributeSetterCallbac k, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Propert yAttribute>(v8::None), 0 /* on instance */}, 5330 {"limitedToOnlyAttribute", TestObjV8Internal::limitedToOnlyAttributeAttribut eGetterCallback, TestObjV8Internal::limitedToOnlyAttributeAttributeSetterCallbac k, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Propert yAttribute>(v8::None), 0 /* on instance */},
5558 {"limitedToOnlyOtherAttribute", TestObjV8Internal::limitedToOnlyOtherAttribu teAttributeGetterCallback, TestObjV8Internal::limitedToOnlyOtherAttributeAttribu teSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_c ast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 5331 {"limitedToOnlyOtherAttribute", TestObjV8Internal::limitedToOnlyOtherAttribu teAttributeGetterCallback, TestObjV8Internal::limitedToOnlyOtherAttributeAttribu teSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_c ast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
5559 {"limitedWithMissingDefaultAttribute", TestObjV8Internal::limitedWithMissing DefaultAttributeAttributeGetterCallback, TestObjV8Internal::limitedWithMissingDe faultAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v 8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 5332 {"limitedWithMissingDefaultAttribute", TestObjV8Internal::limitedWithMissing DefaultAttributeAttributeGetterCallback, TestObjV8Internal::limitedWithMissingDe faultAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v 8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
5560 {"limitedWithInvalidMissingDefaultAttribute", TestObjV8Internal::limitedWith InvalidMissingDefaultAttributeAttributeGetterCallback, TestObjV8Internal::limite dWithInvalidMissingDefaultAttributeAttributeSetterCallback, 0, 0, 0, static_cast <v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 5333 {"limitedWithInvalidMissingDefaultAttribute", TestObjV8Internal::limitedWith InvalidMissingDefaultAttributeAttributeGetterCallback, TestObjV8Internal::limite dWithInvalidMissingDefaultAttributeAttributeSetterCallback, 0, 0, 0, static_cast <v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
5561 {"limitedWithInvalidAndMissingDefaultAttribute", TestObjV8Internal::limitedW ithInvalidAndMissingDefaultAttributeAttributeGetterCallback, TestObjV8Internal:: limitedWithInvalidAndMissingDefaultAttributeAttributeSetterCallback, 0, 0, 0, st atic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8 ::None), 0 /* on instance */}, 5334 {"limitedWithInvalidAndMissingDefaultAttribute", TestObjV8Internal::limitedW ithInvalidAndMissingDefaultAttributeAttributeGetterCallback, TestObjV8Internal:: limitedWithInvalidAndMissingDefaultAttributeAttributeSetterCallback, 0, 0, 0, st atic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8 ::None), 0 /* on instance */},
5562 {"corsSettingAttribute", TestObjV8Internal::corsSettingAttributeAttributeGet terCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cas t<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 5335 {"corsSettingAttribute", TestObjV8Internal::corsSettingAttributeAttributeGet terCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cas t<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
5563 {"limitedWithEmptyMissingInvalidAttribute", TestObjV8Internal::limitedWithEm ptyMissingInvalidAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::A ccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* o n instance */}, 5336 {"limitedWithEmptyMissingInvalidAttribute", TestObjV8Internal::limitedWithEm ptyMissingInvalidAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::A ccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* o n instance */},
5564 {"typedArrayAttr", TestObjV8Internal::typedArrayAttrAttributeGetterCallback, TestObjV8Internal::typedArrayAttrAttributeSetterCallback, 0, 0, 0, static_cast< v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 5337 {"typedArrayAttr", TestObjV8Internal::typedArrayAttrAttributeGetterCallback, TestObjV8Internal::typedArrayAttrAttributeSetterCallback, 0, 0, 0, static_cast< v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
5565 {"attrWithGetterException", TestObjV8Internal::attrWithGetterExceptionAttrib uteGetterCallback, TestObjV8Internal::attrWithGetterExceptionAttributeSetterCall back, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Prop ertyAttribute>(v8::None), 0 /* on instance */}, 5338 {"attrWithGetterException", TestObjV8Internal::attrWithGetterExceptionAttrib uteGetterCallback, TestObjV8Internal::attrWithGetterExceptionAttributeSetterCall back, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Prop ertyAttribute>(v8::None), 0 /* on instance */},
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
5604 {"cachedAttribute1", TestObjV8Internal::cachedAttribute1AttributeGetterCallb ack, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Pr opertyAttribute>(v8::None), 0 /* on instance */}, 5377 {"cachedAttribute1", TestObjV8Internal::cachedAttribute1AttributeGetterCallb ack, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Pr opertyAttribute>(v8::None), 0 /* on instance */},
5605 {"cachedAttribute2", TestObjV8Internal::cachedAttribute2AttributeGetterCallb ack, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Pr opertyAttribute>(v8::None), 0 /* on instance */}, 5378 {"cachedAttribute2", TestObjV8Internal::cachedAttribute2AttributeGetterCallb ack, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Pr opertyAttribute>(v8::None), 0 /* on instance */},
5606 {"cachedDirtyableAttribute", TestObjV8Internal::cachedDirtyableAttributeAttr ibuteGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st atic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 5379 {"cachedDirtyableAttribute", TestObjV8Internal::cachedDirtyableAttributeAttr ibuteGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st atic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
5607 {"cachedDirtyableAttributeRaises", TestObjV8Internal::cachedDirtyableAttribu teRaisesAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8:: DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 5380 {"cachedDirtyableAttributeRaises", TestObjV8Internal::cachedDirtyableAttribu teRaisesAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8:: DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
5608 {"anyAttribute", TestObjV8Internal::anyAttributeAttributeGetterCallback, Tes tObjV8Internal::anyAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::Ac cessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 5381 {"anyAttribute", TestObjV8Internal::anyAttributeAttributeGetterCallback, Tes tObjV8Internal::anyAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::Ac cessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
5609 {"callbackFunctionAttribute", TestObjV8Internal::callbackFunctionAttributeAt tributeGetterCallback, TestObjV8Internal::callbackFunctionAttributeAttributeSett erCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8 ::PropertyAttribute>(v8::None), 0 /* on instance */}, 5382 {"callbackFunctionAttribute", TestObjV8Internal::callbackFunctionAttributeAt tributeGetterCallback, TestObjV8Internal::callbackFunctionAttributeAttributeSett erCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8 ::PropertyAttribute>(v8::None), 0 /* on instance */},
5610 {"floatArray", TestObjV8Internal::floatArrayAttributeGetterCallback, TestObj V8Internal::floatArrayAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCo ntrol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on insta nce */}, 5383 {"floatArray", TestObjV8Internal::floatArrayAttributeGetterCallback, TestObj V8Internal::floatArrayAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCo ntrol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on insta nce */},
5611 {"doubleArray", TestObjV8Internal::doubleArrayAttributeGetterCallback, TestO bjV8Internal::doubleArrayAttributeSetterCallback, 0, 0, 0, static_cast<v8::Acces sControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on in stance */}, 5384 {"doubleArray", TestObjV8Internal::doubleArrayAttributeGetterCallback, TestO bjV8Internal::doubleArrayAttributeSetterCallback, 0, 0, 0, static_cast<v8::Acces sControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on in stance */},
5612 {"messagePortArray", TestObjV8Internal::messagePortArrayAttributeGetterCallb ack, TestObjV8Internal::messagePortArrayAttributeSetterCallback, 0, 0, 0, static _cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::No ne), 0 /* on instance */}, 5385 {"messagePortArray", TestObjV8Internal::messagePortArrayAttributeGetterCallb ack, TestObjV8Internal::messagePortArrayAttributeSetterCallback, 0, 0, 0, static _cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::No ne), 0 /* on instance */},
5613 {"contentDocument", TestObjV8Internal::contentDocumentAttributeGetterCallbac k, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Prop ertyAttribute>(v8::None), 0 /* on instance */}, 5386 {"contentDocument", TestObjV8Internal::contentDocumentAttributeGetterCallbac k, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Prop ertyAttribute>(v8::None), 0 /* on instance */},
5614 {"mutablePoint", TestObjV8Internal::mutablePointAttributeGetterCallback, Tes tObjV8Internal::mutablePointAttributeSetterCallback, 0, 0, 0, static_cast<v8::Ac cessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
5615 {"immutablePoint", TestObjV8Internal::immutablePointAttributeGetterCallback, TestObjV8Internal::immutablePointAttributeSetterCallback, 0, 0, 0, static_cast< v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
5616 {"strawberry", TestObjV8Internal::strawberryAttributeGetterCallback, TestObj V8Internal::strawberryAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCo ntrol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on insta nce */}, 5387 {"strawberry", TestObjV8Internal::strawberryAttributeGetterCallback, TestObj V8Internal::strawberryAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCo ntrol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on insta nce */},
5617 {"strictFloat", TestObjV8Internal::strictFloatAttributeGetterCallback, TestO bjV8Internal::strictFloatAttributeSetterCallback, 0, 0, 0, static_cast<v8::Acces sControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on in stance */}, 5388 {"strictFloat", TestObjV8Internal::strictFloatAttributeGetterCallback, TestO bjV8Internal::strictFloatAttributeSetterCallback, 0, 0, 0, static_cast<v8::Acces sControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on in stance */},
5618 {"replaceableAttribute", TestObjV8Internal::replaceableAttributeAttributeGet terCallback, TestObjV8Internal::TestObjReplaceableAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribu te>(v8::None), 0 /* on instance */}, 5389 {"replaceableAttribute", TestObjV8Internal::replaceableAttributeAttributeGet terCallback, TestObjV8Internal::TestObjReplaceableAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribu te>(v8::None), 0 /* on instance */},
5619 {"nullableDoubleAttribute", TestObjV8Internal::nullableDoubleAttributeAttrib uteGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stat ic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 5390 {"nullableDoubleAttribute", TestObjV8Internal::nullableDoubleAttributeAttrib uteGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stat ic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
5620 {"nullableLongAttribute", TestObjV8Internal::nullableLongAttributeAttributeG etterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_c ast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 5391 {"nullableLongAttribute", TestObjV8Internal::nullableLongAttributeAttributeG etterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_c ast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
5621 {"nullableBooleanAttribute", TestObjV8Internal::nullableBooleanAttributeAttr ibuteGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st atic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 5392 {"nullableBooleanAttribute", TestObjV8Internal::nullableBooleanAttributeAttr ibuteGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st atic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
5622 {"nullableStringAttribute", TestObjV8Internal::nullableStringAttributeAttrib uteGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stat ic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 5393 {"nullableStringAttribute", TestObjV8Internal::nullableStringAttributeAttrib uteGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stat ic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
5623 {"nullableLongSettableAttribute", TestObjV8Internal::nullableLongSettableAtt ributeAttributeGetterCallback, TestObjV8Internal::nullableLongSettableAttributeA ttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st atic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 5394 {"nullableLongSettableAttribute", TestObjV8Internal::nullableLongSettableAtt ributeAttributeGetterCallback, TestObjV8Internal::nullableLongSettableAttributeA ttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st atic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
5624 {"nullableStringValue", TestObjV8Internal::nullableStringValueAttributeGette rCallback, TestObjV8Internal::nullableStringValueAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribut e>(v8::None), 0 /* on instance */}, 5395 {"nullableStringValue", TestObjV8Internal::nullableStringValueAttributeGette rCallback, TestObjV8Internal::nullableStringValueAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribut e>(v8::None), 0 /* on instance */},
5625 {"perWorldReadOnlyAttribute", TestObjV8Internal::perWorldReadOnlyAttributeAt tributeGetterCallback, 0, TestObjV8Internal::perWorldReadOnlyAttributeAttributeG etterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st atic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 5396 {"perWorldReadOnlyAttribute", TestObjV8Internal::perWorldReadOnlyAttributeAt tributeGetterCallback, 0, TestObjV8Internal::perWorldReadOnlyAttributeAttributeG etterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st atic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
5701 #endif // ENABLE(Condition1) || ENABLE(Condition2) 5472 #endif // ENABLE(Condition1) || ENABLE(Condition2)
5702 {"callbackFunctionReturnValue", TestObjV8Internal::callbackFunctionReturnVal ueMethodCallback, 0, 0}, 5473 {"callbackFunctionReturnValue", TestObjV8Internal::callbackFunctionReturnVal ueMethodCallback, 0, 0},
5703 {"callbackFunctionArgument", TestObjV8Internal::callbackFunctionArgumentMeth odCallback, 0, 1}, 5474 {"callbackFunctionArgument", TestObjV8Internal::callbackFunctionArgumentMeth odCallback, 0, 1},
5704 {"overloadedMethod", TestObjV8Internal::overloadedMethodMethodCallback, 0, 1 }, 5475 {"overloadedMethod", TestObjV8Internal::overloadedMethodMethodCallback, 0, 1 },
5705 {"overloadedMethodA", TestObjV8Internal::overloadedMethodAMethodCallback, 0, 1}, 5476 {"overloadedMethodA", TestObjV8Internal::overloadedMethodAMethodCallback, 0, 1},
5706 {"overloadedMethodB", TestObjV8Internal::overloadedMethodBMethodCallback, 0, 1}, 5477 {"overloadedMethodB", TestObjV8Internal::overloadedMethodBMethodCallback, 0, 1},
5707 {"classMethodWithClamp", TestObjV8Internal::classMethodWithClampMethodCallba ck, 0, 2}, 5478 {"classMethodWithClamp", TestObjV8Internal::classMethodWithClampMethodCallba ck, 0, 2},
5708 {"methodWithUnsignedLongSequence", TestObjV8Internal::methodWithUnsignedLong SequenceMethodCallback, 0, 1}, 5479 {"methodWithUnsignedLongSequence", TestObjV8Internal::methodWithUnsignedLong SequenceMethodCallback, 0, 1},
5709 {"stringArrayFunction", TestObjV8Internal::stringArrayFunctionMethodCallback , 0, 1}, 5480 {"stringArrayFunction", TestObjV8Internal::stringArrayFunctionMethodCallback , 0, 1},
5710 {"domStringListFunction", TestObjV8Internal::domStringListFunctionMethodCall back, 0, 1}, 5481 {"domStringListFunction", TestObjV8Internal::domStringListFunctionMethodCall back, 0, 1},
5711 {"getSVGDocument", TestObjV8Internal::getSVGDocumentMethodCallback, 0, 0},
5712 {"convert1", TestObjV8Internal::convert1MethodCallback, 0, 1}, 5482 {"convert1", TestObjV8Internal::convert1MethodCallback, 0, 1},
5713 {"convert2", TestObjV8Internal::convert2MethodCallback, 0, 1}, 5483 {"convert2", TestObjV8Internal::convert2MethodCallback, 0, 1},
5714 {"mutablePointFunction", TestObjV8Internal::mutablePointFunctionMethodCallba ck, 0, 0},
5715 {"immutablePointFunction", TestObjV8Internal::immutablePointFunctionMethodCa llback, 0, 0},
5716 {"svgPointMethod", TestObjV8Internal::svgPointMethodMethodCallback, 0, 2},
5717 {"strictSVGPointMethod", TestObjV8Internal::strictSVGPointMethodMethodCallba ck, 0, 2},
5718 {"orange", TestObjV8Internal::orangeMethodCallback, 0, 0}, 5484 {"orange", TestObjV8Internal::orangeMethodCallback, 0, 0},
5719 {"strictFunction", TestObjV8Internal::strictFunctionMethodCallback, 0, 3}, 5485 {"strictFunction", TestObjV8Internal::strictFunctionMethodCallback, 0, 3},
5720 {"variadicStringMethod", TestObjV8Internal::variadicStringMethodMethodCallba ck, 0, 2}, 5486 {"variadicStringMethod", TestObjV8Internal::variadicStringMethodMethodCallba ck, 0, 2},
5721 {"variadicDoubleMethod", TestObjV8Internal::variadicDoubleMethodMethodCallba ck, 0, 2}, 5487 {"variadicDoubleMethod", TestObjV8Internal::variadicDoubleMethodMethodCallba ck, 0, 2},
5722 {"variadicNodeMethod", TestObjV8Internal::variadicNodeMethodMethodCallback, 0, 2}, 5488 {"variadicNodeMethod", TestObjV8Internal::variadicNodeMethodMethodCallback, 0, 2},
5723 {"methodWithNullableArguments", TestObjV8Internal::methodWithNullableArgumen tsMethodCallback, 0, 3}, 5489 {"methodWithNullableArguments", TestObjV8Internal::methodWithNullableArgumen tsMethodCallback, 0, 3},
5724 {"perWorldMethod", TestObjV8Internal::perWorldMethodMethodCallback, TestObjV 8Internal::perWorldMethodMethodCallbackForMainWorld, 0}, 5490 {"perWorldMethod", TestObjV8Internal::perWorldMethodMethodCallback, TestObjV 8Internal::perWorldMethodMethodCallbackForMainWorld, 0},
5725 {"overloadedPerWorldMethod", TestObjV8Internal::overloadedPerWorldMethodMeth odCallback, TestObjV8Internal::overloadedPerWorldMethodMethodCallbackForMainWorl d, 1}, 5491 {"overloadedPerWorldMethod", TestObjV8Internal::overloadedPerWorldMethodMeth odCallback, TestObjV8Internal::overloadedPerWorldMethodMethodCallbackForMainWorl d, 1},
5726 {"activityLoggedMethod1", TestObjV8Internal::activityLoggedMethod1MethodCall back, 0, 1}, 5492 {"activityLoggedMethod1", TestObjV8Internal::activityLoggedMethod1MethodCall back, 0, 1},
5727 {"activityLoggedMethod2", TestObjV8Internal::activityLoggedMethod2MethodCall back, TestObjV8Internal::activityLoggedMethod2MethodCallbackForMainWorld, 1}, 5493 {"activityLoggedMethod2", TestObjV8Internal::activityLoggedMethod2MethodCall back, TestObjV8Internal::activityLoggedMethod2MethodCallbackForMainWorld, 1},
5728 {"activityLoggedInIsolatedWorldMethod", TestObjV8Internal::activityLoggedInI solatedWorldMethodMethodCallback, TestObjV8Internal::activityLoggedInIsolatedWor ldMethodMethodCallbackForMainWorld, 1}, 5494 {"activityLoggedInIsolatedWorldMethod", TestObjV8Internal::activityLoggedInI solatedWorldMethodMethodCallback, TestObjV8Internal::activityLoggedInIsolatedWor ldMethodMethodCallbackForMainWorld, 1},
5729 {"overloadedActivityLoggedMethod", TestObjV8Internal::overloadedActivityLogg edMethodMethodCallback, TestObjV8Internal::overloadedActivityLoggedMethodMethodC allbackForMainWorld, 1}, 5495 {"overloadedActivityLoggedMethod", TestObjV8Internal::overloadedActivityLogg edMethodMethodCallback, TestObjV8Internal::overloadedActivityLoggedMethodMethodC allbackForMainWorld, 1},
5730 {"deprecatedMethod", TestObjV8Internal::deprecatedMethodMethodCallback, 0, 0 }, 5496 {"deprecatedMethod", TestObjV8Internal::deprecatedMethodMethodCallback, 0, 0 },
5731 }; 5497 };
5732 5498
5733 void V8TestObject::constructorCallback(const v8::FunctionCallbackInfo<v8::Value> & info)
5734 {
5735 TRACE_EVENT_SCOPED_SAMPLING_STATE("Blink", "DOMConstructor");
5736 if (!info.IsConstructCall()) {
5737 throwTypeError(ExceptionMessages::failedToConstruct("TestObject", "Pleas e use the 'new' operator, this DOM object constructor cannot be called as a func tion."), info.GetIsolate());
5738 return;
5739 }
5740
5741 if (ConstructorMode::current() == ConstructorMode::WrapExistingObject) {
5742 v8SetReturnValue(info, info.Holder());
5743 return;
5744 }
5745
5746 TestObjV8Internal::constructor(info);
5747 }
5748
5749 static void configureV8TestObjectTemplate(v8::Handle<v8::FunctionTemplate> funct ionTemplate, v8::Isolate* isolate, WrapperWorldType currentWorldType) 5499 static void configureV8TestObjectTemplate(v8::Handle<v8::FunctionTemplate> funct ionTemplate, v8::Isolate* isolate, WrapperWorldType currentWorldType)
5750 { 5500 {
5751 functionTemplate->ReadOnlyPrototype(); 5501 functionTemplate->ReadOnlyPrototype();
5752 5502
5753 v8::Local<v8::Signature> defaultSignature; 5503 v8::Local<v8::Signature> defaultSignature;
5754 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(functionTempl ate, "TestObject", V8EventTarget::domTemplate(isolate, currentWorldType), V8Test Object::internalFieldCount, 5504 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(functionTempl ate, "TestObject", V8EventTarget::domTemplate(isolate, currentWorldType), V8Test Object::internalFieldCount,
5755 V8TestObjectAttributes, WTF_ARRAY_LENGTH(V8TestObjectAttributes), 5505 V8TestObjectAttributes, WTF_ARRAY_LENGTH(V8TestObjectAttributes),
5756 V8TestObjectAccessors, WTF_ARRAY_LENGTH(V8TestObjectAccessors), 5506 V8TestObjectAccessors, WTF_ARRAY_LENGTH(V8TestObjectAccessors),
5757 V8TestObjectMethods, WTF_ARRAY_LENGTH(V8TestObjectMethods), 5507 V8TestObjectMethods, WTF_ARRAY_LENGTH(V8TestObjectMethods),
5758 isolate, currentWorldType); 5508 isolate, currentWorldType);
5759 functionTemplate->SetCallHandler(V8TestObject::constructorCallback);
5760 functionTemplate->SetLength(1);
5761 v8::Local<v8::ObjectTemplate> ALLOW_UNUSED instanceTemplate = functionTempla te->InstanceTemplate(); 5509 v8::Local<v8::ObjectTemplate> ALLOW_UNUSED instanceTemplate = functionTempla te->InstanceTemplate();
5762 v8::Local<v8::ObjectTemplate> ALLOW_UNUSED prototypeTemplate = functionTempl ate->PrototypeTemplate(); 5510 v8::Local<v8::ObjectTemplate> ALLOW_UNUSED prototypeTemplate = functionTempl ate->PrototypeTemplate();
5763 if (RuntimeEnabledFeatures::featureNameEnabled()) { 5511 if (RuntimeEnabledFeatures::featureNameEnabled()) {
5764 static const V8DOMConfiguration::AttributeConfiguration attributeConfigu ration =\ 5512 static const V8DOMConfiguration::AttributeConfiguration attributeConfigu ration =\
5765 {"enabledAtRuntimeAttr", TestObjV8Internal::enabledAtRuntimeAttrAttribut eGetterCallback, TestObjV8Internal::enabledAtRuntimeAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyA ttribute>(v8::None), 0 /* on instance */}; 5513 {"enabledAtRuntimeAttr", TestObjV8Internal::enabledAtRuntimeAttrAttribut eGetterCallback, TestObjV8Internal::enabledAtRuntimeAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyA ttribute>(v8::None), 0 /* on instance */};
5766 V8DOMConfiguration::installAttribute(instanceTemplate, prototypeTemplate , attributeConfiguration, isolate, currentWorldType); 5514 V8DOMConfiguration::installAttribute(instanceTemplate, prototypeTemplate , attributeConfiguration, isolate, currentWorldType);
5767 } 5515 }
5768 static const V8DOMConfiguration::ConstantConfiguration V8TestObjectConstants [] = { 5516 static const V8DOMConfiguration::ConstantConfiguration V8TestObjectConstants [] = {
5769 {"DEPRECATED_CONSTANT", 1}, 5517 {"DEPRECATED_CONSTANT", 1},
5770 }; 5518 };
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
5866 fromInternalPointer(object)->deref(); 5614 fromInternalPointer(object)->deref();
5867 } 5615 }
5868 5616
5869 template<> 5617 template<>
5870 v8::Handle<v8::Value> toV8NoInline(TestObj* impl, v8::Handle<v8::Object> creatio nContext, v8::Isolate* isolate) 5618 v8::Handle<v8::Value> toV8NoInline(TestObj* impl, v8::Handle<v8::Object> creatio nContext, v8::Isolate* isolate)
5871 { 5619 {
5872 return toV8(impl, creationContext, isolate); 5620 return toV8(impl, creationContext, isolate);
5873 } 5621 }
5874 5622
5875 } // namespace WebCore 5623 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestObject.h ('k') | Source/bindings/tests/results/V8TestSVG.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698