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
<rdar://problem/83911162>
I believe the test started failing on iOS 15 because it was passing on iOS 14 when I looked at the history earlier.
Marked expectations https://trac.webkit.org/changeset/283621/webkit
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.
The test also failed with the oldest revision available to test (r265703).
> 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.