Bug 217599

Summary: If you use speechSynthesis.pause() with Japanese speech, it pauses only for a short time.
Product: WebKit Reporter: takumi <matsu.bps>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: baba, smoley, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 14   
Hardware: Mac   
OS: macOS 10.15   
Attachments:
Description Flags
samplefile none

Description takumi 2020-10-11 19:26:37 PDT
Created attachment 411090 [details]
samplefile

Actual behavior:.
If you use speechSynthesis.pause() with Japanese speech, the paused state is maintained for about 2 seconds and then cannot be resumed by speechSynthesis.resume().

Expected behavior:.
The paused state is maintained and can be resumed by speechSynthesis.resume() at any time.

I have attached a sample file.

To reproduce it, please follow these steps.

---

Steps:
1. Press the speak button.
2. Press the pause button.
3. Wait more than 2 seconds.
4. Press the resume button.

---
Comment 1 Radar WebKit Bug Importer 2020-10-12 17:41:32 PDT
<rdar://problem/70231857>
Comment 2 Smoley 2020-10-16 15:23:26 PDT
Thanks for filing, I have so far been unable to reproduce this issue on Safari beta Version 14.0.1 or Safari Technology Preview 114 Safari 14.1. 

Does this still reproduce for you on STP?
Comment 3 Smoley 2020-10-16 15:53:18 PDT
Edit: I had not selected a Japanese system voice under System Preferences > Accessibility > Spoken Content > System Voice.

After choosing the voice 'Kyoko' I can reproduce this on both 14.0.1 and 14.1.