Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 92ee2ee16c0c555965ce4f7c969d185ac029c3a0
https://github.com/WebKit/WebKit/commit/92ee2ee16c0c555965ce4f7c969d185ac029c3a0
Author: Dominic Mazzoni <[email protected]>
Date: 2026-01-13 (Tue, 13 Jan 2026)
Changed paths:
A
LayoutTests/fast/speechsynthesis/speech-synthesis-empty-initial-voice-list-expected.txt
A
LayoutTests/fast/speechsynthesis/speech-synthesis-empty-initial-voice-list.html
M LayoutTests/fast/speechsynthesis/voices-non-mock.html
M Source/WebCore/Configurations/AllowedSPI-legacy.toml
M Source/WebCore/PAL/pal/spi/cocoa/AXSpeechManagerSPI.h
M Source/WebCore/platform/cocoa/PlatformSpeechSynthesizerCocoa.mm
M Source/WebCore/platform/mock/PlatformSpeechSynthesizerMock.cpp
M Source/WebCore/platform/mock/PlatformSpeechSynthesizerMock.h
M Source/WebCore/testing/Internals.cpp
M Source/WebCore/testing/Internals.h
M Source/WebCore/testing/Internals.idl
Log Message:
-----------
PlatformSpeechSynthesizer::initializeVoiceList() should not block on macOS
https://bugs.webkit.org/show_bug.cgi?id=304944
rdar://164447645
Reviewed by Darin Adler and Tyler Wilcock.
Uses a new asynchronous variant of the internal method to fetch the voice list.
*
LayoutTests/fast/speechsynthesis/speech-synthesis-empty-initial-voice-list-expected.txt:
Added.
*
LayoutTests/fast/speechsynthesis/speech-synthesis-empty-initial-voice-list.html:
Added.
* LayoutTests/fast/speechsynthesis/voices-non-mock.html:
* Source/WebCore/Configurations/AllowedSPI-legacy.toml:
* Source/WebCore/PAL/pal/spi/cocoa/AXSpeechManagerSPI.h:
* Source/WebCore/platform/cocoa/PlatformSpeechSynthesizerCocoa.mm:
(WebCore::PlatformSpeechSynthesizer::initializeVoiceList):
* Source/WebCore/platform/mock/PlatformSpeechSynthesizerMock.cpp:
(WebCore::PlatformSpeechSynthesizerMock::initializeVoiceList):
* Source/WebCore/platform/mock/PlatformSpeechSynthesizerMock.h:
(WebCore::PlatformSpeechSynthesizerMock::setInitialVoiceListToEmpty):
* Source/WebCore/testing/Internals.cpp:
(WebCore::Internals::simulateSpeechSynthesizerVoiceListChange):
(WebCore::Internals::setInitialVoiceListToEmpty):
* Source/WebCore/testing/Internals.h:
* Source/WebCore/testing/Internals.idl:
Canonical link: https://commits.webkit.org/305553@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications