Changeset 71136 in webkit
- Timestamp:
- Nov 2, 2010 11:12:18 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r71134 r71136 1 2010-11-02 Pavel Feldman <pfeldman@chromium.org> 2 3 Reviewed by Timothy Hatcher. 4 5 Web Inspector: clear / hide timing information for cached resources. 6 https://bugs.webkit.org/show_bug.cgi?id=48848 7 8 * inspector/front-end/Resource.js: 9 (WebInspector.Resource.prototype.set cached): 10 (WebInspector.Resource.prototype.get timing): 11 (WebInspector.Resource.prototype.set timing): 12 * inspector/front-end/ResourceManager.js: 13 (WebInspector.ResourceManager.prototype.markResourceAsCached): 14 1 15 2010-11-02 Pavel Feldman <pfeldman@chromium.org> 2 16 -
trunk/WebCore/inspector/front-end/Resource.js
r71035 r71136 288 288 { 289 289 this._cached = x; 290 if (x) 291 delete this._timing; 292 }, 293 294 295 get timing() 296 { 297 return this._timing; 298 }, 299 300 set timing(x) 301 { 302 if (!this._cached) 303 this._timing = x; 290 304 }, 291 305 -
trunk/WebCore/inspector/front-end/ResourceManager.js
r71035 r71136 138 138 139 139 resource.cached = true; 140 delete resource.timing;141 140 WebInspector.panels.network.refreshResource(resource); 142 141 },
Note: See TracChangeset
for help on using the changeset viewer.