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

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

Issue 11231027: Disabled DevToolsSanityTest.TestReattachAfterCrash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 RunTest("testNetworkRawHeadersText", kChunkedTestPage); 503 RunTest("testNetworkRawHeadersText", kChunkedTestPage);
504 } 504 }
505 505
506 // Tests that console messages are not duplicated on navigation back. 506 // Tests that console messages are not duplicated on navigation back.
507 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestConsoleOnNavigateBack) { 507 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestConsoleOnNavigateBack) {
508 RunTest("testConsoleOnNavigateBack", kNavigateBackTestPage); 508 RunTest("testConsoleOnNavigateBack", kNavigateBackTestPage);
509 } 509 }
510 510
511 // Tests that inspector will reattach to inspected page when it is reloaded 511 // Tests that inspector will reattach to inspected page when it is reloaded
512 // after a crash. See http://crbug.com/101952 512 // after a crash. See http://crbug.com/101952
513 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestReattachAfterCrash) { 513 // DISABLED: crbug.com/156985
514 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestReattachAfterCrash) {
514 OpenDevToolsWindow(kDebuggerTestPage); 515 OpenDevToolsWindow(kDebuggerTestPage);
515 516
516 content::CrashTab(GetInspectedTab()); 517 content::CrashTab(GetInspectedTab());
517 content::WindowedNotificationObserver observer( 518 content::WindowedNotificationObserver observer(
518 content::NOTIFICATION_LOAD_STOP, 519 content::NOTIFICATION_LOAD_STOP,
519 content::Source<NavigationController>( 520 content::Source<NavigationController>(
520 &chrome::GetActiveWebContents(browser())->GetController())); 521 &chrome::GetActiveWebContents(browser())->GetController()));
521 chrome::Reload(browser(), CURRENT_TAB); 522 chrome::Reload(browser(), CURRENT_TAB);
522 observer.Wait(); 523 observer.Wait();
523 524
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
588 content::CONSOLE_MESSAGE_LEVEL_LOG, 589 content::CONSOLE_MESSAGE_LEVEL_LOG,
589 "log"); 590 "log");
590 devtools_manager->AddMessageToConsole(agent_host, 591 devtools_manager->AddMessageToConsole(agent_host,
591 content::CONSOLE_MESSAGE_LEVEL_ERROR, 592 content::CONSOLE_MESSAGE_LEVEL_ERROR,
592 "error"); 593 "error");
593 RunTestFunction(window_, "checkLogAndErrorMessages"); 594 RunTestFunction(window_, "checkLogAndErrorMessages");
594 CloseDevToolsWindow(); 595 CloseDevToolsWindow();
595 } 596 }
596 597
597 } // namespace 598 } // 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