<?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>265957</bug_id>
          
          <creation_ts>2023-12-06 12:09:40 -0800</creation_ts>
          <short_desc>REGRESSION (271535@main): [ macOS Release wk2 ] fullscreen/full-screen-layer-dump.html is frequent failure</short_desc>
          <delta_ts>2023-12-14 10:27:01 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <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="Marta Darbinyan">darbinyan</reporter>
          <assigned_to name="Claudio Saavedra">csaavedra</assigned_to>
          <cc>csaavedra</cc>
    
    <cc>jer.noble</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1997455</commentid>
    <comment_count>0</comment_count>
    <who name="Marta Darbinyan">darbinyan</who>
    <bug_when>2023-12-06 12:09:40 -0800</bug_when>
    <thetext>Description:
fullscreen/full-screen-layer-dump.html is failing consistently on macOS Release wk2 started from 271535@main.

This issue can be bisected to 271535@main by using the command: 
run-webkit-tests  --release --iterations=50 fullscreen/full-screen-layer-dump.html

Confirmed:
271535@main - FAILED 50/50
271534@main - PASSED 50/50

History:
https://results.webkit.org/?suite=layout-tests&amp;test=fullscreen%2Ffull-screen-layer-dump.html&amp;version_name=Monterey&amp;version_name=Sonoma&amp;version_name=Ventura&amp;flavor=wk2

Diff Log:
Test passes if you see a contents layer 3x the size and with a negative offset equal to the size:

(GraphicsLayer
  (anchor 0.00 0.00)
  (bounds 800.00 600.00)
  (children 1
    (GraphicsLayer
      (bounds 800.00 600.00)
      (contentsOpaque 1)
      (backgroundColor #000000)
      (children 2
        (GraphicsLayer
          (preserves3D 1)
          (children 1
            (GraphicsLayer
              (bounds 800.00 600.00)
              (children 2
                (GraphicsLayer
                  (anchor 0.00 0.00)
                  (bounds 800.00 600.00)
                  (contents layer (background color)
                    (position -800.00 -600.00)
                    (bounds 2400.00 1800.00)
                  )
                )
                (GraphicsLayer
                  (bounds 800.00 600.00)
                )
              )
            )
          )
        )
        (GraphicsLayer
          (preserves3D 1)
          (children 1
            (GraphicsLayer
              (bounds 800.00 600.00)


Link:
https://build.webkit.org/results/Apple-Sonoma-Release-WK2-Tests/271609@main%20(865)/fullscreen/full-screen-layer-dump-pretty-diff.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1997456</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-12-06 12:10:16 -0800</bug_when>
    <thetext>&lt;rdar://problem/119268470&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1997532</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-12-06 15:27:36 -0800</bug_when>
    <thetext>Test gardening commit 271641@main (b940f6dc0db7): &lt;https://commits.webkit.org/271641@main&gt;

Reviewed commits have been landed. Closing PR #21414 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1997548</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2023-12-06 16:16:37 -0800</bug_when>
    <thetext>Looking at the history, it doesn&apos;t appear to be consistent, but is indeed failing very frequently. That must be why EWS didn&apos;t detect it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1997688</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-12-07 09:57:37 -0800</bug_when>
    <thetext>Test gardening commit 271680@main (d57e747ddc89): &lt;https://commits.webkit.org/271680@main&gt;

Reviewed commits have been landed. Closing PR #21446 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1997692</commentid>
    <comment_count>5</comment_count>
    <who name="Jer Noble">jer.noble</who>
    <bug_when>2023-12-07 10:16:02 -0800</bug_when>
    <thetext>It seems like this test is doing a layer dump without waiting for layout. There&apos;s a `setTimeout(..., 0)` but this will be insufficient to ensure that layout happens before dumping.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1998941</commentid>
    <comment_count>6</comment_count>
    <who name="Claudio Saavedra">csaavedra</who>
    <bug_when>2023-12-12 05:36:36 -0800</bug_when>
    <thetext>(In reply to Jer Noble from comment #5)
&gt; It seems like this test is doing a layer dump without waiting for layout.
&gt; There&apos;s a `setTimeout(..., 0)` but this will be insufficient to ensure that
&gt; layout happens before dumping.

This test is now failing most of the times in most platforms (including Debug), causing false positive rejections in EWS. If a fix for the test is evident maybe it&apos;s worth fixing it? Otherwise it should get gardened not only for release.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1999003</commentid>
    <comment_count>7</comment_count>
    <who name="Claudio Saavedra">csaavedra</who>
    <bug_when>2023-12-12 09:29:33 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/21687</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1999608</commentid>
    <comment_count>8</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-12-14 09:21:35 -0800</bug_when>
    <thetext>Test gardening commit 272043@main (de121adf537e): &lt;https://commits.webkit.org/272043@main&gt;

Reviewed commits have been landed. Closing PR #21804 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1999609</commentid>
    <comment_count>9</comment_count>
    <who name="Marta Darbinyan">darbinyan</who>
    <bug_when>2023-12-14 09:24:45 -0800</bug_when>
    <thetext>Setting new test expectation since the test is failing on all configurations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1999634</commentid>
    <comment_count>10</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-12-14 10:26:59 -0800</bug_when>
    <thetext>Committed 272053@main (ff8bb9f3e473): &lt;https://commits.webkit.org/272053@main&gt;

Reviewed commits have been landed. Closing PR #21808 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>