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 }); |
} |
} |