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

Unified Diff: Source/core/testing/Internals.idl

Issue 197213007: ScriptPromise implementation for V8 Promises (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/testing/Internals.idl
diff --git a/Source/core/testing/Internals.idl b/Source/core/testing/Internals.idl
index b3da863a4d6e92af8290e0709407cc0eb334d3b1..90111eaaab027697b0be3a15ea0ce1ecc426edef 100644
--- a/Source/core/testing/Internals.idl
+++ b/Source/core/testing/Internals.idl
@@ -278,6 +278,9 @@
[RaisesException] void setShouldRevealPassword(Element element, boolean reveal);
+ [CallWith=ExecutionContext] Promise createPromise();
+ [CallWith=ExecutionContext] Promise createResolvedPromise(any value);
+ [CallWith=ExecutionContext] Promise createRejectedPromise(any reason);
[CallWith=ExecutionContext] Promise addOneToPromise(Promise promise);
void startSpeechInput(Element element);

Powered by Google App Engine
This is Rietveld 408576698