function test()
{
- WebInspector.inspectorView.showPanel("timeline");
- WebInspector.inspectorView.panel("timeline")._model._currentTarget = WebInspector.targetManager.mainTarget();
+ WebInspector.TimelinePanel.show();
+ WebInspector.panels.timeline._model._currentTarget = WebInspector.targetManager.mainTarget();
InspectorTest.invokeAsyncWithTimeline("performActions", finish);
function finish()
dumpFormattedRecord(presentationRecord.presentationChildren()[i], childPrefix);
}
}
- var records = WebInspector.panels.timeline._currentViews[0]._rootRecord().presentationChildren();
+ var records = InspectorTest.timelinePresentationModel().rootRecord().presentationChildren();
for (var i = 0; i < records.length; ++i)
dumpFormattedRecord(records[i]);
InspectorTest.completeTest();