Chromium Code Reviews

Unified Diff: webkit/glue/devtools/js/debugger_agent.js

Issue 211012: DevTools: don't duplicate eval scripts on each panel switch. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « chrome/browser/debugger/devtools_sanity_unittest.cc ('k') | webkit/glue/devtools/js/tests.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/devtools/js/debugger_agent.js
===================================================================
--- webkit/glue/devtools/js/debugger_agent.js (revision 26554)
+++ webkit/glue/devtools/js/debugger_agent.js (working copy)
@@ -154,14 +154,6 @@
* is shown. It will send request for context id if it's not set yet.
*/
devtools.DebuggerAgent.prototype.initUI = function() {
- // There can be a number of scripts from after-compile events that are
- // pending addition into the UI.
- for (var scriptId in this.parsedScripts_) {
- var script = this.parsedScripts_[scriptId];
- WebInspector.parsedScriptSource(scriptId, script.getUrl(),
- undefined /* script source */, script.getLineOffset());
- }
-
// Initialize scripts cache when Scripts panel is shown first time.
if (this.scriptsCacheInitialized_) {
return;
« no previous file with comments | « chrome/browser/debugger/devtools_sanity_unittest.cc ('k') | webkit/glue/devtools/js/tests.js » ('j') | no next file with comments »

Powered by Google App Engine