diff options
author | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-07 13:22:19 +0000 |
---|---|---|
committer | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-07 13:22:19 +0000 |
commit | 0614b501e4df1c1ce02dcd20d3a26d08243e3dfb (patch) | |
tree | 0fb7d2027a0e4b8bb839d75411b7ac88293508fb | |
parent | 68649186ecf6ad9d9029c959f7201688bc6c7bd3 (diff) | |
download | chromium_src-0614b501e4df1c1ce02dcd20d3a26d08243e3dfb.zip chromium_src-0614b501e4df1c1ce02dcd20d3a26d08243e3dfb.tar.gz chromium_src-0614b501e4df1c1ce02dcd20d3a26d08243e3dfb.tar.bz2 |
DevTools: Issue 'scripts' command on attach only, work based on after_compile events in the rest of the cases (such as refresh).
BUG=15825
Review URL: http://codereview.chromium.org/155138
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20021 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | webkit/glue/devtools/js/debugger_agent.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/webkit/glue/devtools/js/debugger_agent.js b/webkit/glue/devtools/js/debugger_agent.js index bab5b4c..d1fcf26d 100644 --- a/webkit/glue/devtools/js/debugger_agent.js +++ b/webkit/glue/devtools/js/debugger_agent.js @@ -106,17 +106,11 @@ devtools.DebuggerAgent.ScopeType = { * Resets debugger agent to its initial state. */ devtools.DebuggerAgent.prototype.reset = function() { - this.scriptsCacheInitialized_ = false; this.contextId_ = null; this.parsedScripts_ = {}; this.requestNumberToBreakpointInfo_ = {}; this.currentCallFrame_ = null; this.requestSeqToCallback_ = {}; - if (WebInspector.panels && - WebInspector.panels.scripts.element.parentElement) { - // Scripts panel has been enabled already. - devtools.tools.getDebuggerAgent().initializeScriptsCache(); - } // Profiler isn't reset because it contains no data that is // specific for a particular V8 instance. All such data is |