Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0845cdb9f9cd7466099cd80f2e610950e2f7f832
      
https://github.com/WebKit/WebKit/commit/0845cdb9f9cd7466099cd80f2e610950e2f7f832
  Author: Dominic Mazzoni <[email protected]>
  Date:   2026-01-15 (Thu, 15 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
https://bugs.webkit.org/show_bug.cgi?id=304944
rdar://164447645

Reviewed by Tyler Wilcock.

Uses a new asynchronous variant of the internal method to fetch the voice list.
Originally merged as 305553@main, but reverted because it did not build on 
older SDKs.
Updated to forward-declare the new method; it already did a respondsToSelector 
check.

Test: fast/speechsynthesis/speech-synthesis-empty-initial-voice-list.html

* 
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/305673@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to