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

Changeset 267674 in webkit


Ignore:
Timestamp:
Sep 27, 2020, 1:00:18 PM (6 years ago)
Author:
Alan Coon
Message:

Cherry-pick r267092. rdar://problem/69594199

REGRESSION (r267002): ASSERTION FAILED:[ iOS wk2 Debug ] !HashTranslator::equal(KeyTraits::emptyValue(), key) on compositing/ios/overflow-scroll-update-overlap.html
https://bugs.webkit.org/show_bug.cgi?id=216520
<rdar://problem/68894931>

Reviewed by Tim Horton.

Source/WebKit:

Avoid hash lookups with zero nodeIDs.

  • WebProcess/WebPage/RemoteLayerTree/RemoteScrollingCoordinator.mm: (WebKit::RemoteScrollingCoordinator::isRubberBandInProgress const): (WebKit::RemoteScrollingCoordinator::isUserScrollInProgress const): (WebKit::RemoteScrollingCoordinator::isScrollSnapInProgress const):

LayoutTests:

  • platform/ios-wk2/TestExpectations:

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

Location:
branches/safari-610-branch
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-610-branch/LayoutTests/ChangeLog

    r267672 r267674  
     12020-09-27  Alan Coon  <alancoon@apple.com>
     2
     3        Cherry-pick r267092. rdar://problem/69594199
     4
     5    REGRESSION (r267002): ASSERTION FAILED:[ iOS wk2 Debug ] !HashTranslator::equal(KeyTraits::emptyValue(), key) on compositing/ios/overflow-scroll-update-overlap.html
     6    https://bugs.webkit.org/show_bug.cgi?id=216520
     7    <rdar://problem/68894931>
     8   
     9    Reviewed by Tim Horton.
     10   
     11    Source/WebKit:
     12   
     13    Avoid hash lookups with zero nodeIDs.
     14   
     15    * WebProcess/WebPage/RemoteLayerTree/RemoteScrollingCoordinator.mm:
     16    (WebKit::RemoteScrollingCoordinator::isRubberBandInProgress const):
     17    (WebKit::RemoteScrollingCoordinator::isUserScrollInProgress const):
     18    (WebKit::RemoteScrollingCoordinator::isScrollSnapInProgress const):
     19   
     20    LayoutTests:
     21   
     22    * platform/ios-wk2/TestExpectations:
     23   
     24    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267092 268f45cc-cd09-0410-ab3c-d52691b4dbfc
     25
     26    2020-09-15  Simon Fraser  <simon.fraser@apple.com>
     27
     28            REGRESSION (r267002): ASSERTION FAILED:[ iOS wk2 Debug ] !HashTranslator::equal(KeyTraits::emptyValue(), key) on compositing/ios/overflow-scroll-update-overlap.html
     29            https://bugs.webkit.org/show_bug.cgi?id=216520
     30            <rdar://problem/68894931>
     31
     32            Reviewed by Tim Horton.
     33
     34            * platform/ios-wk2/TestExpectations:
     35
    1362020-09-27  Alan Coon  <alancoon@apple.com>
    237
  • branches/safari-610-branch/LayoutTests/platform/ios-wk2/TestExpectations

    r267475 r267674  
    18741874#rdar://69407691 REGRESSION: [ iOS wk2 ] http/wpt/cache-storage/quota-third-party.https.html is a flaky failure
    18751875http/wpt/cache-storage/quota-third-party.https.html [ Pass Failure ]
     1876
     1877webkit.org/b/186045 imported/w3c/web-platform-tests/css/css-ui/text-overflow-017.html [ Skip ]
     1878webkit.org/b/186045 imported/w3c/web-platform-tests/css/css-values/vh_not_refreshing_on_chrome.html [ Skip ]
  • branches/safari-610-branch/Source/WebKit/ChangeLog

    r267673 r267674  
     12020-09-27  Alan Coon  <alancoon@apple.com>
     2
     3        Cherry-pick r267092. rdar://problem/69594199
     4
     5    REGRESSION (r267002): ASSERTION FAILED:[ iOS wk2 Debug ] !HashTranslator::equal(KeyTraits::emptyValue(), key) on compositing/ios/overflow-scroll-update-overlap.html
     6    https://bugs.webkit.org/show_bug.cgi?id=216520
     7    <rdar://problem/68894931>
     8   
     9    Reviewed by Tim Horton.
     10   
     11    Source/WebKit:
     12   
     13    Avoid hash lookups with zero nodeIDs.
     14   
     15    * WebProcess/WebPage/RemoteLayerTree/RemoteScrollingCoordinator.mm:
     16    (WebKit::RemoteScrollingCoordinator::isRubberBandInProgress const):
     17    (WebKit::RemoteScrollingCoordinator::isUserScrollInProgress const):
     18    (WebKit::RemoteScrollingCoordinator::isScrollSnapInProgress const):
     19   
     20    LayoutTests:
     21   
     22    * platform/ios-wk2/TestExpectations:
     23   
     24    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267092 268f45cc-cd09-0410-ab3c-d52691b4dbfc
     25
     26    2020-09-15  Simon Fraser  <simon.fraser@apple.com>
     27
     28            REGRESSION (r267002): ASSERTION FAILED:[ iOS wk2 Debug ] !HashTranslator::equal(KeyTraits::emptyValue(), key) on compositing/ios/overflow-scroll-update-overlap.html
     29            https://bugs.webkit.org/show_bug.cgi?id=216520
     30            <rdar://problem/68894931>
     31
     32            Reviewed by Tim Horton.
     33
     34            Avoid hash lookups with zero nodeIDs.
     35
     36            * WebProcess/WebPage/RemoteLayerTree/RemoteScrollingCoordinator.mm:
     37            (WebKit::RemoteScrollingCoordinator::isRubberBandInProgress const):
     38            (WebKit::RemoteScrollingCoordinator::isUserScrollInProgress const):
     39            (WebKit::RemoteScrollingCoordinator::isScrollSnapInProgress const):
     40
    1412020-09-27  Alan Coon  <alancoon@apple.com>
    242
  • branches/safari-610-branch/Source/WebKit/WebProcess/WebPage/RemoteLayerTree/RemoteScrollingCoordinator.mm

    r267673 r267674  
    7575bool RemoteScrollingCoordinator::isRubberBandInProgress(ScrollingNodeID nodeID) const
    7676{
     77    if (!nodeID)
     78        return false;
    7779    return m_nodesWithActiveRubberBanding.contains(nodeID);
    7880}
     
    8082bool RemoteScrollingCoordinator::isUserScrollInProgress(ScrollingNodeID nodeID) const
    8183{
     84    if (!nodeID)
     85        return false;
    8286    return m_nodesWithActiveUserScrolls.contains(nodeID);
    8387}
     
    8589bool RemoteScrollingCoordinator::isScrollSnapInProgress(ScrollingNodeID nodeID) const
    8690{
     91    if (!nodeID)
     92        return false;
    8793    return m_nodesWithActiveScrollSnap.contains(nodeID);
    8894}
Note: See TracChangeset for help on using the changeset viewer.