Changeset 223927 in webkit


Ignore:
Timestamp:
Oct 24, 2017, 2:55:36 PM (8 years ago)
Author:
commit-queue@webkit.org
Message:

Uncaught Exception: TypeError: null is not an object (evaluating 'this.treeOutline.isXMLMimeType')
https://bugs.webkit.org/show_bug.cgi?id=178745

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2017-10-24
Reviewed by Brian Burg.

  • UserInterface/Views/DOMTreeUpdater.js:

(WI.DOMTreeUpdater.prototype._updateModifiedNodes):
An earlier tree element update might have caused this other tree element's
waiting to be updated to actually be removed. So just skip past them.

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r223924 r223927  
     12017-10-24  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        Uncaught Exception: TypeError: null is not an object (evaluating 'this.treeOutline.isXMLMimeType')
     4        https://bugs.webkit.org/show_bug.cgi?id=178745
     5
     6        Reviewed by Brian Burg.
     7
     8        * UserInterface/Views/DOMTreeUpdater.js:
     9        (WI.DOMTreeUpdater.prototype._updateModifiedNodes):
     10        An earlier tree element update might have caused this other tree element's
     11        waiting to be updated to actually be removed. So just skip past them.
     12
    1132017-10-24  Fujii Hironori  <Hironori.Fujii@sony.com>
    214
  • trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeUpdater.js

    r220119 r223927  
    121121
    122122        for (let parentTreeElement of parentElementsToUpdate) {
    123             parentTreeElement.updateTitle();
    124             parentTreeElement.updateChildren();
     123            if (parentTreeElement.treeOutline) {
     124                parentTreeElement.updateTitle();
     125                parentTreeElement.updateChildren();
     126            }
    125127        }
    126128
Note: See TracChangeset for help on using the changeset viewer.