Bug 241880

Summary: AX: PAL::getAVSpeechSynthesisVoiceClass() is called without first checking isAVFoundationFrameworkAvailable
Product: WebKit Reporter: Tyler Wilcock <tyler_w>
Component: AccessibilityAssignee: Tyler Wilcock <tyler_w>
Status: RESOLVED FIXED    
Severity: Normal CC: andresg_22, cfleizach, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description Tyler Wilcock 2022-06-22 15:33:30 PDT
This causes a crash since we need AVFoundationFramework to get the voice list.
Comment 1 Radar WebKit Bug Importer 2022-06-22 15:33:39 PDT
<rdar://problem/95728748>
Comment 2 Tyler Wilcock 2022-06-22 15:36:32 PDT
Created attachment 460431 [details]
Patch
Comment 3 Tyler Wilcock 2022-06-22 15:39:44 PDT
rdar://94193185
Comment 4 chris fleizach 2022-06-23 10:07:21 PDT
Comment on attachment 460431 [details]
Patch

can you also add this in
- (void)speakUtterance:(RefPtr<WebCore::PlatformSpeechSynthesisUtterance>&&)utterance

then I think we'll cover our cases
Comment 5 Tyler Wilcock 2022-06-23 11:13:54 PDT
Created attachment 460451 [details]
Patch
Comment 6 EWS 2022-06-23 22:26:09 PDT
Committed 251821@main (52f3c697fae9): <https://commits.webkit.org/251821@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 460451 [details].