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

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

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.h
diff --git a/Source/core/testing/Internals.h b/Source/core/testing/Internals.h
index 386551760d220fbf7e9c2c2bbe670755061923c8..7e96617902d9ef1a8b43e06ad9c3984401c65f36 100644
--- a/Source/core/testing/Internals.h
+++ b/Source/core/testing/Internals.h
@@ -310,6 +310,9 @@ public:
void setShouldRevealPassword(Element*, bool, ExceptionState&);
+ ScriptPromise createPromise(ExecutionContext*);
+ ScriptPromise createResolvedPromise(ExecutionContext*, ScriptValue);
+ ScriptPromise createRejectedPromise(ExecutionContext*, ScriptValue);
ScriptPromise addOneToPromise(ExecutionContext*, ScriptPromise);
void trace(Visitor*);

Powered by Google App Engine
This is Rietveld 408576698