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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 expectTrue(g_browser.isDisabled()); | 105 expectTrue(g_browser.isDisabled()); |
106 var tabVisibilityState = { | 106 var tabVisibilityState = { |
107 capture: false, | 107 capture: false, |
108 export: true, | 108 export: true, |
109 import: true, | 109 import: true, |
110 proxy: true, | 110 proxy: true, |
111 events: true, | 111 events: true, |
112 timeline: true, | 112 timeline: true, |
113 dns: true, | 113 dns: true, |
114 sockets: true, | 114 sockets: true, |
| 115 mobile: false, |
115 spdy: true, | 116 spdy: true, |
116 httpPipeline: false, | 117 httpPipeline: false, |
117 httpCache: true, | 118 httpCache: true, |
118 serviceProviders: cr.isWindows, | 119 serviceProviders: cr.isWindows, |
119 tests: false, | 120 tests: false, |
120 hsts: false, | 121 hsts: false, |
121 logs: false, | 122 logs: false, |
122 prerender: true, | 123 prerender: true, |
123 bandwidth: true, | 124 bandwidth: true, |
124 chromeos: false | 125 chromeos: false |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 taskQueue.addFunctionTask(checkPrivacyStripping.bind(null, true)); | 209 taskQueue.addFunctionTask(checkPrivacyStripping.bind(null, true)); |
209 taskQueue.addTask(new CreateAndLoadLogTask('Detailed explanation.')); | 210 taskQueue.addTask(new CreateAndLoadLogTask('Detailed explanation.')); |
210 taskQueue.addFunctionTask(checkViewsAfterLogLoaded); | 211 taskQueue.addFunctionTask(checkViewsAfterLogLoaded); |
211 taskQueue.run(); | 212 taskQueue.run(); |
212 | 213 |
213 // Simulate a click on the stop capturing button. | 214 // Simulate a click on the stop capturing button. |
214 $(CaptureStatusView.STOP_BUTTON_ID).click(); | 215 $(CaptureStatusView.STOP_BUTTON_ID).click(); |
215 }); | 216 }); |
216 | 217 |
217 })(); // Anonymous namespace | 218 })(); // Anonymous namespace |
OLD | NEW |