Commit 6872ad5c authored by aandrey@chromium.org's avatar aandrey@chromium.org

Change some names in Promise instrumentation events.

TBR=yangguo@chromium.org

Review URL: https://codereview.chromium.org/374103002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22284 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 969a3d7b
......@@ -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 });
}
}
......
......@@ -37,7 +37,7 @@ function listener(event, exec_state, event_data, data) {
if (base_id < 0)
base_id = event_data.id();
var id = event_data.id() - base_id + 1;
assertEquals("Promise.Resolved", event_data.name());
assertEquals("Promise.resolve", event_data.name());
assertLog(event_data.type() + " #" + id);
} catch (e) {
print(e + e.stack)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment