OLD | NEW |
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 "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/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
(...skipping 787 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
798 #define MAYBE_TestNoScriptDuplicatesOnPanelSwitch \ | 798 #define MAYBE_TestNoScriptDuplicatesOnPanelSwitch \ |
799 TestNoScriptDuplicatesOnPanelSwitch | 799 TestNoScriptDuplicatesOnPanelSwitch |
800 #endif | 800 #endif |
801 | 801 |
802 // Tests that scripts are not duplicated after Scripts Panel switch. | 802 // Tests that scripts are not duplicated after Scripts Panel switch. |
803 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, | 803 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, |
804 MAYBE_TestNoScriptDuplicatesOnPanelSwitch) { | 804 MAYBE_TestNoScriptDuplicatesOnPanelSwitch) { |
805 RunTest("testNoScriptDuplicatesOnPanelSwitch", kDebuggerTestPage); | 805 RunTest("testNoScriptDuplicatesOnPanelSwitch", kDebuggerTestPage); |
806 } | 806 } |
807 | 807 |
| 808 #if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_CHROMEOS) |
| 809 #define MAYBE_TestPauseWhenLoadingDevTools DISABLED_TestPauseWhenLoadingDevTools |
| 810 #else |
| 811 #define MAYBE_TestPauseWhenLoadingDevTools TestPauseWhenLoadingDevTools |
| 812 #endif |
808 // Tests that debugger works correctly if pause event occurs when DevTools | 813 // Tests that debugger works correctly if pause event occurs when DevTools |
809 // frontend is being loaded. | 814 // frontend is being loaded. |
| 815 // Disabled because of flakiness on multiple platforms: crbug.com/329036 |
810 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, | 816 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, |
811 TestPauseWhenLoadingDevTools) { | 817 MAYBE_TestPauseWhenLoadingDevTools) { |
812 RunTest("testPauseWhenLoadingDevTools", kPauseWhenLoadingDevTools); | 818 RunTest("testPauseWhenLoadingDevTools", kPauseWhenLoadingDevTools); |
813 } | 819 } |
814 | 820 |
815 // Tests that pressing 'Pause' will pause script execution if the script | 821 // Tests that pressing 'Pause' will pause script execution if the script |
816 // is already running. | 822 // is already running. |
817 #if defined(OS_WIN) | 823 #if defined(OS_WIN) |
818 // Timing out on windows tryservers: http://crbug.com/219515 | 824 // Timing out on windows tryservers: http://crbug.com/219515 |
819 #define MAYBE_TestPauseWhenScriptIsRunning DISABLED_TestPauseWhenScriptIsRunning | 825 #define MAYBE_TestPauseWhenScriptIsRunning DISABLED_TestPauseWhenScriptIsRunning |
820 #elif defined(OS_LINUX) && !defined(OS_CHROMEOS) && defined(ARCH_CPU_ARM_FAMILY) | 826 #elif defined(OS_LINUX) && !defined(OS_CHROMEOS) && defined(ARCH_CPU_ARM_FAMILY) |
821 // Timing out on linux ARM bot: https://crbug/238453 | 827 // Timing out on linux ARM bot: https://crbug/238453 |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
987 #if defined(OS_WIN) && defined(USE_ASH) | 993 #if defined(OS_WIN) && defined(USE_ASH) |
988 // Disable this test in Metro+Ash for now (http://crbug.com/262796). | 994 // Disable this test in Metro+Ash for now (http://crbug.com/262796). |
989 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kAshBrowserTests)) | 995 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kAshBrowserTests)) |
990 return; | 996 return; |
991 #endif | 997 #endif |
992 | 998 |
993 ASSERT_TRUE(RunExtensionTest("target_list")) << message_; | 999 ASSERT_TRUE(RunExtensionTest("target_list")) << message_; |
994 } | 1000 } |
995 | 1001 |
996 } // namespace | 1002 } // namespace |
OLD | NEW |