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

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

Issue 232563003: API functions returning Promises should not throw exceptions. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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
« 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 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 // Callback interface types 359 // Callback interface types
360 void voidMethodTestCallbackInterfaceArg(TestCallbackInterface testCallbackIn terfaceArg); 360 void voidMethodTestCallbackInterfaceArg(TestCallbackInterface testCallbackIn terfaceArg);
361 void voidMethodOptionalTestCallbackInterfaceArg(optional TestCallbackInterfa ce optionalTestCallbackInterfaceArg); 361 void voidMethodOptionalTestCallbackInterfaceArg(optional TestCallbackInterfa ce optionalTestCallbackInterfaceArg);
362 void voidMethodTestCallbackInterfaceOrNullArg(TestCallbackInterface? testCal lbackInterfaceArg); 362 void voidMethodTestCallbackInterfaceOrNullArg(TestCallbackInterface? testCal lbackInterfaceArg);
363 // Enumerations 363 // Enumerations
364 TestEnum testEnumMethod(); 364 TestEnum testEnumMethod();
365 void voidMethodTestEnumArg(TestEnum testEnumTypeArg); 365 void voidMethodTestEnumArg(TestEnum testEnumTypeArg);
366 // Exceptional types 366 // Exceptional types
367 Dictionary dictionaryMethod(); 367 Dictionary dictionaryMethod();
368 NodeFilter nodeFilterMethod(); 368 NodeFilter nodeFilterMethod();
369 Promise promiseMethod(); 369 Promise promiseMethod(long arg1, Dictionary arg2, DOMString arg3, DOMString. .. variadic);
370 Promise promiseMethodWithoutExceptionState(Dictionary arg1);
370 SerializedScriptValue serializedScriptValueMethod(); 371 SerializedScriptValue serializedScriptValueMethod();
371 XPathNSResolver xPathNSResolverMethod(); 372 XPathNSResolver xPathNSResolverMethod();
372 void voidMethodDictionaryArg(Dictionary dictionaryArg); 373 void voidMethodDictionaryArg(Dictionary dictionaryArg);
373 void voidMethodNodeFilterArg(NodeFilter nodeFilterArg); 374 void voidMethodNodeFilterArg(NodeFilter nodeFilterArg);
374 void voidMethodPromiseArg(Promise promiseArg); 375 void voidMethodPromiseArg(Promise promiseArg);
375 void voidMethodSerializedScriptValueArg(SerializedScriptValue serializedScri ptValueArg); 376 void voidMethodSerializedScriptValueArg(SerializedScriptValue serializedScri ptValueArg);
376 void voidMethodXPathNSResolverArg(XPathNSResolver xPathNSResolverArg); 377 void voidMethodXPathNSResolverArg(XPathNSResolver xPathNSResolverArg);
377 void voidMethodDictionarySequenceArg(sequence<Dictionary> dictionarySequence Arg); 378 void voidMethodDictionarySequenceArg(sequence<Dictionary> dictionarySequence Arg);
378 379
379 // Arguments 380 // Arguments
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 [ImplementedInPrivateScript] Node nodeMethodWithVariousArgumentsImplementedI nPrivateScript(Document document, Node node, short value1, double value2, DOMStr ing string); 543 [ImplementedInPrivateScript] Node nodeMethodWithVariousArgumentsImplementedI nPrivateScript(Document document, Node node, short value1, double value2, DOMStr ing string);
543 [ImplementedInPrivateScript] readonly attribute short readonlyShortAttribute ; 544 [ImplementedInPrivateScript] readonly attribute short readonlyShortAttribute ;
544 [ImplementedInPrivateScript] attribute short shortAttribute; 545 [ImplementedInPrivateScript] attribute short shortAttribute;
545 [ImplementedInPrivateScript] attribute DOMString stringAttribute; 546 [ImplementedInPrivateScript] attribute DOMString stringAttribute;
546 [ImplementedInPrivateScript] attribute Node nodeAttribute; 547 [ImplementedInPrivateScript] attribute Node nodeAttribute;
547 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2); 548 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2);
548 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly; 549 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly;
549 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2); 550 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2);
550 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly; 551 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly;
551 }; 552 };
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