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

Side by Side Diff: chrome/test/data/webui/net_internals/dns_view.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 // Include test fixture. 5 // Include test fixture.
6 GEN_INCLUDE(['net_internals_test.js']); 6 GEN_INCLUDE(['net_internals_test.js']);
7 7
8 // Anonymous namespace 8 // Anonymous namespace
9 (function() { 9 (function() {
10 10
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 taskQueue.addTask(new ClearCacheTask()); 255 taskQueue.addTask(new ClearCacheTask());
256 taskQueue.addTask(new WaitForEntryDestructionTask('somewhere.com')); 256 taskQueue.addTask(new WaitForEntryDestructionTask('somewhere.com'));
257 taskQueue.addTask(new WaitForEntryDestructionTask('nowhere.com')); 257 taskQueue.addTask(new WaitForEntryDestructionTask('nowhere.com'));
258 } 258 }
259 taskQueue.run(true); 259 taskQueue.run(true);
260 }); 260 });
261 261
262 // Flaky on Win Debug build - crbug.com/517484 262 // Flaky on Win Debug build - crbug.com/517484
263 GEN('#if defined(OS_WIN)'); 263 GEN('#if defined(OS_WIN)');
264 GEN('# define MAYBE_netInternalsDnsViewIncognitoClears \\'); 264 GEN('# define MAYBE_netInternalsDnsViewIncognitoClears \\');
265 GEN(' DISABLED_netInternalsDnsViewIncognitoClears'); 265 GEN(' netInternalsDnsViewIncognitoClears');
266 GEN('#else'); 266 GEN('#else');
267 GEN('# define MAYBE_netInternalsDnsViewIncognitoClears \\'); 267 GEN('# define MAYBE_netInternalsDnsViewIncognitoClears \\');
268 GEN(' netInternalsDnsViewIncognitoClears'); 268 GEN(' netInternalsDnsViewIncognitoClears');
269 GEN('#endif'); 269 GEN('#endif');
270 270
271 /** 271 /**
272 * Makes sure that openning and then closing an incognito window clears the 272 * Makes sure that openning and then closing an incognito window clears the
273 * DNS cache. To keep things simple, we add a fake cache entry ourselves, 273 * DNS cache. To keep things simple, we add a fake cache entry ourselves,
274 * rather than having the incognito browser create one. 274 * rather than having the incognito browser create one.
275 */ 275 */
276 TEST_F('NetInternalsTest', 276 TEST_F('NetInternalsTest',
277 'MAYBE_netInternalsDnsViewIncognitoClears', function() { 277 'MAYBE_netInternalsDnsViewIncognitoClears', function() {
278 NetInternalsTest.switchToView('dns'); 278 NetInternalsTest.switchToView('dns');
279 var taskQueue = new NetInternalsTest.TaskQueue(true); 279 var taskQueue = new NetInternalsTest.TaskQueue(true);
280 taskQueue.addTask(new NetInternalsTest.CreateIncognitoBrowserTask()); 280 taskQueue.addTask(new NetInternalsTest.CreateIncognitoBrowserTask());
281 taskQueue.addTask(new AddCacheEntryTask( 281 taskQueue.addTask(new AddCacheEntryTask(
282 'somewhere.com', '1.2.3.4', 0, true)); 282 'somewhere.com', '1.2.3.4', 0, true));
283 taskQueue.addTask(NetInternalsTest.getCloseIncognitoBrowserTask()); 283 taskQueue.addTask(NetInternalsTest.getCloseIncognitoBrowserTask());
284 taskQueue.addTask(new WaitForEntryDestructionTask('somewhere.com')); 284 taskQueue.addTask(new WaitForEntryDestructionTask('somewhere.com'));
285 taskQueue.run(true); 285 taskQueue.run(true);
286 }); 286 });
287 287
288 })(); // Anonymous namespace 288 })(); // Anonymous namespace
OLDNEW
« no previous file with comments | « chrome/test/data/webui/net_internals/bandwidth_view.js ('k') | chrome/test/data/webui/net_internals/log_util.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698