Index: WebCore/inspector/front-end/ScriptsPanel.js |
=================================================================== |
--- WebCore/inspector/front-end/ScriptsPanel.js (revision 74264) |
+++ WebCore/inspector/front-end/ScriptsPanel.js (working copy) |
@@ -245,6 +245,9 @@ |
// Resource is finished, bind the script right away. |
resource.addScript(script); |
this._sourceIDMap[sourceID] = resource; |
+ var view = WebInspector.ResourceManager.existingResourceViewForResource(resource); |
+ if (view && view.sourceFrame) |
+ view.sourceFrame.addScript(script); |
} else { |
// Resource is not finished, bind the script later. |
if (!resource._scriptsPendingResourceLoad) { |