Bug 296566

Summary: REGRESSION(297543@main): [ iOS Release ] imported/w3c/web-platform-tests/screen-orientation/lock-basic.html is a constant text failure and flakey text failure
Product: WebKit Reporter: Bryan Medina <bmedina2>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: jbedard, webkit-bot-watchers-bugzilla, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Bryan Medina
Reported 2025-07-28 07:35:26 PDT
imported/w3c/web-platform-tests/screen-orientation/lock-basic.html is a constant text failure on iPadOS Release and a flakey text failure on iOS Release. HISTORY: https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fscreen-orientation%2Flock-basic.html TEXT DIFF: --- /Volumes/Data/worker/Apple-iPadOS-18-Simulator-Release-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/screen-orientation/lock-basic-expected.txt +++ /Volumes/Data/worker/Apple-iPadOS-18-Simulator-Release-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/screen-orientation/lock-basic-actual.txt @@ -1,5 +1,5 @@ -PASS Test that screen.orientation.lock returns a promise which will be fulfilled with a void value. -FAIL Test that screen.orientation.lock returns a pending promise. promise_test: Unhandled rejection with value: object "NotSupportedError: Lock type should be one of { "any", "natural", "portrait", "landscape" }" +FAIL Test that screen.orientation.lock returns a promise which will be fulfilled with a void value. promise_test: Unhandled rejection with value: object "TypeError: Cannot request fullscreen without transient activation." +FAIL Test that screen.orientation.lock returns a pending promise. promise_test: Unhandled rejection with value: object "TypeError: Cannot request fullscreen without transient activation." PASS Test that screen.orientation.lock() is actually async TEXT DIFF URL: https://build.webkit.org/results/Apple-iPadOS-18-Simulator-Release-WK2-Tests/297868@main%20(1575)/imported/w3c/web-platform-tests/screen-orientation/lock-basic-diff.txt
Attachments
Radar WebKit Bug Importer
Comment 1 2025-07-28 07:35:54 PDT
Bryan Medina
Comment 2 2025-07-28 07:38:51 PDT
I was able to reproduce the text failure locally on my device running iOS 18 Simulator using the following command: run-webkit-tests imported/w3c/web-platform-tests/screen-orientation/lock-basic.html --ipad-simulator --iterations=2
Bryan Medina
Comment 3 2025-07-28 08:04:55 PDT
Referring to the history, it is shown that the tests were failing somewhere between 297539@main and 297557@main. Using reproduction steps above, I found that the tests were passing at 297542@main, but failed at 297543@main. At this time, I believe that the regression point is 297543@main.
Bryan Medina
Comment 4 2025-07-28 08:11:45 PDT
For context, the test is a constant failure on iPadOS, but a flakey failure on iOS.
EWS
Comment 5 2025-07-28 08:16:32 PDT
Test gardening commit 297927@main (65ee64e9b646): <https://commits.webkit.org/297927@main> Reviewed commits have been landed. Closing PR #48605 and removing active labels.
Jonathan Bedard
Comment 6 2026-03-20 12:31:14 PDT
Test gardening pull request: https://github.com/WebKit/WebKit/pull/61024
EWS
Comment 7 2026-03-23 08:52:02 PDT
Test gardening commit 309760@main (3f706c071a37): <https://commits.webkit.org/309760@main> Reviewed commits have been landed. Closing PR #61024 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.