Bug 231269 - REGRESSION(iOS 15): fast/events/ios/rotation/safari-like-rotation.html is failing
Summary: REGRESSION(iOS 15): fast/events/ios/rotation/safari-like-rotation.html is fai...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: iPhone / iPad Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-10-05 16:54 PDT by ayumi_kojima
Modified: 2021-10-19 17:00 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ayumi_kojima 2021-10-05 16:54:42 PDT
fast/events/ios/rotation/safari-like-rotation.html

Is failing on iOS 15.

History: https://results.webkit.org/?suite=layout-tests&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
Comment 1 Radar WebKit Bug Importer 2021-10-05 16:54:59 PDT
<rdar://problem/83911162>
Comment 2 ayumi_kojima 2021-10-05 16:55:35 PDT
I believe the test started failing on iOS 15 because it was passing on iOS 14 when I looked at the history earlier.
Comment 3 ayumi_kojima 2021-10-06 08:31:45 PDT
Marked expectations https://trac.webkit.org/changeset/283621/webkit
Comment 4 ayumi_kojima 2021-10-06 11:09:02 PDT
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.
Comment 5 ayumi_kojima 2021-10-06 11:09:31 PDT
The test also failed with the oldest revision available to test (r265703).
Comment 6 Alexey Proskuryakov 2021-10-06 17:33:31 PDT
> 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.