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

Side by Side Diff: chrome/test/data/webui/net_internals/main.js

Issue 8474001: Add a timeline view to about:net-internals. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Update comments Created 9 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * Checks visibility of tab handles against expectations, and navigates to all 6 * Checks visibility of tab handles against expectations, and navigates to all
7 * tabs with visible handles, validating visibility of all other tabs as it 7 * tabs with visible handles, validating visibility of all other tabs as it
8 * goes. 8 * goes.
9 */ 9 */
10 netInternalsTest.test('netInternalsTourTabs', function() { 10 netInternalsTest.test('netInternalsTourTabs', function() {
11 // Prevent sending any events to the browser as we flip through tabs, since 11 // Prevent sending any events to the browser as we flip through tabs, since
12 // this tests is just intended to make sure everything's created and hooked 12 // this tests is just intended to make sure everything's created and hooked
13 // up properly Javascript side. 13 // up properly Javascript side.
14 g_browser.disable(); 14 g_browser.disable();
15 15
16 // Expected visibility state of each tab. 16 // Expected visibility state of each tab.
17 var tabVisibilityState = { 17 var tabVisibilityState = {
18 capture: true, 18 capture: true,
19 export: true, 19 export: true,
20 import: true, 20 import: true,
21 proxy: true, 21 proxy: true,
22 events: true, 22 events: true,
23 timeline: true,
23 dns: true, 24 dns: true,
24 sockets: true, 25 sockets: true,
25 spdy: true, 26 spdy: true,
26 httpCache: true, 27 httpCache: true,
27 httpThrottling: true, 28 httpThrottling: true,
28 serviceProviders: cr.isWindows, 29 serviceProviders: cr.isWindows,
29 tests: true, 30 tests: true,
30 hsts: true, 31 hsts: true,
31 logs: cr.isChromeOS, 32 logs: cr.isChromeOS,
32 prerender: true 33 prerender: true
33 }; 34 };
34 35
35 netInternalsTest.checkTabHandleVisibility(tabVisibilityState, true); 36 netInternalsTest.checkTabHandleVisibility(tabVisibilityState, true);
36 37
37 testDone(); 38 testDone();
38 }); 39 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698