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

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

Issue 329223004: [DeprecateAs] if call addEventListener or removeEventListener without enough arguments Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Test update/simplification Created 6 years, 6 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 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 // Enumerations 346 // Enumerations
347 TestEnum testEnumMethod(); 347 TestEnum testEnumMethod();
348 void voidMethodTestEnumArg(TestEnum testEnumTypeArg); 348 void voidMethodTestEnumArg(TestEnum testEnumTypeArg);
349 // Exceptional types 349 // Exceptional types
350 Dictionary dictionaryMethod(); 350 Dictionary dictionaryMethod();
351 NodeFilter nodeFilterMethod(); 351 NodeFilter nodeFilterMethod();
352 Promise promiseMethod(); 352 Promise promiseMethod();
353 SerializedScriptValue serializedScriptValueMethod(); 353 SerializedScriptValue serializedScriptValueMethod();
354 XPathNSResolver xPathNSResolverMethod(); 354 XPathNSResolver xPathNSResolverMethod();
355 void voidMethodDictionaryArg(Dictionary dictionaryArg); 355 void voidMethodDictionaryArg(Dictionary dictionaryArg);
356 void voidMethodEventListenerArg(EventListener eventListenerArg); 356 void voidMethodEventListenerOrNullArg(EventListener? eventListenerArg);
357 void voidMethodNodeFilterArg(NodeFilter nodeFilterArg); 357 void voidMethodNodeFilterArg(NodeFilter nodeFilterArg);
358 void voidMethodPromiseArg(Promise promiseArg); 358 void voidMethodPromiseArg(Promise promiseArg);
359 void voidMethodSerializedScriptValueArg(SerializedScriptValue serializedScri ptValueArg); 359 void voidMethodSerializedScriptValueArg(SerializedScriptValue serializedScri ptValueArg);
360 void voidMethodXPathNSResolverArg(XPathNSResolver xPathNSResolverArg); 360 void voidMethodXPathNSResolverArg(XPathNSResolver xPathNSResolverArg);
361 void voidMethodDictionarySequenceArg(sequence<Dictionary> dictionarySequence Arg); 361 void voidMethodDictionarySequenceArg(sequence<Dictionary> dictionarySequence Arg);
362 362
363 // Arguments 363 // Arguments
364 void voidMethodStringArgLongArg(DOMString stringArg, long longArg); 364 void voidMethodStringArgLongArg(DOMString stringArg, long longArg);
365 // Optional arguments 365 // Optional arguments
366 void voidMethodOptionalStringArg(optional DOMString optionalStringArg); 366 void voidMethodOptionalStringArg(optional DOMString optionalStringArg);
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); 491 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg);
492 492
493 // Extended attributes on referenced interfaces 493 // Extended attributes on referenced interfaces
494 // (not self; self-reference tests at interface themselves) 494 // (not self; self-reference tests at interface themselves)
495 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] 495 attribute TestInterface testInterfaceAttribute; // [ImplementedAs]
496 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu te; // [GarbageCollected] 496 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu te; // [GarbageCollected]
497 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull Attribute; // [GarbageCollected] 497 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull Attribute; // [GarbageCollected]
498 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl ectedAttribute; // [WillBeGarbageCollected] 498 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl ectedAttribute; // [WillBeGarbageCollected]
499 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol lectedOrNullAttribute; // [WillBeGarbageCollected] 499 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol lectedOrNullAttribute; // [WillBeGarbageCollected]
500 }; 500 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698