Bug 256671

Summary: [ iOS ] imported/w3c/web-platform-tests/screen-orientation/fullscreen-interactions.html is a flaky failure
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: Tools / TestsAssignee: Marcos Caceres <marcosc>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, cdumez, jer.noble, marcosc, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=256613

Description Ryosuke Niwa 2023-05-11 16:10:19 PDT
This test fails intermittently on iOS with the following diff:
--- /Volumes/Data/worker/Apple-iOS-16-Simulator-Release-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/screen-orientation/fullscreen-interactions-expected.txt
+++ /Volumes/Data/worker/Apple-iOS-16-Simulator-Release-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/screen-orientation/fullscreen-interactions-actual.txt
@@ -1,5 +1,5 @@
 
 
-FAIL Fully unlocking the screen orientation causes a pending lock to be aborted assert_unreached: Should have rejected: undefined Reached unreachable code
-FAIL Fully unlocking the screen orientation causes a pending lock in a nested browsing context to be aborted promise_rejects_dom: function "function () { throw e }" threw object "SecurityError: Locking the screen orientation is only allowed when in fullscreen" that is not a DOMException AbortError: property "code" is equal to 18, expected 20
+FAIL Fully unlocking the screen orientation causes a pending lock to be aborted promise_test: Unhandled rejection with value: object "TypeError: Type error"
+FAIL Fully unlocking the screen orientation causes a pending lock in a nested browsing context to be aborted promise_test: Unhandled rejection with value: object "TypeError: Type error"

https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fscreen-orientation%2Ffullscreen-interactions.html
Comment 1 Marcos Caceres 2023-05-11 17:06:30 PDT
I'll take a look either today or early next week.
Comment 2 Radar WebKit Bug Importer 2023-05-18 16:11:20 PDT
<rdar://problem/109537056>
Comment 3 Marcos Caceres 2023-05-25 21:45:04 PDT
Pull request: https://github.com/WebKit/WebKit/pull/14381
Comment 4 EWS 2023-06-02 06:53:01 PDT
Committed 264830@main (81ceb06a3201): <https://commits.webkit.org/264830@main>

Reviewed commits have been landed. Closing PR #14381 and removing active labels.