OLD | NEW |
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/command_line.h" | 6 #include "base/command_line.h" |
7 #include "base/memory/ref_counted.h" | 7 #include "base/memory/ref_counted.h" |
8 #include "base/path_service.h" | 8 #include "base/path_service.h" |
9 #include "base/stringprintf.h" | 9 #include "base/stringprintf.h" |
10 #include "base/test/test_timeouts.h" | 10 #include "base/test/test_timeouts.h" |
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
502 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestConsoleOnNavigateBack) { | 502 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestConsoleOnNavigateBack) { |
503 RunTest("testConsoleOnNavigateBack", kNavigateBackTestPage); | 503 RunTest("testConsoleOnNavigateBack", kNavigateBackTestPage); |
504 } | 504 } |
505 | 505 |
506 #if defined(OS_LINUX) | 506 #if defined(OS_LINUX) |
507 // http://crbug.com/103539 | 507 // http://crbug.com/103539 |
508 #define TestReattachAfterCrash FLAKY_TestReattachAfterCrash | 508 #define TestReattachAfterCrash FLAKY_TestReattachAfterCrash |
509 #endif | 509 #endif |
510 // Tests that inspector will reattach to inspected page when it is reloaded | 510 // Tests that inspector will reattach to inspected page when it is reloaded |
511 // after a crash. See http://crbug.com/101952 | 511 // after a crash. See http://crbug.com/101952 |
512 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestReattachAfterCrash) { | 512 // Disabled due to http://crbug.com/105433 |
| 513 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestReattachAfterCrash) { |
513 OpenDevToolsWindow(kDebuggerTestPage); | 514 OpenDevToolsWindow(kDebuggerTestPage); |
514 | 515 |
515 ui_test_utils::CrashTab(GetInspectedTab()); | 516 ui_test_utils::CrashTab(GetInspectedTab()); |
516 ui_test_utils::WindowedNotificationObserver observer( | 517 ui_test_utils::WindowedNotificationObserver observer( |
517 content::NOTIFICATION_LOAD_STOP, | 518 content::NOTIFICATION_LOAD_STOP, |
518 content::Source<NavigationController>( | 519 content::Source<NavigationController>( |
519 &browser()->GetSelectedTabContentsWrapper()->controller())); | 520 &browser()->GetSelectedTabContentsWrapper()->controller())); |
520 browser()->Reload(CURRENT_TAB); | 521 browser()->Reload(CURRENT_TAB); |
521 observer.Wait(); | 522 observer.Wait(); |
522 | 523 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
556 | 557 |
557 // Reload page to restart the worker. | 558 // Reload page to restart the worker. |
558 ui_test_utils::NavigateToURL(browser(), url); | 559 ui_test_utils::NavigateToURL(browser(), url); |
559 | 560 |
560 // Wait until worker script is paused on the debugger statement. | 561 // Wait until worker script is paused on the debugger statement. |
561 RunTestFuntion(window_, "testPauseInSharedWorkerInitialization"); | 562 RunTestFuntion(window_, "testPauseInSharedWorkerInitialization"); |
562 CloseDevToolsWindow(); | 563 CloseDevToolsWindow(); |
563 } | 564 } |
564 | 565 |
565 } // namespace | 566 } // namespace |
OLD | NEW |