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

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

Issue 329053002: Throw TypeError when addEventListener or removeEventListener are called without enough arguments (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased 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
« no previous file with comments | « Source/bindings/templates/methods.cpp ('k') | Source/bindings/tests/results/V8TestObject.cpp » ('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 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 // Enumerations 356 // Enumerations
357 TestEnum testEnumMethod(); 357 TestEnum testEnumMethod();
358 void voidMethodTestEnumArg(TestEnum testEnumTypeArg); 358 void voidMethodTestEnumArg(TestEnum testEnumTypeArg);
359 // Exceptional types 359 // Exceptional types
360 Dictionary dictionaryMethod(); 360 Dictionary dictionaryMethod();
361 NodeFilter nodeFilterMethod(); 361 NodeFilter nodeFilterMethod();
362 Promise promiseMethod(); 362 Promise promiseMethod();
363 SerializedScriptValue serializedScriptValueMethod(); 363 SerializedScriptValue serializedScriptValueMethod();
364 XPathNSResolver xPathNSResolverMethod(); 364 XPathNSResolver xPathNSResolverMethod();
365 void voidMethodDictionaryArg(Dictionary dictionaryArg); 365 void voidMethodDictionaryArg(Dictionary dictionaryArg);
366 void voidMethodEventListenerArg(EventListener eventListenerArg); 366 void voidMethodEventListenerOrNullArg(EventListener? eventListenerArg);
367 void voidMethodNodeFilterArg(NodeFilter nodeFilterArg); 367 void voidMethodNodeFilterArg(NodeFilter nodeFilterArg);
368 void voidMethodPromiseArg(Promise promiseArg); 368 void voidMethodPromiseArg(Promise promiseArg);
369 void voidMethodSerializedScriptValueArg(SerializedScriptValue serializedScri ptValueArg); 369 void voidMethodSerializedScriptValueArg(SerializedScriptValue serializedScri ptValueArg);
370 void voidMethodXPathNSResolverArg(XPathNSResolver xPathNSResolverArg); 370 void voidMethodXPathNSResolverArg(XPathNSResolver xPathNSResolverArg);
371 void voidMethodDictionarySequenceArg(sequence<Dictionary> dictionarySequence Arg); 371 void voidMethodDictionarySequenceArg(sequence<Dictionary> dictionarySequence Arg);
372 372
373 // Arguments 373 // Arguments
374 void voidMethodStringArgLongArg(DOMString stringArg, long longArg); 374 void voidMethodStringArgLongArg(DOMString stringArg, long longArg);
375 // Optional arguments 375 // Optional arguments
376 void voidMethodOptionalStringArg(optional DOMString optionalStringArg); 376 void voidMethodOptionalStringArg(optional DOMString optionalStringArg);
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); 519 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg);
520 520
521 // Extended attributes on referenced interfaces 521 // Extended attributes on referenced interfaces
522 // (not self; self-reference tests at interface themselves) 522 // (not self; self-reference tests at interface themselves)
523 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] 523 attribute TestInterface testInterfaceAttribute; // [ImplementedAs]
524 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu te; // [GarbageCollected] 524 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu te; // [GarbageCollected]
525 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull Attribute; // [GarbageCollected] 525 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull Attribute; // [GarbageCollected]
526 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl ectedAttribute; // [WillBeGarbageCollected] 526 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl ectedAttribute; // [WillBeGarbageCollected]
527 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol lectedOrNullAttribute; // [WillBeGarbageCollected] 527 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol lectedOrNullAttribute; // [WillBeGarbageCollected]
528 }; 528 };
OLDNEW
« no previous file with comments | « Source/bindings/templates/methods.cpp ('k') | Source/bindings/tests/results/V8TestObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698