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

Unified Diff: include/v8.h

Issue 630373003: Add stack trace to the promise reject callback. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/isolate.cc » ('j') | src/isolate.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/v8.h
diff --git a/include/v8.h b/include/v8.h
index 7a1c479cc427d69abeecd1e235f2e979e1859e3c..ecf6793e675c985f638ddb4413e08390953a19ec 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -4215,8 +4215,9 @@ enum PromiseRejectEvent {
};
typedef void (*PromiseRejectCallback)(Handle<Promise> promise,
+ PromiseRejectEvent event,
aandrey 2014/10/07 10:32:07 I think we'd better extract these to smth like v8:
Handle<Value> value,
- PromiseRejectEvent event);
+ Handle<StackTrace> stack_trace);
// --- Microtask Callback ---
typedef void (*MicrotaskCallback)(void* data);
« no previous file with comments | « no previous file | src/isolate.cc » ('j') | src/isolate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698