After 252822@main landed, TestWebKitAPI.WebKit2.SpeechRecognitionMediaCaptureStateChange is consistently failing and TestWebKitAPI.WebKit2.SpeechRecognitionMediaCaptureStateChange is consistently timing out on macOS bots https://results.webkit.org/?suite=api-tests&suite=api-tests&test=TestWebKitAPI.WebKit2.SpeechRecognitionMediaCaptureStateChange&test=TestWebKitAPI.WebKit2.SpeechRecognitionPageBecomesInvisible Failed TestWebKitAPI.WebKit2.SpeechRecognitionPageBecomesInvisible 2022-07-26 13:46:31.805 com.apple.WebKit.WebContent.Development[93198:106709395] ApplePersistence=NO /Volumes/Data/worker/Apple-Monterey-Release-Build/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/SpeechRecognition.mm:234 Value of: receivedScriptMessage Actual: true Expected: false Timeout TestWebKitAPI.WebKit2.SpeechRecognitionMediaCaptureStateChange 2022-07-26 13:45:59.119 com.apple.WebKit.WebContent.Development[93194:106709081] ApplePersistence=NO
<rdar://problem/97628508>
These tests are disabled on iOS, because of https://webkit.org/b/175204, so I can't say for sure whether or not this failure is limited to macOS.
Reverting in https://github.com/WebKit/WebKit/pull/2761