<?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>231269</bug_id>
          
          <creation_ts>2021-10-05 16:54:42 -0700</creation_ts>
          <short_desc>REGRESSION(iOS 15): fast/events/ios/rotation/safari-like-rotation.html is failing</short_desc>
          <delta_ts>2024-06-20 11:58:13 -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>iPhone / iPad</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>275696</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=231264</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=231266</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=231315</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>ayumi_kojima</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ben_schwartz</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>thorton</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1800858</commentid>
    <comment_count>0</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-10-05 16:54:42 -0700</bug_when>
    <thetext>fast/events/ios/rotation/safari-like-rotation.html

Is failing on iOS 15.

History: https://results.webkit.org/?suite=layout-tests&amp;test=fast%2Fevents%2Fios%2Frotation%2Fsafari-like-rotation.html

Result page: https://build.webkit.org/results/Apple-iOS-15-Simulator-Release-WK2-Tests/r283553%20(65)/results.html

Diff:

--- /Volumes/Data/worker/ios-simulator-15-release-tests-wk2/build/layout-test-results/fast/events/ios/rotation/safari-like-rotation-expected.txt
+++ /Volumes/Data/worker/ios-simulator-15-release-tests-wk2/build/layout-test-results/fast/events/ios/rotation/safari-like-rotation-actual.txt
@@ -1,11 +1,23 @@
 Before rotation
 PASS window.innerWidth is 320
 PASS window.innerHeight is 548
+In orientationchange event handler:
+FAIL window.innerWidth should be 568. Was 600.
+FAIL window.innerHeight should be 320. Was 800.
+
+In resize event handler:
+FAIL window.innerWidth should be 568. Was 600.
+FAIL window.innerHeight should be 320. Was 800.
+
 In resize event handler:
 PASS window.innerWidth is 568
 PASS window.innerHeight is 320
 
-In orientationchange event handler:
+In resize event handler:
+FAIL window.innerWidth should be 568. Was 600.
+FAIL window.innerHeight should be 320. Was 800.
+
+In resize event handler:
 PASS window.innerWidth is 568
 PASS window.innerHeight is 320</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1800859</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-10-05 16:54:59 -0700</bug_when>
    <thetext>&lt;rdar://problem/83911162&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1800860</commentid>
    <comment_count>2</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-10-05 16:55:35 -0700</bug_when>
    <thetext>I believe the test started failing on iOS 15 because it was passing on iOS 14 when I looked at the history earlier.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1801091</commentid>
    <comment_count>3</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-10-06 08:31:45 -0700</bug_when>
    <thetext>Marked expectations https://trac.webkit.org/changeset/283621/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1801197</commentid>
    <comment_count>4</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-10-06 11:09:02 -0700</bug_when>
    <thetext>I was able to reproduce the failure locally on iOS 15 sim (iPhone SE 2nd generation) using run-webkit-tests --force --ios-simulator fast/events/ios/rotation/safari-like-rotation.html

But the diff I got was different from the test run.

Diff:

--- /Volumes/Data/Builds/ios/buildToTest/layout-test-results/fast/events/ios/rotation/safari-like-rotation-expected.txt
+++ /Volumes/Data/Builds/ios/buildToTest/layout-test-results/fast/events/ios/rotation/safari-like-rotation-actual.txt
@@ -1,15 +1,15 @@
 Before rotation
-PASS window.innerWidth is 320
-PASS window.innerHeight is 548
+FAIL window.innerWidth should be 320. Was 375.
+FAIL window.innerHeight should be 548. Was 647.
+In orientationchange event handler:
+FAIL window.innerWidth should be 568. Was 667.
+FAIL window.innerHeight should be 320. Was 375.
+
 In resize event handler:
-PASS window.innerWidth is 568
-PASS window.innerHeight is 320
-
-In orientationchange event handler:
-PASS window.innerWidth is 568
-PASS window.innerHeight is 320
+FAIL window.innerWidth should be 568. Was 667.
+FAIL window.innerHeight should be 320. Was 375.
 
 After rotation
-PASS window.innerWidth is 568
-PASS window.innerHeight is 320
+FAIL window.innerWidth should be 568. Was 667.
+FAIL window.innerHeight should be 320. Was 375.
 Rotation test.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1801200</commentid>
    <comment_count>5</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-10-06 11:09:31 -0700</bug_when>
    <thetext>The test also failed with the oldest revision available to test (r265703).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1801445</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2021-10-06 17:33:31 -0700</bug_when>
    <thetext>&gt; I believe the test started failing on iOS 15 because it was passing on iOS 14 when I looked at the history earlier.

Updating the title accordingly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2042278</commentid>
    <comment_count>7</comment_count>
    <who name="Ben Schwartz">ben_schwartz</who>
    <bug_when>2024-06-20 11:58:13 -0700</bug_when>
    <thetext>Reverse duping this to bug #275696 / rdar://130212796, as it includes more tests that appear to have the same issue.

*** This bug has been marked as a duplicate of bug 275696 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>