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

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

Issue 6531030: Enable back DevToolsSanityTest.TestScriptsTabIsPopulatedOnInspectedPageRefresh (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/string_util.h" 7 #include "base/string_util.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "chrome/browser/debugger/devtools_client_host.h" 9 #include "chrome/browser/debugger/devtools_client_host.h"
10 #include "chrome/browser/debugger/devtools_manager.h" 10 #include "chrome/browser/debugger/devtools_manager.h"
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 } 252 }
253 253
254 // Tests scripts panel showing. 254 // Tests scripts panel showing.
255 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestShowScriptsTab) { 255 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestShowScriptsTab) {
256 RunTest("testShowScriptsTab", kDebuggerTestPage); 256 RunTest("testShowScriptsTab", kDebuggerTestPage);
257 } 257 }
258 258
259 // Tests that scripts tab is populated with inspected scripts even if it 259 // Tests that scripts tab is populated with inspected scripts even if it
260 // hadn't been shown by the moment inspected paged refreshed. 260 // hadn't been shown by the moment inspected paged refreshed.
261 // @see http://crbug.com/26312 261 // @see http://crbug.com/26312
262 // Marked as disabled: crbug/73289.
263 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, 262 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest,
264 DISABLED_TestScriptsTabIsPopulatedOnInspectedPageRefresh) { 263 TestScriptsTabIsPopulatedOnInspectedPageRefresh) {
265 // Clear inspector settings to ensure that Elements will be 264 // Clear inspector settings to ensure that Elements will be
266 // current panel when DevTools window is open. 265 // current panel when DevTools window is open.
267 GetInspectedTab()->render_view_host()->delegate()->ClearInspectorSettings(); 266 GetInspectedTab()->render_view_host()->delegate()->ClearInspectorSettings();
268 RunTest("testScriptsTabIsPopulatedOnInspectedPageRefresh", 267 RunTest("testScriptsTabIsPopulatedOnInspectedPageRefresh",
269 kDebuggerTestPage); 268 kDebuggerTestPage);
270 } 269 }
271 270
272 // Tests that a content script is in the scripts list. 271 // Tests that a content script is in the scripts list.
273 // This test is disabled, see bug 28961. 272 // This test is disabled, see bug 28961.
274 IN_PROC_BROWSER_TEST_F(DevToolsExtensionDebugTest, 273 IN_PROC_BROWSER_TEST_F(DevToolsExtensionDebugTest,
(...skipping 14 matching lines...) Expand all
289 RunTest("testPauseWhenLoadingDevTools", kPauseWhenLoadingDevTools); 288 RunTest("testPauseWhenLoadingDevTools", kPauseWhenLoadingDevTools);
290 } 289 }
291 290
292 // Tests that pressing 'Pause' will pause script execution if the script 291 // Tests that pressing 'Pause' will pause script execution if the script
293 // is already running. 292 // is already running.
294 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestPauseWhenScriptIsRunning) { 293 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestPauseWhenScriptIsRunning) {
295 RunTest("testPauseWhenScriptIsRunning", kPauseWhenScriptIsRunning); 294 RunTest("testPauseWhenScriptIsRunning", kPauseWhenScriptIsRunning);
296 } 295 }
297 296
298 } // namespace 297 } // 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