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

Side by Side Diff: chrome/browser/devtools/devtools_sanity_browsertest.cc

Issue 459103006: Disable WorkerDevToolsSanityTest.InspectSharedWorker on Windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months 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) 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 835 matching lines...) Expand 10 before | Expand all | Expand 10 after
846 main_web_contents()->GetRenderViewHost(), 846 main_web_contents()->GetRenderViewHost(),
847 "window.domAutomationController.send(" 847 "window.domAutomationController.send("
848 " '' + (window.uiTests && (typeof uiTests.runTest)));", 848 " '' + (window.uiTests && (typeof uiTests.runTest)));",
849 &result)); 849 &result));
850 ASSERT_EQ("function", result) << "DevTools front-end is broken."; 850 ASSERT_EQ("function", result) << "DevTools front-end is broken.";
851 CloseDevToolsWindow(); 851 CloseDevToolsWindow();
852 } 852 }
853 853
854 #if defined(OS_MACOSX) 854 #if defined(OS_MACOSX)
855 #define MAYBE_InspectSharedWorker DISABLED_InspectSharedWorker 855 #define MAYBE_InspectSharedWorker DISABLED_InspectSharedWorker
856 #elif defined(OS_WIN)
857 // Disabled on Windows due to flakiness. http://crbug.com/403007
858 #define MAYBE_InspectSharedWorker DISABLED_InspectSharedWorker
856 #else 859 #else
857 #define MAYBE_InspectSharedWorker InspectSharedWorker 860 #define MAYBE_InspectSharedWorker InspectSharedWorker
858 #endif 861 #endif
859 // Flakily fails with 25s timeout: http://crbug.com/89845 862 // Flakily fails with 25s timeout: http://crbug.com/89845
860 IN_PROC_BROWSER_TEST_F(WorkerDevToolsSanityTest, MAYBE_InspectSharedWorker) { 863 IN_PROC_BROWSER_TEST_F(WorkerDevToolsSanityTest, MAYBE_InspectSharedWorker) {
861 #if defined(OS_WIN) && defined(USE_ASH) 864 #if defined(OS_WIN) && defined(USE_ASH)
862 // Disable this test in Metro+Ash for now (http://crbug.com/262796). 865 // Disable this test in Metro+Ash for now (http://crbug.com/262796).
863 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kAshBrowserTests)) 866 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kAshBrowserTests))
864 return; 867 return;
865 #endif 868 #endif
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
917 920
918 IN_PROC_BROWSER_TEST_F(RemoteDebuggingTest, RemoteDebugger) { 921 IN_PROC_BROWSER_TEST_F(RemoteDebuggingTest, RemoteDebugger) {
919 #if defined(OS_WIN) && defined(USE_ASH) 922 #if defined(OS_WIN) && defined(USE_ASH)
920 // Disable this test in Metro+Ash for now (http://crbug.com/262796). 923 // Disable this test in Metro+Ash for now (http://crbug.com/262796).
921 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kAshBrowserTests)) 924 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kAshBrowserTests))
922 return; 925 return;
923 #endif 926 #endif
924 927
925 ASSERT_TRUE(RunExtensionTest("target_list")) << message_; 928 ASSERT_TRUE(RunExtensionTest("target_list")) << message_;
926 } 929 }
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