Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(167)

Side by Side Diff: chrome/test/data/webui/net_internals/log_util.js

Issue 11467013: First cut at UI for saving net_internals data into a file for mobile (Android and Ios). (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 sockets: true, 114 sockets: true,
115 spdy: true, 115 spdy: true,
116 httpPipeline: false, 116 httpPipeline: false,
117 httpCache: true, 117 httpCache: true,
118 serviceProviders: cr.isWindows, 118 serviceProviders: cr.isWindows,
119 tests: false, 119 tests: false,
120 hsts: false, 120 hsts: false,
121 logs: false, 121 logs: false,
122 prerender: true, 122 prerender: true,
123 bandwidth: true, 123 bandwidth: true,
124 chromeos: false 124 chromeos: false,
125 mobile: false
125 }; 126 };
126 NetInternalsTest.checkTabHandleVisibility(tabVisibilityState, false); 127 NetInternalsTest.checkTabHandleVisibility(tabVisibilityState, false);
127 } 128 }
128 129
129 function checkPrivacyStripping(expectedValue) { 130 function checkPrivacyStripping(expectedValue) {
130 expectEquals(expectedValue, 131 expectEquals(expectedValue,
131 SourceTracker.getInstance().getPrivacyStripping()); 132 SourceTracker.getInstance().getPrivacyStripping());
132 } 133 }
133 134
134 /** 135 /**
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698