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

Unified Diff: LayoutTests/inspector/timeline/timeline-dom-content-loaded-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-dom-content-loaded-event.html
diff --git a/LayoutTests/inspector/timeline/timeline-dom-content-loaded-event.html b/LayoutTests/inspector/timeline/timeline-dom-content-loaded-event.html
index fc571e1086dbf7bc09e77b790aa81ec5974b92dc..367f7959a10dec317d211d8bf845d98f4c629305 100644
--- a/LayoutTests/inspector/timeline/timeline-dom-content-loaded-event.html
+++ b/LayoutTests/inspector/timeline/timeline-dom-content-loaded-event.html
@@ -6,20 +6,15 @@
function test()
{
- finishCalled = 0;
+ InspectorTest.startTimeline(function() { InspectorTest.reloadPage(pageReloaded); });
- InspectorTest.startTimeline(function() { InspectorTest.reloadPage(finish); });
- InspectorTest.waitForRecordType("MarkDOMContent", contentEvent);
-
- function contentEvent()
+ function pageReloaded()
{
InspectorTest.stopTimeline(finish);
}
function finish()
{
- if (++finishCalled < 2)
- return;
InspectorTest.printTimelineRecords("MarkDOMContent");
InspectorTest.completeTest();
}

Powered by Google App Engine
This is Rietveld 408576698