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

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

Issue 1104233004: DevTools: rebaseline inspector tests with poor expectations (2). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebaselined Created 5 years, 8 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-script-tag-1.html
diff --git a/LayoutTests/inspector/tracing/timeline-script-tag-1.html b/LayoutTests/inspector/tracing/timeline-script-tag-1.html
index 9c2519f4f2015950913971772c367a341a5ab1b4..65875fd712fcb27189ffd07541b0f463856500e3 100644
--- a/LayoutTests/inspector/tracing/timeline-script-tag-1.html
+++ b/LayoutTests/inspector/tracing/timeline-script-tag-1.html
@@ -27,29 +27,17 @@ function test()
function step3()
{
- function format1(record)
+ function format(record)
{
- if (record.type() === WebInspector.TimelineModel.RecordType.ParseHTML) {
+ if (record.type() === WebInspector.TimelineModel.RecordType.EvaluateScript) {
InspectorTest.dumpTimelineRecord(record, undefined, undefined, [
- "ParseHTML",
- "EvaluateScript",
- "EventDispatch",
- "FunctionCall",
"TimeStamp",
- "MarkLoad",
- "MarkDOMContent"
]);
- }
- }
-
- function format2(record)
- {
- if (record.type() === WebInspector.TimelineModel.RecordType.EvaluateScript)
InspectorTest.printTimelineRecordProperties(record);
+ }
}
- InspectorTest.printTimelineRecords(null, InspectorTest.safeWrap(format1));
- InspectorTest.printTimelineRecords(null, InspectorTest.safeWrap(format2));
+ InspectorTest.printTimelineRecords(null, InspectorTest.safeWrap(format));
InspectorTest.completeTest();
}
}

Powered by Google App Engine
This is Rietveld 408576698