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

Unified Diff: src/execution.h

Issue 607913002: Report promise reject with no handler (behind a flag). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: more comments Created 6 years, 3 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
« no previous file with comments | « src/debug.cc ('k') | src/execution.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/execution.h
diff --git a/src/execution.h b/src/execution.h
index 89175cd906d80a9533a47013ba2f0ec129b67fdf..8f2497ddbd4cf9010183285c77586d2dd7782d14 100644
--- a/src/execution.h
+++ b/src/execution.h
@@ -85,6 +85,9 @@ class Execution FINAL : public AllStatic {
MUST_USE_RESULT static MaybeHandle<Object> NewDate(
Isolate* isolate, double time);
+ MUST_USE_RESULT static MaybeHandle<Object> PromiseHasRejectHandler(
+ Isolate* isolate, Handle<Object> promise);
+
// Create a new regular expression object from 'pattern' and 'flags'.
MUST_USE_RESULT static MaybeHandle<JSRegExp> NewJSRegExp(
Handle<String> pattern, Handle<String> flags);
« no previous file with comments | « src/debug.cc ('k') | src/execution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698