Changeset 71257 in webkit
- Timestamp:
- Nov 3, 2010 12:42:22 PM (13 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r71256 r71257 1 2010-11-03 Pavel Feldman <pfeldman@chromium.org> 2 3 Reviewed by Timothy Hatcher. 4 5 Web Inspector: main resource is being re-assigned upon iframe's commit load. 6 https://bugs.webkit.org/show_bug.cgi?id=48940 7 8 * inspector/front-end/ResourceManager.js: 9 (WebInspector.ResourceManager.prototype.identifierForInitialRequest): 10 (WebInspector.ResourceManager.prototype.didCommitLoadForFrame): 11 1 12 2010-11-03 Nate Chapin <japhet@chromium.org> 2 13 -
trunk/WebCore/inspector/front-end/ResourceManager.js
r71254 r71257 64 64 { 65 65 var resource = this._createResource(identifier, url, loader); 66 if (loader.url === url) {67 resource.isMainResource = true;68 WebInspector.mainResource = resource;69 }70 66 71 67 // It is important to bind resource url early (before scripts compile). … … 260 256 { 261 257 this._resourceTreeModel.didCommitLoadForFrame(frame, loader); 258 if (!frame.parentId) { 259 var mainResource = this.resourceForURL(frame.url); 260 if (mainResource) { 261 WebInspector.mainResource = mainResource; 262 mainResource.isMainResource = true; 263 } 264 } 262 265 }, 263 266
Note: See TracChangeset
for help on using the changeset viewer.