OLD | NEW |
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 * Exports a log dump to a string and loads it. Makes sure no errors occur, | 6 * Exports a log dump to a string and loads it. Makes sure no errors occur, |
7 * and checks visibility of tabs aftwards. | 7 * and checks visibility of tabs aftwards. |
8 */ | 8 */ |
9 netInternalsTest.test('netInternalsExportImportDump', function() { | 9 netInternalsTest.test('netInternalsExportImportDump', function() { |
10 // Callback passed to |createLogDumpAsync|. Tries to load the dumped log | 10 // Callback passed to |createLogDumpAsync|. Tries to load the dumped log |
(...skipping 11 matching lines...) Expand all Loading... |
22 timeline: true, | 22 timeline: true, |
23 dns: true, | 23 dns: true, |
24 sockets: true, | 24 sockets: true, |
25 spdy: true, | 25 spdy: true, |
26 httpCache: true, | 26 httpCache: true, |
27 httpThrottling: false, | 27 httpThrottling: false, |
28 serviceProviders: cr.isWindows, | 28 serviceProviders: cr.isWindows, |
29 tests: false, | 29 tests: false, |
30 hsts: false, | 30 hsts: false, |
31 logs: false, | 31 logs: false, |
32 prerender: true | 32 prerender: true, |
| 33 chromeos: false |
33 }; | 34 }; |
34 | 35 |
35 netInternalsTest.checkTabHandleVisibility(tabVisibilityState, false); | 36 netInternalsTest.checkTabHandleVisibility(tabVisibilityState, false); |
36 testDone(); | 37 testDone(); |
37 } | 38 } |
38 | 39 |
39 logutil.createLogDumpAsync('Log dump test', onLogDumpCreated); | 40 logutil.createLogDumpAsync('Log dump test', onLogDumpCreated); |
40 }); | 41 }); |
OLD | NEW |