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

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

Issue 399043002: DevTools: switch Timeline frontend into buffered mode and remove the corresponding experiment. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: timeline-websocket-event rebaselined Created 6 years, 5 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/timeline/timeline-load-event.html
diff --git a/LayoutTests/inspector/timeline/timeline-load-event.html b/LayoutTests/inspector/timeline/timeline-load-event.html
index 9c1dc43d122d70813f7ee792c577d63884f1cd9f..a1c8c0d067e089918e0de2ea3c071948eb8c223b 100644
--- a/LayoutTests/inspector/timeline/timeline-load-event.html
+++ b/LayoutTests/inspector/timeline/timeline-load-event.html
@@ -6,21 +6,15 @@
function test()
{
- finishCalled = 0;
+ InspectorTest.startTimeline(function() { InspectorTest.reloadPage(pageReloaded); });
- InspectorTest.startTimeline(function() { InspectorTest.reloadPage(finish); });
- InspectorTest.waitForRecordType("MarkLoad", contentEvent);
-
- function contentEvent()
+ function pageReloaded()
{
InspectorTest.stopTimeline(finish);
}
function finish()
{
- if (++finishCalled !== 2)
- return;
-
InspectorTest.addResult("Model records:");
InspectorTest.printTimelineRecords("MarkDOMContent");
InspectorTest.printTimelineRecords("MarkLoad");

Powered by Google App Engine
This is Rietveld 408576698