RESOLVED FIXED314494
Retire decidePolicyForSpeechRecognitionPermissionRequest WKPageUIClient callback slot
https://bugs.webkit.org/show_bug.cgi?id=314494
Summary Retire decidePolicyForSpeechRecognitionPermissionRequest WKPageUIClient callb...
zak ridouh
Reported 2026-05-09 17:53:35 PDT
Following 297219@main, the WKSpeechRecognitionPermissionCallback C API has no callers and no bridge code inside WebKit reads the decidePolicyForSpeechRecognitionPermissionRequest field from WKPageUIClientV15 through V19. Rename the field to `void* unused8` so the struct layout, and thus the binary ABI for clients still compiled against these versions, is preserved, and drop the now-orphan WKPageDecidePolicyForSpeechRecognitionPermissionRequestCallback typedef. This intentionally breaks source compatibility for any holdout filling the field by name, documenting that the slot is retired, and clears the way for a follow-up that deletes the remaining dead code.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-05-09 17:53:41 PDT
zak ridouh
Comment 2 2026-05-09 17:55:32 PDT
EWS
Comment 3 2026-05-18 21:49:10 PDT
Committed 313459@main (48fd62d2c1b6): <https://commits.webkit.org/313459@main> Reviewed commits have been landed. Closing PR #64624 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.