Bug 231269
Summary: | REGRESSION(iOS 15): fast/events/ios/rotation/safari-like-rotation.html is failing | ||
---|---|---|---|
Product: | WebKit | Reporter: | ayumi_kojima |
Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | ben_schwartz, simon.fraser, thorton, webkit-bot-watchers-bugzilla, webkit-bug-importer, wenson_hsieh |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | iPhone / iPad | ||
OS: | Unspecified | ||
See Also: |
https://bugs.webkit.org/show_bug.cgi?id=231264 https://bugs.webkit.org/show_bug.cgi?id=231266 https://bugs.webkit.org/show_bug.cgi?id=231315 |
ayumi_kojima
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
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/83911162>
ayumi_kojima
I believe the test started failing on iOS 15 because it was passing on iOS 14 when I looked at the history earlier.
ayumi_kojima
Marked expectations https://trac.webkit.org/changeset/283621/webkit
ayumi_kojima
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.
ayumi_kojima
The test also failed with the oldest revision available to test (r265703).
Alexey Proskuryakov
> 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.
Ben Schwartz
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 ***