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

Side by Side Diff: chrome/browser/debugger/devtools_sanity_unittest.cc

Issue 7491011: Setting the InspectSharedWorker interactive test as flaky for all platforms. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 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) 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/command_line.h" 5 #include "base/command_line.h"
6 #include "base/path_service.h" 6 #include "base/path_service.h"
7 #include "base/stringprintf.h" 7 #include "base/stringprintf.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "chrome/browser/debugger/devtools_window.h" 9 #include "chrome/browser/debugger/devtools_window.h"
10 #include "chrome/browser/extensions/extension_host.h" 10 #include "chrome/browser/extensions/extension_host.h"
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 ui_test_utils::ExecuteJavaScriptAndExtractString( 428 ui_test_utils::ExecuteJavaScriptAndExtractString(
429 window_->GetRenderViewHost(), 429 window_->GetRenderViewHost(),
430 L"", 430 L"",
431 L"window.domAutomationController.send(" 431 L"window.domAutomationController.send("
432 L"'' + (window.uiTests && (typeof uiTests.runTest)));", 432 L"'' + (window.uiTests && (typeof uiTests.runTest)));",
433 &result)); 433 &result));
434 ASSERT_EQ("function", result) << "DevTools front-end is broken."; 434 ASSERT_EQ("function", result) << "DevTools front-end is broken.";
435 CloseDevToolsWindow(); 435 CloseDevToolsWindow();
436 } 436 }
437 437
438 #if defined(OS_WINDOWS) || defined(OS_LINUX) || defined(OS_CHROMEOS)
439 // Flakily fails: http://crbug.com/89845 438 // Flakily fails: http://crbug.com/89845
440 #define MAYBE_InspectSharedWorker FLAKY_InspectSharedWorker 439 IN_PROC_BROWSER_TEST_F(WorkerDevToolsSanityTest, FLAKY_InspectSharedWorker) {
441 #else
442 #define MAYBE_InspectSharedWorker InspectSharedWorker
443 #endif
444 IN_PROC_BROWSER_TEST_F(WorkerDevToolsSanityTest, MAYBE_InspectSharedWorker) {
445 RunTest("testSharedWorker", kSharedWorkerTestPage); 440 RunTest("testSharedWorker", kSharedWorkerTestPage);
446 } 441 }
447 442
448 } // namespace 443 } // namespace
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