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

Side by Side Diff: chrome/browser/debugger/devtools_sanity_unittest.cc

Issue 8822011: Flaky on Mac: DevToolsSanityTest.TestReattachAfterCrash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "base/bind.h" 5 #include "base/bind.h"
6 #include "base/cancelable_callback.h" 6 #include "base/cancelable_callback.h"
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/stringprintf.h" 10 #include "base/stringprintf.h"
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 // Tests raw headers text. 482 // Tests raw headers text.
483 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestNetworkRawHeadersText) { 483 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestNetworkRawHeadersText) {
484 RunTest("testNetworkRawHeadersText", kChunkedTestPage); 484 RunTest("testNetworkRawHeadersText", kChunkedTestPage);
485 } 485 }
486 486
487 // Tests that console messages are not duplicated on navigation back. 487 // Tests that console messages are not duplicated on navigation back.
488 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestConsoleOnNavigateBack) { 488 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestConsoleOnNavigateBack) {
489 RunTest("testConsoleOnNavigateBack", kNavigateBackTestPage); 489 RunTest("testConsoleOnNavigateBack", kNavigateBackTestPage);
490 } 490 }
491 491
492 #if defined(OS_LINUX) 492 #if defined(OS_LINUX) || defined(OS_MACOSX)
493 // http://crbug.com/103539 493 // http://crbug.com/103539
494 #define TestReattachAfterCrash FLAKY_TestReattachAfterCrash 494 #define TestReattachAfterCrash FLAKY_TestReattachAfterCrash
495 #endif 495 #endif
496 // Tests that inspector will reattach to inspected page when it is reloaded 496 // Tests that inspector will reattach to inspected page when it is reloaded
497 // after a crash. See http://crbug.com/101952 497 // after a crash. See http://crbug.com/101952
498 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestReattachAfterCrash) { 498 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestReattachAfterCrash) {
499 OpenDevToolsWindow(kDebuggerTestPage); 499 OpenDevToolsWindow(kDebuggerTestPage);
500 500
501 ui_test_utils::CrashTab(GetInspectedTab()); 501 ui_test_utils::CrashTab(GetInspectedTab());
502 ui_test_utils::WindowedNotificationObserver observer( 502 ui_test_utils::WindowedNotificationObserver observer(
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 560
561 // Reload page to restart the worker. 561 // Reload page to restart the worker.
562 ui_test_utils::NavigateToURL(browser(), url); 562 ui_test_utils::NavigateToURL(browser(), url);
563 563
564 // Wait until worker script is paused on the debugger statement. 564 // Wait until worker script is paused on the debugger statement.
565 RunTestFuntion(window_, "testPauseInSharedWorkerInitialization"); 565 RunTestFuntion(window_, "testPauseInSharedWorkerInitialization");
566 CloseDevToolsWindow(); 566 CloseDevToolsWindow();
567 } 567 }
568 568
569 } // namespace 569 } // namespace
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698