From 5abb8606fa57c3ebfc8b3c3dbc3fa4a25d2ae306 Mon Sep 17 00:00:00 2001 From: Iain Merrick Date: Mon, 13 Sep 2010 16:35:48 +0100 Subject: Merge WebKit at r67178 : Initial merge by git. Change-Id: I57e01163b6866cb029cdadf405a0394a3918bc18 --- WebCore/inspector/front-end/ScriptsPanel.js | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'WebCore/inspector/front-end/ScriptsPanel.js') diff --git a/WebCore/inspector/front-end/ScriptsPanel.js b/WebCore/inspector/front-end/ScriptsPanel.js index 75fd6f7..c5267f7 100644 --- a/WebCore/inspector/front-end/ScriptsPanel.js +++ b/WebCore/inspector/front-end/ScriptsPanel.js @@ -276,14 +276,6 @@ WebInspector.ScriptsPanel.prototype = { // Remove script from the files list. script.filesSelectOption.parentElement.removeChild(script.filesSelectOption); - - // Move breakpoints to the resource's frame. - if (script._scriptView) { - var sourceFrame = script._scriptView.sourceFrame; - var resourceFrame = this._sourceFrameForScriptOrResource(resource); - for (var j = 0; j < sourceFrame.breakpoints; ++j) - resourceFrame.addBreakpoint(sourceFrame.breakpoints[j]); - } } // Adding first script will add resource. this._addScriptToFilesMenu(resource._scriptsPendingResourceLoad[0]); @@ -599,10 +591,6 @@ WebInspector.ScriptsPanel.prototype = { return null; view = WebInspector.panels.resources.resourceViewForResource(scriptOrResource); view.headersVisible = false; - var sourceFrame = this._sourceFrameForScriptOrResource(scriptOrResource); - var breakpoints = WebInspector.breakpointManager.breakpointsForURL(scriptOrResource.url); - for (var i = 0; i < breakpoints.length; ++i) - sourceFrame.addBreakpoint(breakpoints[i]); } else if (scriptOrResource instanceof WebInspector.Script) view = this.scriptViewForScript(scriptOrResource); -- cgit v1.1