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

Unified Diff: LayoutTests/http/tests/inspector/timeline-test.js

Issue 397823003: DevTools: Support multiple target in TimelineModelImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix tests 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 | LayoutTests/inspector/timeline/timeline-receive-response-event.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/inspector/timeline-test.js
diff --git a/LayoutTests/http/tests/inspector/timeline-test.js b/LayoutTests/http/tests/inspector/timeline-test.js
index 9a891477c796bfc9fc03f64ef305037e77159398..a0e8890a7c321a96c711f507e285c35765ff2b6c 100644
--- a/LayoutTests/http/tests/inspector/timeline-test.js
+++ b/LayoutTests/http/tests/inspector/timeline-test.js
@@ -43,6 +43,8 @@ InspectorTest.startTimeline = function(callback)
InspectorTest._timelineRecords = [];
WebInspector.inspectorView.panel("timeline").toggleTimelineButton.toggled = true;
WebInspector.inspectorView.panel("timeline")._model._collectionEnabled = true;
+ WebInspector.inspectorView.panel("timeline")._model._currentTarget = WebInspector.targetManager.mainTarget();
+
TimelineAgent.start(5, false, undefined, true, false, callback);
function addRecord(record)
{
« no previous file with comments | « no previous file | LayoutTests/inspector/timeline/timeline-receive-response-event.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698