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

Unified Diff: third_party/WebKit/LayoutTests/inspector/network/network-filmstrip-overview-showing.html

Issue 2890943003: [Devtools][Regression] Fixed network film strip sometimes errored (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/network/network-filmstrip-overview-showing-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/inspector/network/network-filmstrip-overview-showing.html
diff --git a/third_party/WebKit/LayoutTests/inspector/network/network-filmstrip-overview-showing.html b/third_party/WebKit/LayoutTests/inspector/network/network-filmstrip-overview-showing.html
new file mode 100644
index 0000000000000000000000000000000000000000..154c5329a0a1f5ac8ae560558f9caac53f7f28f8
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/inspector/network/network-filmstrip-overview-showing.html
@@ -0,0 +1,69 @@
+<html>
+<head>
+<script src="../../http/tests/inspector/inspector-test.js"></script>
+<script src="../../http/tests/inspector/network-test.js"></script>
+<script>
+
+function test() {
+ InspectorTest.recordNetwork();
+ var networkPanel = UI.panels.network;
+ var showOverviewSetting = Common.settings.createSetting('networkLogShowOverview', true);
+ var showFilmstripSetting = Common.settings.createSetting('networkRecordFilmStripSetting', false);
+
+ InspectorTest.addResult("Overview should not be showing");
+ InspectorTest.addResult("Filmstrip should not be showing");
+ showOverviewSetting.set(false);
+ showFilmstripSetting.set(false);
+
+ InspectorTest.addResult("Overview Showing: " + isOverviewShowing());
+ InspectorTest.addResult("Filmstrip Showing: " + isFilmstripShowing());
+ InspectorTest.addResult("");
+
+ InspectorTest.addResult("Overview should be showing");
+ InspectorTest.addResult("Filmstrip should not be showing");
+ showOverviewSetting.set(true);
+ showFilmstripSetting.set(false);
+
+ InspectorTest.addResult("Overview Showing: " + isOverviewShowing());
+ InspectorTest.addResult("Filmstrip Showing: " + isFilmstripShowing());
+ InspectorTest.addResult("");
+
+ InspectorTest.addResult("Overview should not be showing");
+ InspectorTest.addResult("Filmstrip should be showing");
+ showOverviewSetting.set(false);
+ showFilmstripSetting.set(true);
+
+ InspectorTest.addResult("Overview Showing: " + isOverviewShowing());
+ InspectorTest.addResult("Filmstrip Showing: " + isFilmstripShowing());
+ InspectorTest.addResult("");
+
+ InspectorTest.addResult("Overview should be showing");
+ InspectorTest.addResult("Filmstrip should be showing");
+ showOverviewSetting.set(true);
+ showFilmstripSetting.set(true);
+
+ InspectorTest.addResult("Overview Showing: " + isOverviewShowing());
+ InspectorTest.addResult("Filmstrip Showing: " + isFilmstripShowing());
+ InspectorTest.addResult("");
+
+ InspectorTest.completeTest();
+
+ function isOverviewShowing() {
+ if (!networkPanel._overviewPane)
+ return false;
+ return networkPanel._overviewPane.isShowing();
+ }
+
+ function isFilmstripShowing() {
+ if (!networkPanel._filmStripView)
+ return false;
+ return networkPanel._filmStripView.isShowing();
+ }
+}
+
+</script>
+</head>
+<body onload="runTest()">
+<p>Tests to make sure film strip and overview pane show if the other does not exist. http://crbug.com/723659</p>
+</body>
+</html>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/network/network-filmstrip-overview-showing-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698