<?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>271442</bug_id>
          
          <creation_ts>2024-03-21 20:27:25 -0700</creation_ts>
          <short_desc>[iOS] fast/events/ios/rotation/basic-rotation.html is constantly failing.</short_desc>
          <delta_ts>2024-03-23 06:55:17 -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>UI Events</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="Ben Schwartz">ben_schwartz</reporter>
          <assigned_to name="Abrar Rahman Protyasha">a_protyasha</assigned_to>
          <cc>a_protyasha</cc>
    
    <cc>simon.fraser</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>2023006</commentid>
    <comment_count>0</comment_count>
    <who name="Ben Schwartz">ben_schwartz</who>
    <bug_when>2024-03-21 20:27:25 -0700</bug_when>
    <thetext>fast/events/ios/rotation/basic-rotation.html

This test is constantly failing on iOS.

TEXT DIFF:

 Before rotation
-PASS window.innerWidth is 320
-PASS window.innerHeight is 548
+FAIL window.innerWidth should be 320. Was 390.
+FAIL window.innerHeight should be 548. Was 797.
+In resize event handler:
+FAIL window.innerWidth should be 568. Was 600.
+FAIL window.innerHeight should be 320. Was 390.
+
 In orientationchange event handler:
-FAIL window.innerWidth should be 568. Was 320.
-FAIL window.innerHeight should be 320. Was 548.
-
-In resize event handler:
-PASS window.innerWidth is 568
-PASS window.innerHeight is 320
+FAIL window.innerWidth should be 568. Was 844.
+FAIL window.innerHeight should be 320. Was 390.
 
 After rotation
-PASS window.innerWidth is 568
-PASS window.innerHeight is 320
+FAIL window.innerWidth should be 568. Was 844.
+FAIL window.innerHeight should be 320. Was 390.
 Rotation test.

DIFF URL:

https://build.webkit.org/results/Apple-iOS-17-Simulator-Release-WK2-Tests/276509@main%20(2575)/fast/events/ios/rotation/basic-rotation-pretty-diff.html

REPRODUCIBILITY:

I was able to reproduce this issue on the iOS Simulator (17.4/21E213) ToT using the following command:

run-webkit-tests -v fast/events/ios/rotation/basic-rotation.html

REGRESSION:

This test has been failing as far as its history extends. It hasn&apos;t been touched since it was introduced at 188662@main.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2023007</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-03-21 20:27:35 -0700</bug_when>
    <thetext>&lt;rdar://problem/125210995&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2023013</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-03-21 20:38:11 -0700</bug_when>
    <thetext>Test gardening commit 276523@main (5032256fcd90): &lt;https://commits.webkit.org/276523@main&gt;

Reviewed commits have been landed. Closing PR #26294 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2023021</commentid>
    <comment_count>3</comment_count>
    <who name="Abrar Rahman Protyasha">a_protyasha</who>
    <bug_when>2024-03-21 21:37:47 -0700</bug_when>
    <thetext>The expected dimensions match that of the iPhone SE (Gen 1) while the actual dimensions match that of the iPhone 12.

This checks out because we used to run layout tests with the iPhone SE Gen 1 simulator, and have been running layout tests with the iPhone 12 simulator by default since 256495@main.

This test just needs a rebaseline because the device type has changed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2023059</commentid>
    <comment_count>4</comment_count>
    <who name="Abrar Rahman Protyasha">a_protyasha</who>
    <bug_when>2024-03-22 00:48:00 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/26303</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2023356</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-03-23 06:55:16 -0700</bug_when>
    <thetext>Committed 276589@main (fec218f3209a): &lt;https://commits.webkit.org/276589@main&gt;

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

    </bug>

</bugzilla>