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

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

Issue 2145873002: [DevTools] Split inspector/tracing into subdirectories to speed things up. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: third_party/WebKit/LayoutTests/inspector/tracing/timeline-load-event.html
diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-load-event.html b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-load-event.html
deleted file mode 100644
index c1efcb01154cb447e12a51e4d3a6183564534209..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-load-event.html
+++ /dev/null
@@ -1,59 +0,0 @@
-<html>
-<head>
-<script src="../../http/tests/inspector/inspector-test.js"></script>
-<script src="../../http/tests/inspector/timeline-test.js"></script>
-<script>
-function display(callback)
-{
- if (window.testRunner)
- testRunner.setCanOpenWindows(true);
- var popup = window.open("data:text/html,<b>Hello, world</b>");
- popup.onload = function()
- {
- requestAnimationFrame(testRunner.capturePixelsAsyncThen.bind(testRunner, callback));
- }
-}
-
-function test()
-{
- WebInspector.panels.timeline._captureJSProfileSetting.set(false);
- InspectorTest.startTimeline(function() { InspectorTest.reloadPage(pageReloaded); });
-
- function pageReloaded()
- {
- InspectorTest.invokePageFunctionAsync("display", displayDone);
- }
-
- function displayDone()
- {
- InspectorTest.stopTimeline(InspectorTest.safeWrap(finish))
- }
-
- function finish()
- {
- InspectorTest.addResult("Model records:");
- InspectorTest.printTimelineRecords("MarkDOMContent");
- InspectorTest.printTimelineRecords("MarkLoad");
- InspectorTest.addResult("Timestamp records:");
- InspectorTest.printTimestampRecords("MarkDOMContent");
- InspectorTest.printTimestampRecords("MarkLoad");
- InspectorTest.printTimestampRecords("MarkFirstPaint");
-
- var eventDividers = InspectorTest.timelineModel().eventDividerRecords();
- for (var i = 1; i < eventDividers.length; ++i)
- InspectorTest.assertGreaterOrEqual(eventDividers[i], eventDividers[i - 1], "Event divider timestamps should be monotonically non-decreasing");
-
- InspectorTest.completeTest();
- }
-}
-
-</script>
-</head>
-
-<body onload="runTest()">
-<p>
-Tests the load event.
-</p>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698