Bug 231315

Summary: (iOS) fast/events/ios/rotation/safe-area-insets-during-safari-type-rotation.html is timing out/ flaky failing
Product: WebKit Reporter: ayumi_kojima
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: thorton, webkit-bot-watchers-bugzilla, webkit-bug-importer
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=231269

Description ayumi_kojima 2021-10-06 11:31:15 PDT
fast/events/ios/rotation/safe-area-insets-during-safari-type-rotation.html

Is constantly timing out on iPad and flaky failing on iPhone.

History: https://results.webkit.org/?suite=layout-tests&test=fast%2Fevents%2Fios%2Frotation%2Fsafe-area-insets-during-safari-type-rotation.html

Diff (iPad):

--- /Volumes/Data/worker/ipados-simulator-15-release-tests-wk2/build/layout-test-results/fast/events/ios/rotation/safe-area-insets-during-safari-type-rotation-expected.txt
+++ /Volumes/Data/worker/ipados-simulator-15-release-tests-wk2/build/layout-test-results/fast/events/ios/rotation/safe-area-insets-during-safari-type-rotation-actual.txt
@@ -1,15 +1,3 @@
-Before rotation
-layoutViewport: 0, 0 - 320 x 548
-visualViewport: 0, 0 - 320 x 548
-client rect of fixed object:0, 0 - 320 x 548
+FAIL: Timed out waiting for notifyDone to be called
 
-In resize event handler:
-layoutViewport: 0, 0 - 568 x 320
-visualViewport: 0, 0 - 568 x 320
-client rect of fixed object:100, 50 - 443 x 195
 
-After rotation
-layoutViewport: 0, 0 - 568 x 320
-visualViewport: 0, 0 - 568 x 320
-client rect of fixed object:100, 50 - 443 x 195
-

Diff (iPhone):

--- /Volumes/Data/worker/ios-simulator-15-debug-tests-wk2/build/layout-test-results/fast/events/ios/rotation/safe-area-insets-during-safari-type-rotation-expected.txt
+++ /Volumes/Data/worker/ios-simulator-15-debug-tests-wk2/build/layout-test-results/fast/events/ios/rotation/safe-area-insets-during-safari-type-rotation-actual.txt
@@ -4,9 +4,9 @@
 client rect of fixed object:0, 0 - 320 x 548
 
 In resize event handler:
-layoutViewport: 0, 0 - 568 x 320
-visualViewport: 0, 0 - 568 x 320
-client rect of fixed object:100, 50 - 443 x 195
+layoutViewport: 0, 0 - 320 x 548
+visualViewport: 0, 0 - 320 x 320
+client rect of fixed object:100, 50 - 195 x 423
 
 After rotation
 layoutViewport: 0, 0 - 568 x 320
Comment 1 Radar WebKit Bug Importer 2021-10-06 11:31:35 PDT
<rdar://problem/83943565>
Comment 2 ayumi_kojima 2021-10-06 11:34:48 PDT
Marked test expectations: https://trac.webkit.org/changeset/283640/webkit
Comment 3 ayumi_kojima 2021-10-19 16:59:54 PDT
I reproduced the failure easily at TOT and the oldest spades available to test on iOS 15 sim using run-webkit-tests --force --ios-simulator --iterations 50 --exit-after-n-failures 1 fast/events/ios/rotation/safe-area-insets-during-safari-type-rotation.html

but, produced a different diff: 

@@ -1,15 +1,15 @@
 Before rotation
-layoutViewport: 0, 0 - 320 x 548
-visualViewport: 0, 0 - 320 x 548
-client rect of fixed object:0, 0 - 320 x 548
+layoutViewport: 0, 0 - 375 x 647
+visualViewport: 0, 0 - 375 x 647
+client rect of fixed object:0, 0 - 375 x 647
 
 In resize event handler:
-layoutViewport: 0, 0 - 568 x 320
-visualViewport: 0, 0 - 568 x 320
-client rect of fixed object:100, 50 - 443 x 195
+layoutViewport: 0, 0 - 667 x 375
+visualViewport: 0, 0 - 667 x 375
+client rect of fixed object:100, 50 - 542 x 250
 
 After rotation
-layoutViewport: 0, 0 - 568 x 320
-visualViewport: 0, 0 - 568 x 320
-client rect of fixed object:100, 50 - 443 x 195
+layoutViewport: 0, 0 - 667 x 375
+visualViewport: 0, 0 - 667 x 375
+client rect of fixed object:100, 50 - 542 x 250