fast/mediastream/device-change-event-2.html This test is a flaky failure on debug builds of macOS wk2 (mostly on x86_64 with occasional failures on arm64). HISTORY: https://results.webkit.org/?suite=layout-tests&test=fast%2Fmediastream%2Fdevice-change-event-2.html TEXT DIFF (though the test seems to fail with different messages each time): CONSOLE MESSAGE: A MediaStreamTrack ended due to a capture failure CONSOLE MESSAGE: A MediaStreamTrack ended due to a capture failure +CONSOLE MESSAGE: Error: assert_true: devicechange should only fire when the document is focused and active expected true got false + +Harness Error (FAIL), message = Error: assert_true: devicechange should only fire when the document is focused and active expected true got false PASS 'devicechange' event fired when device list changes PASS 'devicechange' events fired quickly are coalesced DIFF URL: https://build.webkit.org/results/Apple-Ventura-Debug-WK2-Tests/267790@main%20(2946)/fast/mediastream/device-change-event-2-pretty-diff.html REPRODUCIBILITY: I was able to reproduce this issue constantly on macOS Ventura (13.5, 22G74/x86_64) WK2 debug at 267085@main using the following command: run-webkit-tests --clobber-old-results --debug --verbose --iterations 50 fast/mediastream/device-change-event-2.html REGRESSION: I was unable to locate a regression point; however, according to the related issue, this issue (or similar) has existed since 225536@main.
<rdar://problem/115192271>
Test gardening commit 267812@main (5365867e4889): <https://commits.webkit.org/267812@main> Reviewed commits have been landed. Closing PR #17613 and removing active labels.
Pull request: https://github.com/WebKit/WebKit/pull/18691
Committed 268976@main (ebcddfddefbd): <https://commits.webkit.org/268976@main> Reviewed commits have been landed. Closing PR #18691 and removing active labels.
Re-setting previous expectation in mac-wk2: `webkit.org/b/188924 fast/mediastream/device-change-event-2.html [ Pass Timeout ]`
Test gardening commit 269550@main (79ceb52cc4ec): <https://commits.webkit.org/269550@main> Reviewed commits have been landed. Closing PR #19319 and removing active labels.
Ben's above commit re-added an expectation, because this is still happening. Reopening the bug, too.
Pull request: https://github.com/WebKit/WebKit/pull/20306
Committed 270702@main (2d5fd917570a): <https://commits.webkit.org/270702@main> Reviewed commits have been landed. Closing PR #20306 and removing active labels.