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

Unified Diff: third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-script-tag-1.html

Issue 2636543003: Timeline: get rid of some rarely used test helper methods (Closed)
Patch Set: Created 3 years, 11 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: third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-script-tag-1.html
diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-script-tag-1.html b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-script-tag-1.html
index 5a0259f49a75ea9cfcdc91e099db33fc33b44404..d77e264bb0f18699b89cc9ca30f670b26a107c01 100644
--- a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-script-tag-1.html
+++ b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-script-tag-1.html
@@ -31,14 +31,12 @@ function test()
function format(record)
{
if (record.type() === TimelineModel.TimelineModel.RecordType.EvaluateScript) {
- InspectorTest.dumpTimelineRecord(record, undefined, undefined, [
- "TimeStamp",
- ]);
InspectorTest.printTimelineRecordProperties(record);
+ } else if (record.type() === TimelineModel.TimelineModel.RecordType.TimeStamp) {
+ InspectorTest.addResult(`----> ${Timeline.TimelineUIUtils.eventTitle(record.traceEvent())}`);
}
- }
-
- InspectorTest.printTimelineRecords(null, InspectorTest.safeWrap(format));
+ };
+ InspectorTest.printTimelineRecords(null, format);
InspectorTest.completeTest();
}
}

Powered by Google App Engine
This is Rietveld 408576698