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 export: true, | 167 export: true, |
168 import: true, | 168 import: true, |
169 proxy: true, | 169 proxy: true, |
170 events: true, | 170 events: true, |
171 timeline: true, | 171 timeline: true, |
172 dns: true, | 172 dns: true, |
173 sockets: true, | 173 sockets: true, |
174 http2: true, | 174 http2: true, |
175 quic: true, | 175 quic: true, |
176 'alt-svc': true, | 176 'alt-svc': true, |
177 sdch: true, | 177 sdch: false, |
178 httpCache: true, | 178 httpCache: true, |
179 modules: true, | 179 modules: true, |
180 hsts: false, | 180 hsts: false, |
181 prerender: true, | 181 prerender: true, |
182 bandwidth: true, | 182 bandwidth: true, |
183 chromeos: false | 183 chromeos: false |
184 }; | 184 }; |
185 NetInternalsTest.checkTabLinkVisibility(tabVisibilityState, false); | 185 NetInternalsTest.checkTabLinkVisibility(tabVisibilityState, false); |
186 } | 186 } |
187 | 187 |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 taskQueue.addFunctionTask(checkPrivacyStripping.bind(null, true)); | 324 taskQueue.addFunctionTask(checkPrivacyStripping.bind(null, true)); |
325 taskQueue.addTask(new CreateAndLoadLogTask('Detailed explanation.')); | 325 taskQueue.addTask(new CreateAndLoadLogTask('Detailed explanation.')); |
326 taskQueue.addFunctionTask(checkViewsAfterLogLoaded); | 326 taskQueue.addFunctionTask(checkViewsAfterLogLoaded); |
327 taskQueue.run(); | 327 taskQueue.run(); |
328 | 328 |
329 // Simulate clicking the stop button. | 329 // Simulate clicking the stop button. |
330 $(CaptureView.STOP_BUTTON_ID).click(); | 330 $(CaptureView.STOP_BUTTON_ID).click(); |
331 }); | 331 }); |
332 | 332 |
333 })(); // Anonymous namespace | 333 })(); // Anonymous namespace |
OLD | NEW |