We can end up calling RenderScrollbar::createCustomScrollbar with `element = nullptr` from RenderLayerScrollableArea::createScrollbar, when the renderer is a RenderFullscreenPlaceholder.
<rdar://64800098>
Created attachment 427240 [details] Patch
Comment on attachment 427240 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=427240&action=review > Source/WebCore/ChangeLog:4 > + https://bugs.webkit.org/show_bug.cgi?id=225141 Should be a radar link under this line. > LayoutTests/fullscreen/full-screen-crash-custom-scrollbars-expected.txt:1 > +END OF TEST We usually say "Passes if the test does not crash".
Created attachment 427300 [details] Patch
Committed r276739 (237139@main): <https://commits.webkit.org/237139@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 427300 [details].