Changeset 282475 in webkit
- Timestamp:
- Sep 15, 2021, 2:49:09 PM (5 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UserInterface/Views/DOMTreeUpdater.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r282360 r282475 1 2021-09-15 Patrick Angle <pangle@apple.com> 2 3 Web Inspector: `DOMTreeUpdater` doesn't complete deferred updating/clear updated lists when a node isn't found in the tree 4 https://bugs.webkit.org/show_bug.cgi?id=230289 5 6 Reviewed by Devin Rousso. 7 8 Instead of an early return when a tree element can't be found, we should continue on to the next updated node 9 and finish out by clearing the collections of updated nodes, otherwise a node that will never be findable again 10 will cause extra work to be done on every update. 11 12 * UserInterface/Views/DOMTreeUpdater.js: 13 (WI.DOMTreeUpdater.prototype._updateModifiedNodes): 14 1 15 2021-09-13 Razvan Caliman <rcaliman@apple.com> 2 16 -
trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeUpdater.js
r278785 r282475 144 144 let nodeTreeElement = this._treeOutline.findTreeElement(node); 145 145 if (!nodeTreeElement) 146 return;146 continue; 147 147 148 148 for (let [attribute, nodes] of this._recentlyModifiedAttributes.entries()) {
Note:
See TracChangeset
for help on using the changeset viewer.