summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authoryurys@google.com <yurys@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-18 13:43:17 +0000
committeryurys@google.com <yurys@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-18 13:43:17 +0000
commitf099ba3032fb9f0f2cdd1a482c33026451ad379d (patch)
treec437ed6ee2ae626fc62c4dc2c0879eed845bf92e /chrome
parent572e8f59bbee378bde6159dc05169a48be0f3c0e (diff)
downloadchromium_src-f099ba3032fb9f0f2cdd1a482c33026451ad379d.zip
chromium_src-f099ba3032fb9f0f2cdd1a482c33026451ad379d.tar.gz
chromium_src-f099ba3032fb9f0f2cdd1a482c33026451ad379d.tar.bz2
DevTools: don't duplicate eval scripts on each panel switch.
Review URL: http://codereview.chromium.org/211012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26562 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/debugger/devtools_sanity_unittest.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/debugger/devtools_sanity_unittest.cc b/chrome/browser/debugger/devtools_sanity_unittest.cc
index 62d4ccf..e1f6322 100644
--- a/chrome/browser/debugger/devtools_sanity_unittest.cc
+++ b/chrome/browser/debugger/devtools_sanity_unittest.cc
@@ -155,6 +155,12 @@ IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestShowScriptsTab) {
RunTest("testShowScriptsTab", kDebuggerTestPage);
}
+// Tests that scripts are not duplicated after Scripts Panel switch.
+IN_PROC_BROWSER_TEST_F(DevToolsSanityTest,
+ TestNoScriptDuplicatesOnPanelSwitch) {
+ RunTest("testNoScriptDuplicatesOnPanelSwitch", kDebuggerTestPage);
+}
+
// Tests set breakpoint.
// http://crbug.com/16767
IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestSetBreakpoint) {