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

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: 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: src/mirror-debugger.js
diff --git a/src/mirror-debugger.js b/src/mirror-debugger.js
index 642bdbc41ae7ae72969b8f33dfe99fd60d4ad727..aff7e19af23623a169c4f33b9a5dfccf7ef76b8e 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 = GET_PRIVATE(this.value_, builtins.promiseStatus);
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 GET_PRIVATE(this.value_, builtins.promiseValue);
};

Powered by Google App Engine
This is Rietveld 408576698