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

Unified Diff: Source/devtools/front_end/timeline/TracingModel.js

Issue 593123003: DevTools: make console.timeline/timelineEnd work for tracing based Timeline (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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: Source/devtools/front_end/timeline/TracingModel.js
diff --git a/Source/devtools/front_end/timeline/TracingModel.js b/Source/devtools/front_end/timeline/TracingModel.js
index 81b5f914fb22585ee1901111910eeb3fa897861e..96442341c4dcc8b524023bda8daf05fda1821a04 100644
--- a/Source/devtools/front_end/timeline/TracingModel.js
+++ b/Source/devtools/front_end/timeline/TracingModel.js
@@ -633,7 +633,7 @@ WebInspector.TracingModel.Process.prototype = {
var thread = this.threadById(payload.tid);
if (payload.ph === phase.AsyncBegin) {
if (steps) {
- console.error("Event " + key + " at " + timestamp + " was already started at " + steps[0].startTime);
+ console.error("Event " + payload.name + " was already started");
alph 2014/09/23 16:02:07 has already been?
yurys 2014/09/23 16:13:28 Done.
return;
}
steps = [WebInspector.TracingModel.Event.fromPayload(payload, thread)];
@@ -642,7 +642,7 @@ WebInspector.TracingModel.Process.prototype = {
return;
}
if (!steps) {
- console.error("Unexpected async event, phase " + payload.ph + " at " + timestamp);
+ console.error("Unexpected async event " + payload.name + ", phase " + payload.ph);
return;
}
var newEvent = WebInspector.TracingModel.Event.fromPayload(payload, thread);
« Source/core/frame/UseCounter.cpp ('K') | « Source/core/inspector/WorkerConsoleAgent.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698