<?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>275696</bug_id>
          
          <creation_ts>2024-06-20 09:58:33 -0700</creation_ts>
          <short_desc>[ iOS ] 4 fast/events/ios/rotation/* tests are near-constantly failing.</short_desc>
          <delta_ts>2024-08-06 15:52:28 -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>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=277715</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="Ben Schwartz">ben_schwartz</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>a_protyasha</cc>
    
    <cc>ayumi_kojima</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>2042238</commentid>
    <comment_count>0</comment_count>
    <who name="Ben Schwartz">ben_schwartz</who>
    <bug_when>2024-06-20 09:58:33 -0700</bug_when>
    <thetext>fast/events/ios/rotation/safe-area-insets-during-safari-type-rotation.html

This test is constantly failing on iOS.

HISTORY:

https://results.webkit.org/?suite=layout-tests&amp;test=fast%2Fevents%2Fios%2Frotation%2Fsafe-area-insets-during-safari-type-rotation.html

TEXT DIFF:

 Before rotation
-layoutViewport: 0, 0 - 320 x 548
-visualViewport: 0, 0 - 320 x 548
-client rect of fixed object:0, 0 - 320 x 548
+layoutViewport: 0, 0 - 390 x 797
+visualViewport: 0, 0 - 390 x 797
+client rect of fixed object:0, 0 - 390 x 797
 
 In resize event handler:
-layoutViewport: 0, 0 - 568 x 320
-visualViewport: 0, 0 - 568 x 320
-client rect of fixed object:100, 50 - 443 x 195
+layoutViewport: 0, 0 - 600 x 800
+visualViewport: 0, 0 - 600 x 800
+client rect of fixed object:100, 50 - 475 x 675
+
+In resize event handler:
+layoutViewport: 0, 0 - 844 x 390
+visualViewport: 0, 0 - 844 x 390
+client rect of fixed object:100, 50 - 719 x 265
+
+In resize event handler:
+layoutViewport: 0, 0 - 600 x 800
+visualViewport: 0, 0 - 600 x 800
+client rect of fixed object:100, 50 - 475 x 675
+
+In resize event handler:
+layoutViewport: 0, 0 - 844 x 390
+visualViewport: 0, 0 - 844 x 390
+client rect of fixed object:100, 50 - 719 x 265
 
 After rotation
-layoutViewport: 0, 0 - 568 x 320
-visualViewport: 0, 0 - 568 x 320
-client rect of fixed object:100, 50 - 443 x 195
+layoutViewport: 0, 0 - 844 x 390
+visualViewport: 0, 0 - 844 x 390
+client rect of fixed object:100, 50 - 719 x 265

DIFF URL:

https://build.webkit.org/results/Apple-iOS-17-Simulator-Debug-WK2-Tests/280198@main%20(1920)/fast/events/ios/rotation/safe-area-insets-during-safari-type-rotation-pretty-diff.html

REPRODUCIBILITY:

I was able to reproduce this issue on iOS simulator (17.4, 21E237/arm64) ToT using the following command:

run-webkit-tests -v fast/events/ios/rotation/safe-area-insets-during-safari-type-rotation.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2042239</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-06-20 09:58:46 -0700</bug_when>
    <thetext>&lt;rdar://problem/130212796&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2042243</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-06-20 10:15:09 -0700</bug_when>
    <thetext>Test gardening commit 280206@main (524ce3bdb99d): &lt;https://commits.webkit.org/280206@main&gt;

Reviewed commits have been landed. Closing PR #30006 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2042268</commentid>
    <comment_count>3</comment_count>
    <who name="Ben Schwartz">ben_schwartz</who>
    <bug_when>2024-06-20 11:48:58 -0700</bug_when>
    <thetext>I&apos;m adding two other tests that appear to be experiencing a similar issue. The three affected tests are:

fast/events/ios/rotation/safe-area-insets-during-safari-type-rotation.html
fast/events/ios/rotation/layout-viewport-during-rotation.html
fast/events/ios/rotation/safari-like-rotation.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2042269</commentid>
    <comment_count>4</comment_count>
    <who name="Ben Schwartz">ben_schwartz</who>
    <bug_when>2024-06-20 11:49:31 -0700</bug_when>
    <thetext>HISTORY:

https://results.webkit.org/?suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;test=fast%2Fevents%2Fios%2Frotation%2Fsafe-area-insets-during-safari-type-rotation.html&amp;test=fast%2Fevents%2Fios%2Frotation%2Flayout-viewport-during-rotation.html&amp;test=fast%2Fevents%2Fios%2Frotation%2Fsafari-like-rotation.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2042273</commentid>
    <comment_count>5</comment_count>
    <who name="Ben Schwartz">ben_schwartz</who>
    <bug_when>2024-06-20 11:53:28 -0700</bug_when>
    <thetext>*** Bug 231264 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2042279</commentid>
    <comment_count>6</comment_count>
    <who name="Ben Schwartz">ben_schwartz</who>
    <bug_when>2024-06-20 11:58:13 -0700</bug_when>
    <thetext>*** Bug 231269 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2042281</commentid>
    <comment_count>7</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-06-20 12:12:47 -0700</bug_when>
    <thetext>Test gardening commit 280209@main (2d50c8086d2b): &lt;https://commits.webkit.org/280209@main&gt;

Reviewed commits have been landed. Closing PR #30013 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2049937</commentid>
    <comment_count>8</comment_count>
    <who name="Ben Schwartz">ben_schwartz</who>
    <bug_when>2024-07-31 15:16:20 -0700</bug_when>
    <thetext>Seeing another test with a very similar (if not identical) issue.

fast/events/ios/rotation/layout-viewport-during-safari-type-rotation.html

That brings us to 4:

fast/events/ios/rotation/layout-viewport-during-rotation.html
fast/events/ios/rotation/layout-viewport-during-safari-type-rotation.html
fast/events/ios/rotation/safari-like-rotation.html
fast/events/ios/rotation/safe-area-insets-during-safari-type-rotation.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>