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

Changeset 267092 in webkit


Ignore:
Timestamp:
Sep 15, 2020, 11:39:24 AM (6 years ago)
Author:
Simon Fraser
Message:

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:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r267086 r267092  
     12020-09-15  Simon Fraser  <simon.fraser@apple.com>
     2
     3        REGRESSION (r267002): ASSERTION FAILED:[ iOS wk2 Debug ] !HashTranslator::equal(KeyTraits::emptyValue(), key) on compositing/ios/overflow-scroll-update-overlap.html
     4        https://bugs.webkit.org/show_bug.cgi?id=216520
     5        <rdar://problem/68894931>
     6
     7        Reviewed by Tim Horton.
     8
     9        * platform/ios-wk2/TestExpectations:
     10
    1112020-09-14  Sergio Villar Senin  <svillar@igalia.com>
    212
  • trunk/LayoutTests/platform/ios-wk2/TestExpectations

    r267072 r267092  
    13931393webkit.org/b/208585 imported/w3c/web-platform-tests/mediacapture-streams/MediaStream-removetrack.https.html [ Pass Failure ]
    13941394
    1395 webkit.org/b/208587 scrollingcoordinator/ios/fixed-frame-overflow-swipe.html [ Pass ImageOnlyFailure Crash ]
     1395webkit.org/b/208587 scrollingcoordinator/ios/fixed-frame-overflow-swipe.html [ Pass ImageOnlyFailure ]
    13961396
    13971397webkit.org/b/208590 [ Debug ] fast/events/beforeunload-prompt.html [ Pass Crash ]
     
    18911891webkit.org/b/186045 imported/w3c/web-platform-tests/css/css-ui/text-overflow-017.html [ Skip ]
    18921892webkit.org/b/186045 imported/w3c/web-platform-tests/css/css-values/vh_not_refreshing_on_chrome.html [ Skip ]
    1893 
    1894 webkit.org/b/216520 [ Debug ] fast/scrolling/ios/click-events-during-momentum-scroll-in-overflow.html [ Crash ]
  • trunk/Source/WebKit/ChangeLog

    r267091 r267092  
     12020-09-15  Simon Fraser  <simon.fraser@apple.com>
     2
     3        REGRESSION (r267002): ASSERTION FAILED:[ iOS wk2 Debug ] !HashTranslator::equal(KeyTraits::emptyValue(), key) on compositing/ios/overflow-scroll-update-overlap.html
     4        https://bugs.webkit.org/show_bug.cgi?id=216520
     5        <rdar://problem/68894931>
     6
     7        Reviewed by Tim Horton.
     8
     9        Avoid hash lookups with zero nodeIDs.
     10
     11        * WebProcess/WebPage/RemoteLayerTree/RemoteScrollingCoordinator.mm:
     12        (WebKit::RemoteScrollingCoordinator::isRubberBandInProgress const):
     13        (WebKit::RemoteScrollingCoordinator::isUserScrollInProgress const):
     14        (WebKit::RemoteScrollingCoordinator::isScrollSnapInProgress const):
     15
    1162020-09-15  Alex Christensen  <achristensen@webkit.org>
    217
  • trunk/Source/WebKit/WebProcess/WebPage/RemoteLayerTree/RemoteScrollingCoordinator.mm

    r267002 r267092  
    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.