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

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

Issue 1284083002: Print stack traces in child processes when browser tests failed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more fixes Created 5 years, 4 months 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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 function() { 254 function() {
255 var taskQueue = new NetInternalsTest.TaskQueue(true); 255 var taskQueue = new NetInternalsTest.TaskQueue(true);
256 taskQueue.addTask(new GetNetLogFileContentsAndLoadLogTask(0)); 256 taskQueue.addTask(new GetNetLogFileContentsAndLoadLogTask(0));
257 taskQueue.addFunctionTask(checkViewsAfterNetLogFileLoaded); 257 taskQueue.addFunctionTask(checkViewsAfterNetLogFileLoaded);
258 taskQueue.run(true); 258 taskQueue.run(true);
259 }); 259 });
260 260
261 // Flaky on Win Debug build - crbug.com/517484 261 // Flaky on Win Debug build - crbug.com/517484
262 GEN('#if defined(OS_WIN)'); 262 GEN('#if defined(OS_WIN)');
263 GEN('# define MAYBE_netInternalsLogUtilImportNetLogFileTruncated \\'); 263 GEN('# define MAYBE_netInternalsLogUtilImportNetLogFileTruncated \\');
264 GEN(' DISABLED_netInternalsLogUtilImportNetLogFileTruncated'); 264 GEN(' netInternalsLogUtilImportNetLogFileTruncated');
265 GEN('#else'); 265 GEN('#else');
266 GEN('# define MAYBE_netInternalsLogUtilImportNetLogFileTruncated \\'); 266 GEN('# define MAYBE_netInternalsLogUtilImportNetLogFileTruncated \\');
267 GEN(' netInternalsLogUtilImportNetLogFileTruncated'); 267 GEN(' netInternalsLogUtilImportNetLogFileTruncated');
268 GEN('#endif'); 268 GEN('#endif');
269 269
270 /** 270 /**
271 * Same as above, but it truncates the log to simulate the case of a crash when 271 * Same as above, but it truncates the log to simulate the case of a crash when
272 * creating a log. 272 * creating a log.
273 */ 273 */
274 TEST_F('NetInternalsTest', 274 TEST_F('NetInternalsTest',
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 taskQueue.addFunctionTask(checkPrivacyStripping.bind(null, true)); 334 taskQueue.addFunctionTask(checkPrivacyStripping.bind(null, true));
335 taskQueue.addTask(new CreateAndLoadLogTask('Detailed explanation.')); 335 taskQueue.addTask(new CreateAndLoadLogTask('Detailed explanation.'));
336 taskQueue.addFunctionTask(checkViewsAfterLogLoaded); 336 taskQueue.addFunctionTask(checkViewsAfterLogLoaded);
337 taskQueue.run(); 337 taskQueue.run();
338 338
339 // Simulate clicking the stop button. 339 // Simulate clicking the stop button.
340 $(CaptureView.STOP_BUTTON_ID).click(); 340 $(CaptureView.STOP_BUTTON_ID).click();
341 }); 341 });
342 342
343 })(); // Anonymous namespace 343 })(); // Anonymous namespace
OLDNEW
« no previous file with comments | « chrome/test/data/webui/net_internals/dns_view.js ('k') | chrome/test/data/webui/net_internals/prerender_view.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698