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

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

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, 8 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 5cf148d7fdb57221d1be60fda11eb02f1c676159..bc202903de3b8a4d7a24b89dc57d9e68ef500e93 100644
--- a/Source/core/testing/Internals.h
+++ b/Source/core/testing/Internals.h
@@ -317,6 +317,9 @@ public:
ScriptPromise createResolvedPromise(ExecutionContext*, ScriptValue);
ScriptPromise createRejectedPromise(ExecutionContext*, ScriptValue);
ScriptPromise addOneToPromise(ExecutionContext*, ScriptPromise);
+ ScriptPromise promiseCheck(ExecutionContext*, long, bool, const Dictionary&, const String&, ExceptionState&);
+ ScriptPromise promiseCheckWithoutExceptionState(ExecutionContext*, const Dictionary&, const String&, const Vector<String>&);
+ ScriptPromise promiseCheckRange(ExecutionContext*, long);
void trace(Visitor*);

Powered by Google App Engine
This is Rietveld 408576698