Bug 271442
| Summary: | [iOS] fast/events/ios/rotation/basic-rotation.html is constantly failing. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ben Schwartz <ben_schwartz> |
| Component: | UI Events | Assignee: | Abrar Rahman Protyasha <a_protyasha> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | a_protyasha, simon.fraser, webkit-bot-watchers-bugzilla, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ben Schwartz
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't been touched since it was introduced at 188662@main.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/125210995>
EWS
Test gardening commit 276523@main (5032256fcd90): <https://commits.webkit.org/276523@main>
Reviewed commits have been landed. Closing PR #26294 and removing active labels.
Abrar Rahman Protyasha
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.
Abrar Rahman Protyasha
Pull request: https://github.com/WebKit/WebKit/pull/26303
EWS
Committed 276589@main (fec218f3209a): <https://commits.webkit.org/276589@main>
Reviewed commits have been landed. Closing PR #26303 and removing active labels.