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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/network-test.js"></script>
5 <script>
6
7 function test() {
8 InspectorTest.recordNetwork();
9 var networkPanel = UI.panels.network;
10 var showOverviewSetting = Common.settings.createSetting('networkLogShowOverv iew', true);
11 var showFilmstripSetting = Common.settings.createSetting('networkRecordFilmS tripSetting', false);
12
13 InspectorTest.addResult("Overview should not be showing");
14 InspectorTest.addResult("Filmstrip should not be showing");
15 showOverviewSetting.set(false);
16 showFilmstripSetting.set(false);
17
18 InspectorTest.addResult("Overview Showing: " + isOverviewShowing());
19 InspectorTest.addResult("Filmstrip Showing: " + isFilmstripShowing());
20 InspectorTest.addResult("");
21
22 InspectorTest.addResult("Overview should be showing");
23 InspectorTest.addResult("Filmstrip should not be showing");
24 showOverviewSetting.set(true);
25 showFilmstripSetting.set(false);
26
27 InspectorTest.addResult("Overview Showing: " + isOverviewShowing());
28 InspectorTest.addResult("Filmstrip Showing: " + isFilmstripShowing());
29 InspectorTest.addResult("");
30
31 InspectorTest.addResult("Overview should not be showing");
32 InspectorTest.addResult("Filmstrip should be showing");
33 showOverviewSetting.set(false);
34 showFilmstripSetting.set(true);
35
36 InspectorTest.addResult("Overview Showing: " + isOverviewShowing());
37 InspectorTest.addResult("Filmstrip Showing: " + isFilmstripShowing());
38 InspectorTest.addResult("");
39
40 InspectorTest.addResult("Overview should be showing");
41 InspectorTest.addResult("Filmstrip should be showing");
42 showOverviewSetting.set(true);
43 showFilmstripSetting.set(true);
44
45 InspectorTest.addResult("Overview Showing: " + isOverviewShowing());
46 InspectorTest.addResult("Filmstrip Showing: " + isFilmstripShowing());
47 InspectorTest.addResult("");
48
49 InspectorTest.completeTest();
50
51 function isOverviewShowing() {
52 if (!networkPanel._overviewPane)
53 return false;
54 return networkPanel._overviewPane.isShowing();
55 }
56
57 function isFilmstripShowing() {
58 if (!networkPanel._filmStripView)
59 return false;
60 return networkPanel._filmStripView.isShowing();
61 }
62 }
63
64 </script>
65 </head>
66 <body onload="runTest()">
67 <p>Tests to make sure film strip and overview pane show if the other does not ex ist. http://crbug.com/723659</p>
68 </body>
69 </html>
OLDNEW
« 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