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

Unified Diff: LayoutTests/inspector/tracing/timeline-time.html

Issue 477153005: DevTools: adopt existing Timeline tests for tracing based Timeline (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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: LayoutTests/inspector/tracing/timeline-time.html
diff --git a/LayoutTests/inspector/timeline/timeline-time.html b/LayoutTests/inspector/tracing/timeline-time.html
similarity index 85%
copy from LayoutTests/inspector/timeline/timeline-time.html
copy to LayoutTests/inspector/tracing/timeline-time.html
index 59410f975487a3040c0e5751d6a1538b89d3e035..0e1bfb77f837a84cf042b8da18c31d918fb0f4b9 100644
--- a/LayoutTests/inspector/timeline/timeline-time.html
+++ b/LayoutTests/inspector/tracing/timeline-time.html
@@ -78,8 +78,15 @@ function test()
{
function callback()
{
+ function printRecord(record)
+ {
+ var title = WebInspector.TracingTimelineUIUtils.eventTitle(record.traceEvent(), InspectorTest.timelineModel());
+ InspectorTest.addResult(" " + title);
+ }
var rootRecord = InspectorTest.timelinePresentationModel().rootRecord();
InspectorTest.dumpPresentationRecord(rootRecord, undefined, undefined, ["FunctionCall", "ConsoleTime", "TimeStamp"]);
+ InspectorTest.addResult("Marker records:");
+ InspectorTest.printTimestampRecords(null, printRecord);
InspectorTest.timelinePresentationModel().reset();
next();
}

Powered by Google App Engine
This is Rietveld 408576698