Bug 231315 - (iOS) fast/events/ios/rotation/safe-area-insets-during-safari-type-rotation.html is timing out/ flaky failing
Summary: (iOS) fast/events/ios/rotation/safe-area-insets-during-safari-type-rotation.h...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: iPhone / iPad Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-10-06 11:31 PDT by ayumi_kojima
Modified: 2021-10-19 17:08 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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