Changeset 248757 in webkit
- Timestamp:
- Aug 15, 2019, 6:58:38 PM (7 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UserInterface/Views/ResourceDetailsSidebarPanel.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r248753 r248757 1 2019-08-15 Devin Rousso <drousso@apple.com> 2 3 Web Inspector: Uncaught Exception: TypeError: null is not an object (evaluating 'this._resource.initiatorSourceCodeLocation') 4 https://bugs.webkit.org/show_bug.cgi?id=200798 5 6 Reviewed by Joseph Pecoraro. 7 8 * UserInterface/Views/ResourceDetailsSidebarPanel.js: 9 (WI.ResourceDetailsSidebarPanel.prototype.set resource): 10 (WI.ResourceDetailsSidebarPanel.prototype.layout): 11 Cancel the `Throttler` whenever the `_resource` is updated, as otherwise the `Throttler` may 12 fire later on with an unset `_resource`. 13 1 14 2019-08-15 Devin Rousso <drousso@apple.com> 2 15 -
trunk/Source/WebInspectorUI/UserInterface/Views/ResourceDetailsSidebarPanel.js
r242017 r248757 84 84 if (this._resource && this._needsToRemoveResourceEventListeners) { 85 85 this._resource.removeEventListener(null, null, this); 86 this._refreshRelatedResourcesSectionThrottler.cancel(); 86 87 87 88 this._needsToRemoveResourceEventListeners = false; … … 212 213 this._refreshImageSizeSection(); 213 214 this._refreshRequestDataSection(); 214 this._refreshRelatedResourcesSection ();215 this._refreshRelatedResourcesSectionThrottler.force(); 215 216 } 216 217
Note:
See TracChangeset
for help on using the changeset viewer.