OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Include test fixture. | 5 // Include test fixture. |
6 GEN_INCLUDE(['net_internals_test.js']); | 6 GEN_INCLUDE(['net_internals_test.js']); |
7 | 7 |
8 // Anonymous namespace | 8 // Anonymous namespace |
9 (function() { | 9 (function() { |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... |
22 // Expected visibility state of each tab. | 22 // Expected visibility state of each tab. |
23 var tabVisibilityState = { | 23 var tabVisibilityState = { |
24 capture: true, | 24 capture: true, |
25 export: true, | 25 export: true, |
26 import: true, | 26 import: true, |
27 proxy: true, | 27 proxy: true, |
28 events: true, | 28 events: true, |
29 timeline: true, | 29 timeline: true, |
30 dns: true, | 30 dns: true, |
31 sockets: true, | 31 sockets: true, |
| 32 mobile: cr.isMobile, |
32 spdy: true, | 33 spdy: true, |
33 httpPipeline: true, | 34 httpPipeline: true, |
34 httpCache: true, | 35 httpCache: true, |
35 serviceProviders: cr.isWindows, | 36 serviceProviders: cr.isWindows, |
36 tests: true, | 37 tests: true, |
37 hsts: true, | 38 hsts: true, |
38 logs: cr.isChromeOS, | 39 logs: cr.isChromeOS, |
39 prerender: true, | 40 prerender: true, |
40 bandwidth: true, | 41 bandwidth: true, |
41 chromeos: cr.isChromeOS | 42 chromeos: cr.isChromeOS |
42 }; | 43 }; |
43 | 44 |
44 NetInternalsTest.checkTabHandleVisibility(tabVisibilityState, true); | 45 NetInternalsTest.checkTabHandleVisibility(tabVisibilityState, true); |
45 | 46 |
46 testDone(); | 47 testDone(); |
47 }); | 48 }); |
48 | 49 |
49 })(); // Anonymous namespace | 50 })(); // Anonymous namespace |
OLD | NEW |