| 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 /** | 5 /** |
| 6 * @fileoverview This file contains tests for creating and loading log files. | 6 * @fileoverview This file contains tests for creating and loading log files. |
| 7 * It also tests the stop capturing button, since it both creates and then loads | 7 * It also tests the stop capturing button, since it both creates and then loads |
| 8 * a log dump. | 8 * a log dump. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 sockets: true, | 167 sockets: true, |
| 168 spdy: true, | 168 spdy: true, |
| 169 quic: true, | 169 quic: true, |
| 170 sdch: true, | 170 sdch: true, |
| 171 httpCache: true, | 171 httpCache: true, |
| 172 modules: true, | 172 modules: true, |
| 173 tests: false, | 173 tests: false, |
| 174 hsts: false, | 174 hsts: false, |
| 175 logs: false, | 175 logs: false, |
| 176 prerender: true, | 176 prerender: true, |
| 177 bandwidth: false, | 177 bandwidth: true, |
| 178 chromeos: false, | 178 chromeos: false, |
| 179 visualizer: false | 179 visualizer: false |
| 180 }; | 180 }; |
| 181 NetInternalsTest.checkTabHandleVisibility(tabVisibilityState, false); | 181 NetInternalsTest.checkTabHandleVisibility(tabVisibilityState, false); |
| 182 } | 182 } |
| 183 | 183 |
| 184 /** | 184 /** |
| 185 * Checks the visibility of each view after loading a log dump created by the | 185 * Checks the visibility of each view after loading a log dump created by the |
| 186 * NetLogLogger. Also checks that the BrowserBridge is disabled. | 186 * NetLogLogger. Also checks that the BrowserBridge is disabled. |
| 187 */ | 187 */ |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 taskQueue.addFunctionTask(checkPrivacyStripping.bind(null, true)); | 317 taskQueue.addFunctionTask(checkPrivacyStripping.bind(null, true)); |
| 318 taskQueue.addTask(new CreateAndLoadLogTask('Detailed explanation.')); | 318 taskQueue.addTask(new CreateAndLoadLogTask('Detailed explanation.')); |
| 319 taskQueue.addFunctionTask(checkViewsAfterLogLoaded); | 319 taskQueue.addFunctionTask(checkViewsAfterLogLoaded); |
| 320 taskQueue.run(); | 320 taskQueue.run(); |
| 321 | 321 |
| 322 // Simulate clicking the stop button. | 322 // Simulate clicking the stop button. |
| 323 $(CaptureView.STOP_BUTTON_ID).click(); | 323 $(CaptureView.STOP_BUTTON_ID).click(); |
| 324 }); | 324 }); |
| 325 | 325 |
| 326 })(); // Anonymous namespace | 326 })(); // Anonymous namespace |
| OLD | NEW |