Bug 258581

Summary: REGRESSION (265250@main): [ macOS ] fast/mediastream/device-change-event-2.html is a consistent failure
Product: WebKit Reporter: Karl Rackler <rackler>
Component: New BugsAssignee: Philippe Normand <philn>
Status: RESOLVED FIXED    
Severity: Normal CC: philn, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Karl Rackler 2023-06-27 10:44:18 PDT
Description:
fast/mediastream/device-change-event-2.html

This issue can be bisected to 265250@main using command:
run-webkit-tests --release --iterations=1 --force  fast/mediastream/device-change-event-2.html

History:
https://results.webkit.org/?suite=layout-tests&test=fast%2Fmediastream%2Fdevice-change-event-2.html

Diff: 
@@ -1,8 +1,9 @@
 CONSOLE MESSAGE: A MediaStreamTrack ended due to a capture failure
 CONSOLE MESSAGE: A MediaStreamTrack ended due to a capture failure
+CONSOLE MESSAGE: navigator.mediaDevices.ondevicechange took too long

 PASS 'devicechange' event fired when device list changes
-PASS 'devicechange' events fired quickly are coalesced
+FAIL 'devicechange' events fired quickly are coalesced assert_equals: one event fired expected 1 but got 0
 PASS 'devicechange' event is not fired when the document doesn't has focus or permission to capture
 PASS 'devicechange' event is fired when the document doesn't has focus but has permission to capture
Comment 1 Karl Rackler 2023-06-27 10:45:58 PDT
<rdar://111398769>
Comment 2 Philippe Normand 2023-06-27 10:56:43 PDT
Pull request: https://github.com/WebKit/WebKit/pull/15341
Comment 3 EWS 2023-06-28 01:05:46 PDT
Committed 265575@main (e78625154d1d): <https://commits.webkit.org/265575@main>

Reviewed commits have been landed. Closing PR #15341 and removing active labels.
Comment 4 Karl Rackler 2023-06-28 07:31:44 PDT
Verified after landing <https://commits.webkit.org/265575@main> ( reverting 265250@main ) the test is consistently passing on macOS.