⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 240381 in webkit


Ignore:
Timestamp:
Jan 23, 2019, 5:21:35 PM (8 years ago)
Author:
Alan Coon
Message:

Cherry-pick r240051. rdar://problem/47458262

Web Inspector: Fix TreeOutline TypeError:​ this._indexesForSubtree is not a function
​https://bugs.webkit.org/show_bug.cgi?id=193501
<rdar://problem/47323967>

Reviewed by Joseph Pecoraro.

  • UserInterface/Views/TreeOutline.js: (WI.TreeOutline.prototype.removeChildAtIndex):

git-svn-id: ​https://svn.webkit.org/repository/webkit/trunk@240051 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Location:
branches/safari-607-branch/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-607-branch/Source/WebInspectorUI/ChangeLog

    r240069 r240381  
     12019-01-23  Alan Coon  <alancoon@apple.com>
     2
     3        Cherry-pick r240051. rdar://problem/47458262
     4
     5    Web Inspector: Fix TreeOutline TypeError:​ this._indexesForSubtree is not a function
     6    https://bugs.webkit.org/show_bug.cgi?id=193501
     7    <rdar://problem/47323967>
     8   
     9    Reviewed by Joseph Pecoraro.
     10   
     11    * UserInterface/Views/TreeOutline.js:
     12    (WI.TreeOutline.prototype.removeChildAtIndex):
     13   
     14   
     15    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@240051 268f45cc-cd09-0410-ab3c-d52691b4dbfc
     16
     17    2019-01-16  Matt Baker  <mattbaker@apple.com>
     18
     19            Web Inspector: Fix TreeOutline TypeError:​ this._indexesForSubtree is not a function
     20            https://bugs.webkit.org/show_bug.cgi?id=193501
     21            <rdar://problem/47323967>
     22
     23            Reviewed by Joseph Pecoraro.
     24
     25            * UserInterface/Views/TreeOutline.js:
     26            (WI.TreeOutline.prototype.removeChildAtIndex):
     27
    1282019-01-15  Alan Coon  <alancoon@apple.com>
    229
  • branches/safari-607-branch/Source/WebInspectorUI/UserInterface/Views/TreeOutline.js

    r240069 r240381  
    324324        }
    325325
     326        let removedIndexes = null;
     327
    326328        let treeOutline = child.treeOutline;
    327329        if (treeOutline) {
    328330            treeOutline._forgetTreeElement(child);
    329331            treeOutline._forgetChildrenRecursive(child);
    330         }
    331 
    332         let removedIndexes = this._indexesForSubtree(child);
     332            removedIndexes = treeOutline._indexesForSubtree(child);
     333        }
    333334
    334335        if (child.previousSibling)
Note: See TracChangeset for help on using the changeset viewer.