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

Unified Diff: src/promise.js

Issue 374103002: Change some names in Promise instrumentation events. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 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 | test/mjsunit/es6/debug-promises-async-task-event.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/promise.js
diff --git a/src/promise.js b/src/promise.js
index 9289cc580ae28de7a3475593dd7f497cb688f88e..c94e05968dac17b9bb7a5bbee3bacf2aa42c85da 100644
--- a/src/promise.js
+++ b/src/promise.js
@@ -139,7 +139,7 @@ var lastMicrotaskId = 0;
});
if (instrumenting) {
id = ++lastMicrotaskId;
- name = status > 0 ? "Promise.Resolved" : "Promise.Rejected";
+ name = status > 0 ? "Promise.resolve" : "Promise.reject";
%DebugAsyncTaskEvent({ type: "enqueue", id: id, name: name });
}
}
« no previous file with comments | « no previous file | test/mjsunit/es6/debug-promises-async-task-event.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698