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

Side by Side Diff: Source/bindings/tests/idls/TestObjectPython.idl

Issue 141523002: Add null-correctness checking to [StrictTypeChecking] methods (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Last test 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
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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 readonly attribute Window readonlyWindowAttribute; 116 readonly attribute Window readonlyWindowAttribute;
117 readonly attribute HTMLCollection htmlCollectionAttribute; 117 readonly attribute HTMLCollection htmlCollectionAttribute;
118 readonly attribute HTMLElement htmlElementAttribute; 118 readonly attribute HTMLElement htmlElementAttribute;
119 // Arrays 119 // Arrays
120 attribute DOMString[] stringArrayAttribute; 120 attribute DOMString[] stringArrayAttribute;
121 attribute TestInterfaceEmpty[] testInterfaceEmptyArrayAttribute; 121 attribute TestInterfaceEmpty[] testInterfaceEmptyArrayAttribute;
122 attribute float[] floatArrayAttribute; 122 attribute float[] floatArrayAttribute;
123 // Nullable attributes 123 // Nullable attributes
124 attribute DOMString? nullableStringAttribute; 124 attribute DOMString? nullableStringAttribute;
125 attribute long? nullableLongAttribute; 125 attribute long? nullableLongAttribute;
126 attribute TestInterface? nullableTestInterfaceAttribute;
126 // Enumerations 127 // Enumerations
127 attribute TestEnum testEnumAttribute; 128 attribute TestEnum testEnumAttribute;
128 // Static attributes 129 // Static attributes
129 static attribute DOMString staticStringAttribute; 130 static attribute DOMString staticStringAttribute;
130 static attribute long staticLongAttribute; 131 static attribute long staticLongAttribute;
131 // Constructors 132 // Constructors
132 attribute TestObjectAConstructor testObjectAConstructorAttribute; 133 attribute TestObjectAConstructor testObjectAConstructorAttribute;
133 // Exceptional type 134 // Exceptional type
134 attribute EventHandler eventHandlerAttribute; 135 attribute EventHandler eventHandlerAttribute;
135 136
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 [RaisesException] void raisesExceptionVoidMethod(); 403 [RaisesException] void raisesExceptionVoidMethod();
403 [RaisesException] DOMString raisesExceptionStringMethod(); 404 [RaisesException] DOMString raisesExceptionStringMethod();
404 [RaisesException] void raisesExceptionVoidMethodOptionalLongArg(optional lon g optionalLongArg); 405 [RaisesException] void raisesExceptionVoidMethodOptionalLongArg(optional lon g optionalLongArg);
405 [RaisesException] void raisesExceptionVoidMethodTestCallbackInterfaceArg(Tes tCallbackInterface testCallbackInterfaceArg); 406 [RaisesException] void raisesExceptionVoidMethodTestCallbackInterfaceArg(Tes tCallbackInterface testCallbackInterfaceArg);
406 [RaisesException] void raisesExceptionVoidMethodOptionalTestCallbackInterfac eArg(optional TestCallbackInterface optionalTestCallbackInterfaceArg); 407 [RaisesException] void raisesExceptionVoidMethodOptionalTestCallbackInterfac eArg(optional TestCallbackInterface optionalTestCallbackInterfaceArg);
407 [ReadOnly] void readOnlyVoidMethod(); 408 [ReadOnly] void readOnlyVoidMethod();
408 [NotEnumerable, ReadOnly] void notEnumerableReadOnlyVoidMethod(); 409 [NotEnumerable, ReadOnly] void notEnumerableReadOnlyVoidMethod();
409 [RuntimeEnabled=FeatureName] void runtimeEnabledVoidMethod(); 410 [RuntimeEnabled=FeatureName] void runtimeEnabledVoidMethod();
410 [PerWorldBindings, RuntimeEnabled=FeatureName] void perWorldBindingsRuntimeE nabledVoidMethod(); 411 [PerWorldBindings, RuntimeEnabled=FeatureName] void perWorldBindingsRuntimeE nabledVoidMethod();
411 [StrictTypeChecking] void strictTypeCheckingVoidMethodTestInterfaceEmptyArg( TestInterfaceEmpty testInterfaceEmptyArg); 412 [StrictTypeChecking] void strictTypeCheckingVoidMethodTestInterfaceEmptyArg( TestInterfaceEmpty testInterfaceEmptyArg);
413 [StrictTypeChecking] void strictTypeCheckingVoidMethodNullableTestInterfaceE mptyArg(TestInterfaceEmpty? testInterfaceEmptyArg);
412 [TreatReturnedNullStringAs=Null] DOMString treatReturnedNullStringAsNullStri ngMethod(); 414 [TreatReturnedNullStringAs=Null] DOMString treatReturnedNullStringAsNullStri ngMethod();
413 [TreatReturnedNullStringAs=Undefined] DOMString treatReturnedNullStringAsUnd efinedStringMethod(); 415 [TreatReturnedNullStringAs=Undefined] DOMString treatReturnedNullStringAsUnd efinedStringMethod();
414 [Unforgeable] void unforgeableVoidMethod(); 416 [Unforgeable] void unforgeableVoidMethod();
415 }; 417 };
OLDNEW
« no previous file with comments | « Source/bindings/templates/methods.cpp ('k') | Source/bindings/tests/results/V8TestObjectPython.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698