<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>262107</bug_id>
          
          <creation_ts>2023-09-26 03:16:02 -0700</creation_ts>
          <short_desc>REGRESSION(249828@main) ASSERTION FAILED: willBeComposited == needsToBeComposited in https://www.playstation.com/</short_desc>
          <delta_ts>2023-10-03 03:16:14 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Compositing</component>
          <version>WebKit Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=238589</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tomoki Imai">tomoki.imai</reporter>
          <assigned_to name="Tomoki Imai">tomoki.imai</assigned_to>
          <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1980122</commentid>
    <comment_count>0</comment_count>
      <attachid>467873</attachid>
    <who name="Tomoki Imai">tomoki.imai</who>
    <bug_when>2023-09-26 03:16:02 -0700</bug_when>
    <thetext>Created attachment 467873
testcase

How to reproduce:

- Build WebKitGTK with debug configuration
- Open MiniBrowser
- Make Preferences=&gt;Hardware Acceleration Policy &quot;never&quot;
- Navigate to https://www.playstation.com/ (or attached testcase)

Expected result:
We don&apos;t see any assertion failures.

Actual result:
We see the following assertion failure.


ASSERTION FAILED: willBeComposited == needsToBeComposited(layer, queryData)
/app/webkit/Source/WebCore/rendering/RenderLayerCompositor.cpp(1282) : void WebCore::RenderLayerCompositor::computeCompositingRequirements(WebCore::RenderLayer*, WebCore::RenderLayer&amp;, WebCore::LayerOverlapMap&amp;, CompositingState&amp;, BackingSharingState&amp;, bool&amp;)
1   0x7f6d058cafb3 WTFCrash
2   0x7f6d0fbf4379 /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0x8ff4379) [0x7f6d0fbf4379]
3   0x7f6d1622729b /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0xf62729b) [0x7f6d1622729b]
4   0x7f6d16226ee3 /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0xf626ee3) [0x7f6d16226ee3]
5   0x7f6d16226ee3 /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0xf626ee3) [0x7f6d16226ee3]
6   0x7f6d16226ee3 /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0xf626ee3) [0x7f6d16226ee3]
7   0x7f6d1622567e /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0xf62567e) [0x7f6d1622567e]
8   0x7f6d15642e79 /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0xea42e79) [0x7f6d15642e79]
9   0x7f6d15644c71 /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0xea44c71) [0x7f6d15644c71]
10  0x7f6d1565dbfd /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0xea5dbfd) [0x7f6d1565dbfd]
11  0x7f6d1565cd9d WebCore::LocalFrameViewLayoutContext::layout()
12  0x7f6d15655aa3 WebCore::LocalFrameView::updateLayoutAndStyleIfNeededRecursive()
13  0x7f6d156be631 WebCore::Page::layoutIfNeeded()
14  0x7f6d156bf4f1 WebCore::Page::updateRendering()
15  0x7f6d115e9cc8 /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0xa9e9cc8) [0x7f6d115e9cc8]
16  0x7f6d1167de02 /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0xaa7de02) [0x7f6d1167de02]
17  0x7f6d1167da0d /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0xaa7da0d) [0x7f6d1167da0d]
18  0x7f6d1167d860 /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0xaa7d860) [0x7f6d1167d860]
19  0x7f6d1169741f /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0xaa9741f) [0x7f6d1169741f]
20  0x7f6d11697315 /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0xaa97315) [0x7f6d11697315]
21  0x7f6d11697211 /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0xaa97211) [0x7f6d11697211]
22  0x7f6d11697135 /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0xaa97135) [0x7f6d11697135]
23  0x7f6d116970b4 /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0xaa970b4) [0x7f6d116970b4]
24  0x7f6d104e3881 /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0x98e3881) [0x7f6d104e3881]
25  0x7f6d105ec27c /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0x99ec27c) [0x7f6d105ec27c]
26  0x7f6d05a1b195 /app/webkit/WebKitBuild/Debug/lib/libjavascriptcoregtk-4.1.so.0(+0x461b195) [0x7f6d05a1b195]
27  0x7f6d05a1b1d5 /app/webkit/WebKitBuild/Debug/lib/libjavascriptcoregtk-4.1.so.0(+0x461b1d5) [0x7f6d05a1b1d5]
28  0x7f6d05a1a6df /app/webkit/WebKitBuild/Debug/lib/libjavascriptcoregtk-4.1.so.0(+0x461a6df) [0x7f6d05a1a6df]
29  0x7f6d05a1a72d /app/webkit/WebKitBuild/Debug/lib/libjavascriptcoregtk-4.1.so.0(+0x461a72d) [0x7f6d05a1a72d]
30  0x7f6cfed16527 g_main_context_dispatch
31  0x7f6cfed73888 /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0xbd888) [0x7f6cfed73888]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1980123</commentid>
    <comment_count>1</comment_count>
    <who name="Tomoki Imai">tomoki.imai</who>
    <bug_when>2023-09-26 03:18:14 -0700</bug_when>
    <thetext>This seems to be happened by 281913@main</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1980124</commentid>
    <comment_count>2</comment_count>
    <who name="Tomoki Imai">tomoki.imai</who>
    <bug_when>2023-09-26 03:19:38 -0700</bug_when>
    <thetext>249828@main added new layerWillComposite without &quot;canBeComposited&quot; block.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1980126</commentid>
    <comment_count>3</comment_count>
    <who name="Tomoki Imai">tomoki.imai</who>
    <bug_when>2023-09-26 03:34:22 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/18221</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1982021</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-10-03 03:16:14 -0700</bug_when>
    <thetext>&lt;rdar://problem/116393838&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>467873</attachid>
            <date>2023-09-26 03:16:02 -0700</date>
            <delta_ts>2023-09-26 03:16:02 -0700</delta_ts>
            <desc>testcase</desc>
            <filename>repro.html</filename>
            <type>text/html</type>
            <size>317</size>
            <attacher name="Tomoki Imai">tomoki.imai</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgoKPGJvZHk+CiAgICA8ZGl2PgogICAgICAgIDxpZnJhbWUg
c3R5bGU9InBvc2l0aW9uOiBhYnNvbHV0ZSI+PC9pZnJhbWU+CiAgICAgICAgPGRpdiBzdHlsZT0i
ei1pbmRleDotMTsgcG9zaXRpb246IHJlbGF0aXZlIj4KICAgICAgICAgICAgPGZpZ3VyZSBzdHls
ZT0iZGlzcGxheTogZmxleCI+CiAgICAgICAgICAgICAgICA8cGljdHVyZSBzdHlsZT0iei1pbmRl
eDotMiI+CiAgICAgICAgICAgICAgICA8L3BpY3R1cmU+CiAgICAgICAgICAgIDwvZmlndXJlPgog
ICAgICAgIDwvZGl2PgogICAgPC9kaXY+CjwvYm9keT4=
</data>

          </attachment>
      

    </bug>

</bugzilla>