Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 35c8316c38ff4ca167e6e92cb8b1139257a1d191
https://github.com/WebKit/WebKit/commit/35c8316c38ff4ca167e6e92cb8b1139257a1d191
Author: Chris Dumez <[email protected]>
Date: 2026-05-28 (Thu, 28 May 2026)
Changed paths:
A
LayoutTests/fast/speechsynthesis/speech-synthesis-cancel-on-navigation-expected.txt
A
LayoutTests/fast/speechsynthesis/speech-synthesis-cancel-on-navigation.html
M Source/WebCore/Modules/speech/SpeechSynthesis.cpp
M Source/WebCore/Modules/speech/SpeechSynthesis.h
M Source/WebCore/Modules/speech/SpeechSynthesisUtterance.cpp
Log Message:
-----------
Audio from SpeechSynthesis may leak to the next page on cross-origin
navigation
https://bugs.webkit.org/show_bug.cgi?id=310260
rdar://171777671
Reviewed by Brady Eidson.
Audio from SpeechSynthesis may leak to the next page on cross-origin
navigation. Address the issue by calling SpeechSynthesis::cancel()
when the script execution context is going away or getting suspended for
back/forward cache.
*
LayoutTests/fast/speechsynthesis/speech-synthesis-cancel-on-navigation-expected.txt:
Added.
* LayoutTests/fast/speechsynthesis/speech-synthesis-cancel-on-navigation.html:
Added.
* Source/WebCore/Modules/speech/SpeechSynthesis.cpp:
(WebCore::SpeechSynthesis::suspend):
(WebCore::SpeechSynthesis::stop):
* Source/WebCore/Modules/speech/SpeechSynthesis.h:
* Source/WebCore/Modules/speech/SpeechSynthesisUtterance.cpp:
(WebCore::SpeechSynthesisUtterance::eventOccurred):
(WebCore::SpeechSynthesisUtterance::errorEventOccurred):
Originally-landed-as: 305413.549@rapid/safari-7624.2.5.110-branch
(26fa1088eb27). rdar://176062259
Canonical link: https://commits.webkit.org/314031@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications