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

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

Issue 226073003: Fix StrictTypeChecking on interface type attributes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Mark HTMLMediaElement.error nullable. Created 6 years, 8 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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 215
216 [Replaceable] readonly attribute long replaceableReadonlyLongAttribute; 216 [Replaceable] readonly attribute long replaceableReadonlyLongAttribute;
217 [Replaceable, PutForwards=href] readonly attribute TestNode locationReplacea ble; 217 [Replaceable, PutForwards=href] readonly attribute TestNode locationReplacea ble;
218 [RuntimeEnabled=FeatureName] attribute long runtimeEnabledLongAttribute; 218 [RuntimeEnabled=FeatureName] attribute long runtimeEnabledLongAttribute;
219 [PerContextEnabled=FeatureName, RuntimeEnabled=FeatureName] attribute long p erContextEnabledRuntimeEnabledLongAttribute; 219 [PerContextEnabled=FeatureName, RuntimeEnabled=FeatureName] attribute long p erContextEnabledRuntimeEnabledLongAttribute;
220 [Conditional=CONDITION, RuntimeEnabled=FeatureName] attribute long condition alRuntimeEnabledLongAttribute; 220 [Conditional=CONDITION, RuntimeEnabled=FeatureName] attribute long condition alRuntimeEnabledLongAttribute;
221 [SetterCallWith=ActiveWindow&FirstWindow] attribute DOMString setterCallWith ActiveWindowAndFirstWindowStringAttribute; 221 [SetterCallWith=ActiveWindow&FirstWindow] attribute DOMString setterCallWith ActiveWindowAndFirstWindowStringAttribute;
222 [SetterCallWith=ExecutionContext] attribute DOMString setterCallWithExecutio nContextStringAttribute; 222 [SetterCallWith=ExecutionContext] attribute DOMString setterCallWithExecutio nContextStringAttribute;
223 [StrictTypeChecking] attribute float strictTypeCheckingFloatAttribute; // no p for non-interface types 223 [StrictTypeChecking] attribute float strictTypeCheckingFloatAttribute; // no p for non-interface types
224 [StrictTypeChecking] attribute TestInterface strictTypeCheckingTestInterface Attribute; 224 [StrictTypeChecking] attribute TestInterface strictTypeCheckingTestInterface Attribute;
225 [StrictTypeChecking] attribute TestInterface? strictTypeCheckingNullableTest InterfaceAttribute;
225 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr ibute; 226 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr ibute;
226 [TreatReturnedNullStringAs=Null] attribute DOMString treatReturnedNullString AsNullStringAttribute; 227 [TreatReturnedNullStringAs=Null] attribute DOMString treatReturnedNullString AsNullStringAttribute;
227 [TreatReturnedNullStringAs=Undefined] attribute DOMString treatReturnedNullS tringAsUndefinedStringAttribute; 228 [TreatReturnedNullStringAs=Undefined] attribute DOMString treatReturnedNullS tringAsUndefinedStringAttribute;
228 [Reflect, URL] attribute DOMString urlStringAttribute; 229 [Reflect, URL] attribute DOMString urlStringAttribute;
229 [Reflect=reflectUrlAttribute, URL] attribute DOMString urlStringAttribute; 230 [Reflect=reflectUrlAttribute, URL] attribute DOMString urlStringAttribute;
230 [Unforgeable] attribute long unforgeableLongAttribute; 231 [Unforgeable] attribute long unforgeableLongAttribute;
231 232
232 233
233 // Methods 234 // Methods
234 // 235 //
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 // [WillBeGarbageCollected] 462 // [WillBeGarbageCollected]
462 void voidMethodTestInterfaceWillBeGarbageCollectedSequenceArg(sequence<TestI nterfaceWillBeGarbageCollected> testInterfaceWillBeGarbageCollectedSequenceArg); 463 void voidMethodTestInterfaceWillBeGarbageCollectedSequenceArg(sequence<TestI nterfaceWillBeGarbageCollected> testInterfaceWillBeGarbageCollectedSequenceArg);
463 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); 464 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg);
464 465
465 // Extended attributes on referenced interfaces 466 // Extended attributes on referenced interfaces
466 // (not self; self-reference tests at interface themselves) 467 // (not self; self-reference tests at interface themselves)
467 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] 468 attribute TestInterface testInterfaceAttribute; // [ImplementedAs]
468 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl ectedAttribute; // [WillBeGarbageCollected] 469 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl ectedAttribute; // [WillBeGarbageCollected]
469 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol lectedOrNullAttribute; // [WillBeGarbageCollected] 470 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol lectedOrNullAttribute; // [WillBeGarbageCollected]
470 }; 471 };
OLDNEW
« no previous file with comments | « Source/bindings/templates/attributes.cpp ('k') | Source/bindings/tests/results/V8TestInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698