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 723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
734 // Tests that a content script is in the scripts list. | 734 // Tests that a content script is in the scripts list. |
735 // History of flakiness: http://crbug.com/114104, http://crbug.com/315288. | 735 // History of flakiness: http://crbug.com/114104, http://crbug.com/315288. |
736 IN_PROC_BROWSER_TEST_F(DevToolsExtensionTest, | 736 IN_PROC_BROWSER_TEST_F(DevToolsExtensionTest, |
737 DISABLED_TestContentScriptIsPresent) { | 737 DISABLED_TestContentScriptIsPresent) { |
738 LoadExtension("simple_content_script"); | 738 LoadExtension("simple_content_script"); |
739 RunTest("testContentScriptIsPresent", kPageWithContentScript); | 739 RunTest("testContentScriptIsPresent", kPageWithContentScript); |
740 } | 740 } |
741 | 741 |
742 // Tests that scripts are not duplicated after Scripts Panel switch. | 742 // Tests that scripts are not duplicated after Scripts Panel switch. |
743 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, | 743 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, |
744 TestNoScriptDuplicatesOnPanelSwitch) { | 744 DISABLED_TestNoScriptDuplicatesOnPanelSwitch) { |
745 RunTest("testNoScriptDuplicatesOnPanelSwitch", kDebuggerTestPage); | 745 RunTest("testNoScriptDuplicatesOnPanelSwitch", kDebuggerTestPage); |
746 } | 746 } |
747 | 747 |
748 // Tests that debugger works correctly if pause event occurs when DevTools | 748 // Tests that debugger works correctly if pause event occurs when DevTools |
749 // frontend is being loaded. | 749 // frontend is being loaded. |
750 // Disabled because of flakiness on all platforms: crbug.com/329036 | 750 // Disabled because of flakiness on all platforms: crbug.com/329036 |
751 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, | 751 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, |
752 DISABLED_TestPauseWhenLoadingDevTools) { | 752 DISABLED_TestPauseWhenLoadingDevTools) { |
753 RunTest("testPauseWhenLoadingDevTools", kPauseWhenLoadingDevTools); | 753 RunTest("testPauseWhenLoadingDevTools", kPauseWhenLoadingDevTools); |
754 } | 754 } |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
925 | 925 |
926 IN_PROC_BROWSER_TEST_F(RemoteDebuggingTest, RemoteDebugger) { | 926 IN_PROC_BROWSER_TEST_F(RemoteDebuggingTest, RemoteDebugger) { |
927 #if defined(OS_WIN) && defined(USE_ASH) | 927 #if defined(OS_WIN) && defined(USE_ASH) |
928 // Disable this test in Metro+Ash for now (http://crbug.com/262796). | 928 // Disable this test in Metro+Ash for now (http://crbug.com/262796). |
929 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kAshBrowserTests)) | 929 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kAshBrowserTests)) |
930 return; | 930 return; |
931 #endif | 931 #endif |
932 | 932 |
933 ASSERT_TRUE(RunExtensionTest("target_list")) << message_; | 933 ASSERT_TRUE(RunExtensionTest("target_list")) << message_; |
934 } | 934 } |
OLD | NEW |