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

Side by Side Diff: Source/bindings/tests/idls/modules/TestPartialInterface3.idl

Issue 675693002: An API returning a Promise should not throw an exceptions [overload version] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 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 19 matching lines...) Expand all
30 30
31 [ 31 [
32 ImplementedAs=TestPartialInterfaceImplementation3, 32 ImplementedAs=TestPartialInterfaceImplementation3,
33 PerContextEnabled=PartialContextName3, 33 PerContextEnabled=PartialContextName3,
34 ] partial interface TestInterface { 34 ] partial interface TestInterface {
35 const unsigned short PARTIAL3_UNSIGNED_SHORT = 0; 35 const unsigned short PARTIAL3_UNSIGNED_SHORT = 0;
36 36
37 void voidMethodPartialOverload(DOMString value); 37 void voidMethodPartialOverload(DOMString value);
38 static void staticVoidMethodPartialOverload(DOMString value); 38 static void staticVoidMethodPartialOverload(DOMString value);
39 39
40 Promise promiseMethodPartialOverload(Document document);
41 static Promise staticPromiseMethodPartialOverload(DOMString value);
42
40 void partial2VoidMethod(DOMString value); 43 void partial2VoidMethod(DOMString value);
41 void partial2VoidMethod(Node node); 44 void partial2VoidMethod(Node node);
42 static void partial2StaticVoidMethod(DOMString value); 45 static void partial2StaticVoidMethod(DOMString value);
43 }; 46 };
OLDNEW
« no previous file with comments | « Source/bindings/tests/idls/core/TestObject.idl ('k') | Source/bindings/tests/results/core/V8TestInterface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698