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

Unified Diff: src/mirror-debugger.js

Issue 260723002: Trigger exception debug event for promises at the throw site. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: comments addressed 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
« src/debug.cc ('K') | « src/isolate.cc ('k') | src/promise.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/mirror-debugger.js
diff --git a/src/mirror-debugger.js b/src/mirror-debugger.js
index 642bdbc41ae7ae72969b8f33dfe99fd60d4ad727..fde3f10f3f181e5adc75e56024133ef3cc35fc02 100644
--- a/src/mirror-debugger.js
+++ b/src/mirror-debugger.js
@@ -1186,7 +1186,7 @@ inherits(PromiseMirror, ObjectMirror);
PromiseMirror.prototype.status = function() {
- var status = %GetPromiseStatus(this.value_);
+ var status = builtins.GetPromiseStatus(this.value_);
if (status == 0) return "pending";
if (status == 1) return "resolved";
return "rejected";
@@ -1194,7 +1194,7 @@ PromiseMirror.prototype.status = function() {
PromiseMirror.prototype.promiseValue = function() {
- return %GetPromiseValue(this.value_);
+ return builtins.GetPromiseValue(this.value_);
};
« src/debug.cc ('K') | « src/isolate.cc ('k') | src/promise.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698