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

Unified Diff: LayoutTests/inspector/tracing/timeline-load-event.html

Issue 732683002: Timeline: bring back FirstPaint marker and remove brown ticks near frame markers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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/tracing/timeline-load-event-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/tracing/timeline-load-event.html
diff --git a/LayoutTests/inspector/tracing/timeline-load-event.html b/LayoutTests/inspector/tracing/timeline-load-event.html
index a1c8c0d067e089918e0de2ea3c071948eb8c223b..2753af4c7a3eb12dee8e40c50a0e13a05e0e7b72 100644
--- a/LayoutTests/inspector/tracing/timeline-load-event.html
+++ b/LayoutTests/inspector/tracing/timeline-load-event.html
@@ -3,6 +3,10 @@
<script src="../../http/tests/inspector/inspector-test.js"></script>
<script src="../../http/tests/inspector/timeline-test.js"></script>
<script>
+function display(callback)
+{
+ requestAnimationFrame(testRunner.displayAsyncThen.bind(testRunner, callback));
+}
function test()
{
@@ -10,7 +14,9 @@ function test()
function pageReloaded()
{
- InspectorTest.stopTimeline(finish);
+ InspectorTest.invokePageFunctionAsync("display", function() {
+ InspectorTest.stopTimeline(finish);
+ });
}
function finish()
@@ -18,9 +24,11 @@ function test()
InspectorTest.addResult("Model records:");
InspectorTest.printTimelineRecords("MarkDOMContent");
InspectorTest.printTimelineRecords("MarkLoad");
+ InspectorTest.printTimelineRecords("MarkFirstPaint");
InspectorTest.addResult("Timestamp records:");
InspectorTest.printTimestampRecords("MarkDOMContent");
InspectorTest.printTimestampRecords("MarkLoad");
+ InspectorTest.printTimestampRecords("MarkFirstPaint");
InspectorTest.completeTest();
}
}
@@ -28,7 +36,7 @@ function test()
</script>
</head>
-<body onload="runTest()">
+<body onload="runTestAfterDisplay()">
<p>
Tests the load event.
</p>
« no previous file with comments | « no previous file | LayoutTests/inspector/tracing/timeline-load-event-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698