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

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

Issue 10332277: Disable TestReattachAfterCrash on linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 7 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 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 // Tests raw headers text. 515 // Tests raw headers text.
516 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, MAYBE_TestNetworkRawHeadersText) { 516 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, MAYBE_TestNetworkRawHeadersText) {
517 RunTest("testNetworkRawHeadersText", kChunkedTestPage); 517 RunTest("testNetworkRawHeadersText", kChunkedTestPage);
518 } 518 }
519 519
520 // Tests that console messages are not duplicated on navigation back. 520 // Tests that console messages are not duplicated on navigation back.
521 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestConsoleOnNavigateBack) { 521 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestConsoleOnNavigateBack) {
522 RunTest("testConsoleOnNavigateBack", kNavigateBackTestPage); 522 RunTest("testConsoleOnNavigateBack", kNavigateBackTestPage);
523 } 523 }
524 524
525 #if defined(OS_MACOSX) 525 #if defined(OS_MACOSX) || defined(OS_LINUX)
526 // http://crbug.com/103539 526 // http://crbug.com/103539
527 #define TestReattachAfterCrash DISABLED_TestReattachAfterCrash 527 #define TestReattachAfterCrash DISABLED_TestReattachAfterCrash
528 #endif 528 #endif
529 // Tests that inspector will reattach to inspected page when it is reloaded 529 // Tests that inspector will reattach to inspected page when it is reloaded
530 // after a crash. See http://crbug.com/101952 530 // after a crash. See http://crbug.com/101952
531 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestReattachAfterCrash) { 531 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestReattachAfterCrash) {
532 OpenDevToolsWindow(kDebuggerTestPage); 532 OpenDevToolsWindow(kDebuggerTestPage);
533 533
534 ui_test_utils::CrashTab(GetInspectedTab()); 534 ui_test_utils::CrashTab(GetInspectedTab());
535 ui_test_utils::WindowedNotificationObserver observer( 535 ui_test_utils::WindowedNotificationObserver observer(
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
607 content::CONSOLE_MESSAGE_LEVEL_LOG, 607 content::CONSOLE_MESSAGE_LEVEL_LOG,
608 "log"); 608 "log");
609 devtools_manager->AddMessageToConsole(agent_host, 609 devtools_manager->AddMessageToConsole(agent_host,
610 content::CONSOLE_MESSAGE_LEVEL_ERROR, 610 content::CONSOLE_MESSAGE_LEVEL_ERROR,
611 "error"); 611 "error");
612 RunTestFunction(window_, "checkLogAndErrorMessages"); 612 RunTestFunction(window_, "checkLogAndErrorMessages");
613 CloseDevToolsWindow(); 613 CloseDevToolsWindow();
614 } 614 }
615 615
616 } // namespace 616 } // 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