Bug 231622

Summary: [ iOS15 ] fast/events/ios/rotation/orientationchange-event-listener-on.body.html and fast/events/ios/rotation/do-not-shrink-to-fit-content-after-rotation.html are timing out constantly
Product: WebKit Reporter: Eric Hutchison <ehutchison>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bfulgham, ehutchison, simon.fraser, webkit-bot-watchers-bugzilla, webkit-bug-importer, wenson_hsieh, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Eric Hutchison 2021-10-12 14:39:43 PDT
fast/events/ios/rotation/orientationchange-event-listener-on.body.html
fast/events/ios/rotation/do-not-shrink-to-fit-content-after-rotation.html

are constant timeouts on iOS15.

History: https://results.webkit.org/?suite=layout-tests&suite=layout-tests&test=fast%2Fevents%2Fios%2Frotation%2Fdo-not-shrink-to-fit-content-after-rotation.html&test=fast%2Fevents%2Fios%2Frotation%2Forientationchange-event-listener-on.body.html

Build: https://build.webkit.org/#/builders/265/builds/63

Results: https://build.webkit.org/results/Apple-iPadOS-15-Simulator-Debug-WK2-Tests/r283979%20(63)/results.html

Diff:

--- /Volumes/Data/worker/ipados-simulator-15-debug-tests-wk2/build/layout-test-results/fast/events/ios/rotation/do-not-shrink-to-fit-content-after-rotation-expected.txt
+++ /Volumes/Data/worker/ipados-simulator-15-debug-tests-wk2/build/layout-test-results/fast/events/ios/rotation/do-not-shrink-to-fit-content-after-rotation-actual.txt
@@ -1,3 +1,5 @@
+FAIL: Timed out waiting for notifyDone to be called
+
 This test verifies that rotating to landscape and back with shouldIgnoreMetaViewport enabled does not cause the initial scale to deviate from its original value. To test manually, load the test page on an appropriately configured device and rotate to landscape and back. The initial scale after rotation should be the same as it was prior to rotation.
 
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
@@ -7,12 +9,3 @@
 Before rotation
 PASS visualViewport.scale is 1
 
-After the first rotation
-PASS visualViewport.scale is 1
-
-After the second rotation
-PASS visualViewport.scale is 1
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

--- /Volumes/Data/worker/ipados-simulator-15-debug-tests-wk2/build/layout-test-results/fast/events/ios/rotation/orientationchange-event-listener-on.body-expected.txt
+++ /Volumes/Data/worker/ipados-simulator-15-debug-tests-wk2/build/layout-test-results/fast/events/ios/rotation/orientationchange-event-listener-on.body-actual.txt
@@ -1,12 +1,9 @@
+FAIL: Timed out waiting for notifyDone to be called
+
 Tests the behavior of the resize / orientationchange event listeners on both the body and the window.
 
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
 Before rotation
-After rotation
-PASS eventListenerCalls is 4
-PASS successfullyParsed is true
-
-TEST COMPLETE
 Rotation test.
Comment 1 Radar WebKit Bug Importer 2021-10-12 14:40:18 PDT
<rdar://problem/84167098>
Comment 2 Eric Hutchison 2021-10-12 14:46:54 PDT
Updated test expectations at https://trac.webkit.org/changeset/284035/webkit
Comment 3 Eric Hutchison 2021-11-01 11:46:05 PDT
Timeouts started when test was introduced at r282879. Reproduced test timeout using run-webkit-tests --i
pad-simulator --iterations 100 --exit-after-n-crashes-or-timeouts 3 --clob
ber-old-results fast/events/ios/rotation/orientationchange-event-listener-on.body.html and fast/events/ios/rotation/do-not-shrink-to-fit-content-after-rotation.html on r285104.