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

Unified Diff: third_party/WebKit/LayoutTests/inspector/tracing/timeline-window-filter.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-window-filter.html
diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-window-filter.html b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-window-filter.html
deleted file mode 100644
index 3bfdbde879a95790f37d487dd997673b1f3b4af0..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-window-filter.html
+++ /dev/null
@@ -1,66 +0,0 @@
-<html>
-<head>
-<script src="../../http/tests/inspector/inspector-test.js"></script>
-<script src="../../http/tests/inspector/timeline-test.js"></script>
-<script src="resources/timeline-data.js"></script>
-<script>
-
-function test()
-{
- var timeline = WebInspector.panels.timeline;
- var overviewPane = timeline._overviewPane;
-
- InspectorTest.loadTimeline(InspectorTest.timelineData());
-
- timeline._currentViews[0].refreshRecords();
-
- overviewPane._update();
- InspectorTest.addResult("OverviewPane:");
- overviewPane._overviewCalculator.setDisplayWindow(450);
- dumpDividers(overviewPane._overviewCalculator);
- InspectorTest.addResult("");
-
- function dumpFlameChartRecordsCountForRange(windowLeft, windowRight)
- {
- var mainView = timeline._currentViews[0]._mainView;
- mainView._muteAnimation = true;
- overviewPane._overviewGrid.setWindow(windowLeft, windowRight);
- mainView.update();
- InspectorTest.addResult("range = " + windowLeft + " - " + windowRight);
- InspectorTest.addResult("time range = " + mainView._timeWindowLeft + " - " + mainView._timeWindowRight);
- InspectorTest.addResult("");
- }
-
- function dumpDividers(calculator)
- {
- var dividers = WebInspector.TimelineGrid.calculateDividerOffsets(calculator).offsets;
- for (var i = 0; i < dividers.length; ++i)
- dividers[i] -= calculator.zeroTime();
- InspectorTest.addResult("divider offsets: [" + dividers.join(", ") + "]. We are expecting round numbers.");
- }
-
- dumpFlameChartRecordsCountForRange(0, 1);
- dumpFlameChartRecordsCountForRange(0.25, 0.75);
- dumpFlameChartRecordsCountForRange(0.33, 0.66);
-
- overviewPane._overviewGrid.setWindow(0.1, 0.9);
-
- InspectorTest.addResult("--------------------------------------------------------");
- InspectorTest.addResult("time range = " + timeline._windowStartTime + " - " + timeline._windowEndTime);
- InspectorTest.completeTest();
-}
-
-</script>
-</head>
-
-<body onload="runTest()">
-<p>
-Tests the Timeline window filter.
-</p>
-
-<p>
-It applies different ranges to the OverviewGrid and expects that current view reflects the change.
-</p>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698