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

Changeset 201839 in webkit


Ignore:
Timestamp:
Jun 8, 2016, 4:02:39 PM (10 years ago)
Author:
BJ Burg
Message:

Uncaught Exception in TimelineDataGrid._updatePopoverForSelectedNode()
https://bugs.webkit.org/show_bug.cgi?id=158502
<rdar://problem/26687038>

Reviewed by Joseph Pecoraro.

  • UserInterface/Views/TimelineDataGrid.js:

(WebInspector.TimelineDataGrid.prototype._updatePopoverForSelectedNode):
It appears that this expression was moved around since it accesses
targetFrame before it's initialized. Check rect.size.height directly.

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r201833 r201839  
     12016-06-08  Brian Burg  <bburg@apple.com>
     2
     3        Uncaught Exception in TimelineDataGrid._updatePopoverForSelectedNode()
     4        https://bugs.webkit.org/show_bug.cgi?id=158502
     5        <rdar://problem/26687038>
     6
     7        Reviewed by Joseph Pecoraro.
     8
     9        * UserInterface/Views/TimelineDataGrid.js:
     10        (WebInspector.TimelineDataGrid.prototype._updatePopoverForSelectedNode):
     11        It appears that this expression was moved around since it accesses
     12        targetFrame before it's initialized. Check rect.size.height directly.
     13
    1142016-06-08  Brian Burg  <bburg@apple.com>
    215
  • trunk/Source/WebInspectorUI/UserInterface/Views/TimelineDataGrid.js

    r200792 r201839  
    490490        // The element might be hidden if it does not have a width and height.
    491491        let rect = WebInspector.Rect.rectFromClientRect(targetPopoverElement.getBoundingClientRect());
    492         if (!rect.size.width && !targetFrame.rect.height)
     492        if (!rect.size.width && !rect.size.height)
    493493            return;
    494494
Note: See TracChangeset for help on using the changeset viewer.