Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 53d54af388d64c83015cc8beeb75790d2d23aec5
      
https://github.com/WebKit/WebKit/commit/53d54af388d64c83015cc8beeb75790d2d23aec5
  Author: Fujii Hironori <[email protected]>
  Date:   2026-03-06 (Fri, 06 Mar 2026)

  Changed paths:
    A 
LayoutTests/compositing/scrolling/async-overflow-scrolling/sticky-in-scrollable-crash-expected.txt
    A 
LayoutTests/compositing/scrolling/async-overflow-scrolling/sticky-in-scrollable-crash.html
    M LayoutTests/platform/glib/TestExpectations
    M Source/WebCore/rendering/RenderLayerCompositor.cpp

  Log Message:
  -----------
  SHOULD NEVER BE REACHED in ScrollingStateNode::insertChild()
https://bugs.webkit.org/show_bug.cgi?id=309156

Reviewed by Simon Fraser.

An assertion failed in ScrollingStateNode::insertChild() because the argument
`index` exceeded the child count.

RenderLayerCompositor::updateScrollCoordinationForLayer should reset
childTreeState.nextChildIndex if it sets a new parent.

Unskipped compositing/scrolling/async-overflow-scrolling test directory for
glib port as well as Mac and iOS ports do.

Test: 
compositing/scrolling/async-overflow-scrolling/sticky-in-scrollable-crash.html

* 
LayoutTests/compositing/scrolling/async-overflow-scrolling/sticky-in-scrollable-crash-expected.txt:
 Added.
* 
LayoutTests/compositing/scrolling/async-overflow-scrolling/sticky-in-scrollable-crash.html:
 Added.
* LayoutTests/platform/glib/TestExpectations:
* Source/WebCore/rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::updateScrollCoordinationForLayer):

Canonical link: https://commits.webkit.org/308838@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to