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 754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
765 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestNetworkSyncSize) { | 765 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestNetworkSyncSize) { |
766 RunTest("testNetworkSyncSize", kChunkedTestPage); | 766 RunTest("testNetworkSyncSize", kChunkedTestPage); |
767 } | 767 } |
768 | 768 |
769 // Tests raw headers text. | 769 // Tests raw headers text. |
770 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestNetworkRawHeadersText) { | 770 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestNetworkRawHeadersText) { |
771 RunTest("testNetworkRawHeadersText", kChunkedTestPage); | 771 RunTest("testNetworkRawHeadersText", kChunkedTestPage); |
772 } | 772 } |
773 | 773 |
774 // Tests that console messages are not duplicated on navigation back. | 774 // Tests that console messages are not duplicated on navigation back. |
775 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestConsoleOnNavigateBack) { | 775 #if defined(OS_WIN) |
| 776 // Flaking on windows swarm try runs: crbug.com/409285. |
| 777 #define MAYBE_TestConsoleOnNavigateBack DISABLED_TestConsoleOnNavigateBack |
| 778 #else |
| 779 #define MAYBE_TestConsoleOnNavigateBack TestConsoleOnNavigateBack |
| 780 #endif |
| 781 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, MAYBE_TestConsoleOnNavigateBack) { |
776 RunTest("testConsoleOnNavigateBack", kNavigateBackTestPage); | 782 RunTest("testConsoleOnNavigateBack", kNavigateBackTestPage); |
777 } | 783 } |
778 | 784 |
779 // https://crbug.com/397889 | 785 // https://crbug.com/397889 |
780 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestDeviceEmulation) { | 786 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestDeviceEmulation) { |
781 RunTest("testDeviceMetricsOverrides", "about:blank"); | 787 RunTest("testDeviceMetricsOverrides", "about:blank"); |
782 } | 788 } |
783 | 789 |
784 | 790 |
785 // Tests that external navigation from inspector page is always handled by | 791 // Tests that external navigation from inspector page is always handled by |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
902 | 908 |
903 IN_PROC_BROWSER_TEST_F(RemoteDebuggingTest, RemoteDebugger) { | 909 IN_PROC_BROWSER_TEST_F(RemoteDebuggingTest, RemoteDebugger) { |
904 #if defined(OS_WIN) && defined(USE_ASH) | 910 #if defined(OS_WIN) && defined(USE_ASH) |
905 // Disable this test in Metro+Ash for now (http://crbug.com/262796). | 911 // Disable this test in Metro+Ash for now (http://crbug.com/262796). |
906 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kAshBrowserTests)) | 912 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kAshBrowserTests)) |
907 return; | 913 return; |
908 #endif | 914 #endif |
909 | 915 |
910 ASSERT_TRUE(RunExtensionTest("target_list")) << message_; | 916 ASSERT_TRUE(RunExtensionTest("target_list")) << message_; |
911 } | 917 } |
OLD | NEW |