RESOLVED FIXED311743
NEW-TEST: [macOS] media/encrypted-media/mock-navigator-requestMediaKeySystemAccess.html is a constant text failure
https://bugs.webkit.org/show_bug.cgi?id=311743
Summary NEW-TEST: [macOS] media/encrypted-media/mock-navigator-requestMediaKeySystemA...
Diego De La Toba
Reported 2026-04-08 11:28:46 PDT
media/encrypted-media/mock-navigator-requestMediaKeySystemAccess.html is a constant failure on macOS. HISTORY: https://results.webkit.org/?suite=layout-tests&test=media%2Fencrypted-media%2Fmock-navigator-requestMediaKeySystemAccess.html DIFF URL: https://build.webkit.org/results/Apple-Tahoe-Release-AppleSilicon-WK2-Tests/310765@main%20(3101)/media/encrypted-media/mock-navigator-requestMediaKeySystemAccess-pretty-diff.html REPRODUCTION: I was able to reproduce this with the following command on macOS 26.4 (NOTE: media/encrypted-media/mock-navigator-requestMediaKeySystemAccess-in-background.html, must precede the test in order to cause constant failures) run-webkit-tests --no-build --no-retry --no-show-results --exit-after-n-failures=1 --expect-pass --iterations=9 --force -f --clobber-old-results --child-processes 1 media/encrypted-media/mock-navigator-requestMediaKeySystemAccess-in-background.html media/encrypted-media/mock-navigator-requestMediaKeySystemAccess.html --release I am going to mark expectations as pass fail while this pends investigation.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-04-08 11:28:53 PDT
Diego De La Toba
Comment 2 2026-04-08 11:36:31 PDT
Test gardening pull request: https://github.com/WebKit/WebKit/pull/62285
EWS
Comment 3 2026-04-08 11:45:14 PDT
Test gardening commit 310791@main (edcbc6d56e55): <https://commits.webkit.org/310791@main> Reviewed commits have been landed. Closing PR #62285 and removing active labels.
Diego De La Toba
Comment 4 2026-04-08 11:48:07 PDT
Diego De La Toba
Comment 5 2026-04-08 11:52:44 PDT
Failures are from missing mock.unregister() at the end of runTest() in the -in-background test, matching the cleanup pattern already used by the main test. Adding this resolves the failure but arguably the test harness should also be doing this cleanup not just the test.
Diego De La Toba
Comment 6 2026-04-08 15:48:22 PDT
Philippe Normand
Comment 7 2026-04-12 06:54:52 PDT
*** Bug 311845 has been marked as a duplicate of this bug. ***
EWS
Comment 8 2026-04-13 15:40:05 PDT
Committed 311144@main (ec0c999ff89c): <https://commits.webkit.org/311144@main> Reviewed commits have been landed. Closing PR #62309 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.