Bug 237881

Summary: AX: imported/w3c/web-platform-tests/speech-api/SpeechSynthesis (layout-tests) are constant text failures
Product: WebKit Reporter: chris fleizach <cfleizach>
Component: AccessibilityAssignee: chris fleizach <cfleizach>
Status: RESOLVED FIXED    
Severity: Normal CC: andresg_22, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
patch
none
patch
ews-feeder: commit-queue-
patch none

Description chris fleizach 2022-03-15 01:02:00 PDT
imported/w3c/web-platform-tests/speech-api/SpeechSynthesis-speak-events.html

is a constant text failure
Comment 1 Radar WebKit Bug Importer 2022-03-15 01:02:12 PDT
<rdar://problem/90293806>
Comment 2 chris fleizach 2022-03-15 01:07:42 PDT
Created attachment 454678 [details]
patch
Comment 3 Andres Gonzalez 2022-03-15 07:24:52 PDT
(In reply to chris fleizach from comment #2)
> Created attachment 454678 [details]
> patch

--- a/Source/WebCore/ChangeLog
+++ a/Source/WebCore/ChangeLog

+        This test failure was being a previous speech job was canceled, and a new one started. 

This sentence sounds weird to me, perhaps "was being" -> "was due to" or "was happening when". But I'm not English grammar expert :-).

--- a/Source/WebCore/platform/PlatformSpeechSynthesisUtterance.h
+++ a/Source/WebCore/platform/PlatformSpeechSynthesisUtterance.h

+    id platformSpeechUtteranceWrapper() const { return m_platformSpeechUtteranceWrapper.get(); }
+    void setPlatformSpeechUtteranceWrapper(id utterance) { m_platformSpeechUtteranceWrapper = utterance; }

These names can be shortened to just wrapper() and setWrapper(...) like all other getters and setters in the class.
Comment 4 chris fleizach 2022-03-15 11:51:06 PDT
Created attachment 454737 [details]
patch
Comment 5 chris fleizach 2022-03-15 16:27:05 PDT
Created attachment 454770 [details]
patch
Comment 6 EWS 2022-03-16 06:15:27 PDT
Committed r291344 (248483@main): <https://commits.webkit.org/248483@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 454770 [details].