Bug 260214 - Make SpeechSynthesisUtterance an ActiveDOMObject
Summary: Make SpeechSynthesisUtterance an ActiveDOMObject
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Sihui Liu
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-08-15 12:22 PDT by Sihui Liu
Modified: 2023-08-16 14:31 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sihui Liu 2023-08-15 12:22:06 PDT
...
Comment 1 Radar WebKit Bug Importer 2023-08-15 12:22:20 PDT
<rdar://problem/113921763>
Comment 2 Sihui Liu 2023-08-15 12:25:12 PDT
This crash is seen on our EWS bot (https://ews-build.s3-us-west-2.amazonaws.com/macOS-AppleSilicon-Ventura-Debug-WK2-Tests-EWS/027ff49c-12080/imported/w3c/web-platform-tests/speech-api/SpeechSynthesis-speak-without-activation-fails.tentative-crash-log.txt):
WebCore::JSEventListener::ensureJSFunction(WebCore::ScriptExecutionContext &) const
1   0x1361b29d8 WTFCrash
2   0x283fe8460 WebCore::NetworkResourcesData::ResourceData::hasContent() const
3   0x283ff92cc WebCore::JSEventListener::ensureJSFunction(WebCore::ScriptExecutionContext&) const
4   0x282e3de1c WebCore::JSEventListener::handleEvent(WebCore::ScriptExecutionContext&, WebCore::Event&)
5   0x2837f8554 WebCore::EventTarget::innerInvokeEventListeners(WebCore::Event&, WTF::Vector<WTF::RefPtr<WebCore::RegisteredEventListener, WTF::RawPtrTraits<WebCore::RegisteredEventListener>, WTF::DefaultRefDerefTraits<WebCore::RegisteredEventListener>>, 1ul, WTF::CrashOnOverflow, 2ul, WTF::FastMalloc>, WebCore::EventTarget::EventInvokePhase)
6   0x2837f7ffc WebCore::EventTarget::fireEventListeners(WebCore::Event&, WebCore::EventTarget::EventInvokePhase)
7   0x2837f7e54 WebCore::EventTarget::dispatchEvent(WebCore::Event&)
8   0x28293017c WebCore::SpeechSynthesisUtterance::eventOccurred(WTF::AtomString const&, unsigned long, unsigned long, WTF::String const&)
9   0x28292fe3c WebCore::SpeechSynthesis::handleSpeakingCompleted(WebCore::SpeechSynthesisUtterance&, bool)
10  0x282930a50 WebCore::SpeechSynthesis::didFinishSpeaking(WebCore::PlatformSpeechSynthesisUtterance&)
11  0x2829305c0 WebCore::SpeechSynthesis::didFinishSpeaking()
Comment 3 Sihui Liu 2023-08-15 12:27:41 PDT
Pull request: https://github.com/WebKit/WebKit/pull/16714
Comment 4 EWS 2023-08-16 14:31:17 PDT
Committed 266959@main (42ffbe195e69): <https://commits.webkit.org/266959@main>

Reviewed commits have been landed. Closing PR #16714 and removing active labels.