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

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

Issue 8775068: Revert 112688 - DevTools: remove devtools interactive tests suppressions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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/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/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/stringprintf.h" 10 #include "base/stringprintf.h"
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 } 445 }
446 446
447 // Tests that scripts are not duplicated after Scripts Panel switch. 447 // Tests that scripts are not duplicated after Scripts Panel switch.
448 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, 448 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest,
449 TestNoScriptDuplicatesOnPanelSwitch) { 449 TestNoScriptDuplicatesOnPanelSwitch) {
450 RunTest("testNoScriptDuplicatesOnPanelSwitch", kDebuggerTestPage); 450 RunTest("testNoScriptDuplicatesOnPanelSwitch", kDebuggerTestPage);
451 } 451 }
452 452
453 // Tests that debugger works correctly if pause event occurs when DevTools 453 // Tests that debugger works correctly if pause event occurs when DevTools
454 // frontend is being loaded. 454 // frontend is being loaded.
455 // http://crbug.com/106114
455 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, 456 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest,
456 TestPauseWhenLoadingDevTools) { 457 DISABLED_TestPauseWhenLoadingDevTools) {
457 RunTest("testPauseWhenLoadingDevTools", kPauseWhenLoadingDevTools); 458 RunTest("testPauseWhenLoadingDevTools", kPauseWhenLoadingDevTools);
458 } 459 }
459 460
460 // Tests that pressing 'Pause' will pause script execution if the script 461 // Tests that pressing 'Pause' will pause script execution if the script
461 // is already running. 462 // is already running.
462 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestPauseWhenScriptIsRunning) { 463 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestPauseWhenScriptIsRunning) {
463 RunTest("testPauseWhenScriptIsRunning", kPauseWhenScriptIsRunning); 464 RunTest("testPauseWhenScriptIsRunning", kPauseWhenScriptIsRunning);
464 } 465 }
465 466
466 // Tests network timing. 467 // Tests network timing.
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
536 // http://crbug.com/100538 537 // http://crbug.com/100538
537 #if defined(OS_MACOSX) 538 #if defined(OS_MACOSX)
538 #define MAYBE_PauseInSharedWorkerInitialization DISABLED_PauseInSharedWorkerInit ialization 539 #define MAYBE_PauseInSharedWorkerInitialization DISABLED_PauseInSharedWorkerInit ialization
539 #elif defined(OS_WIN) 540 #elif defined(OS_WIN)
540 #define MAYBE_PauseInSharedWorkerInitialization FLAKY_PauseInSharedWorkerInitial ization 541 #define MAYBE_PauseInSharedWorkerInitialization FLAKY_PauseInSharedWorkerInitial ization
541 #else 542 #else
542 #define MAYBE_PauseInSharedWorkerInitialization PauseInSharedWorkerInitializatio n 543 #define MAYBE_PauseInSharedWorkerInitialization PauseInSharedWorkerInitializatio n
543 #endif 544 #endif
544 // See http://crbug.com/100538 545 // See http://crbug.com/100538
545 546
547 // http://crbug.com/106114 is masking
548 // MAYBE_PauseInSharedWorkerInitialization into
549 // DISABLED_PauseInSharedWorkerInitialization
546 IN_PROC_BROWSER_TEST_F(WorkerDevToolsSanityTest, 550 IN_PROC_BROWSER_TEST_F(WorkerDevToolsSanityTest,
547 MAYBE_PauseInSharedWorkerInitialization) { 551 DISABLED_PauseInSharedWorkerInitialization) {
548 ASSERT_TRUE(test_server()->Start()); 552 ASSERT_TRUE(test_server()->Start());
549 GURL url = test_server()->GetURL(kReloadSharedWorkerTestPage); 553 GURL url = test_server()->GetURL(kReloadSharedWorkerTestPage);
550 ui_test_utils::NavigateToURL(browser(), url); 554 ui_test_utils::NavigateToURL(browser(), url);
551 555
552 scoped_refptr<WorkerData> worker_data = WaitForFirstSharedWorker(); 556 scoped_refptr<WorkerData> worker_data = WaitForFirstSharedWorker();
553 OpenDevToolsWindowForSharedWorker(worker_data.get()); 557 OpenDevToolsWindowForSharedWorker(worker_data.get());
554 558
555 TerminateWorker(worker_data); 559 TerminateWorker(worker_data);
556 560
557 // Reload page to restart the worker. 561 // Reload page to restart the worker.
558 ui_test_utils::NavigateToURL(browser(), url); 562 ui_test_utils::NavigateToURL(browser(), url);
559 563
560 // Wait until worker script is paused on the debugger statement. 564 // Wait until worker script is paused on the debugger statement.
561 RunTestFuntion(window_, "testPauseInSharedWorkerInitialization"); 565 RunTestFuntion(window_, "testPauseInSharedWorkerInitialization");
562 CloseDevToolsWindow(); 566 CloseDevToolsWindow();
563 } 567 }
564 568
565 } // namespace 569 } // 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