Bug 232807

Summary: REGRESSION (iOS 15): Audio API will pause when an alarm goes off, but media playback control indicates audio is playing
Product: WebKit Reporter: Naoto Ikuno <moon_in_france>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: cdumez, jer.noble, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 15   
Hardware: iPhone / iPad   
OS: iOS 14   

Description Naoto Ikuno 2021-11-07 21:46:25 PST
Reproducing environment

- iOS15
- iPhoneSE 2020
- Safari 15

Reproducing steps:

1. `const audioEl = new Audio(); audioEl.play()`
2. Set an alarm with Native Clock app
3. Alarm goes off and stops audioEl
4. Media playback control indicates audio is playing

# Issue

Audio API is paused but `audioEl.paused` is false. So the state of AudioElement is broken.

# Note

In iOS12.4.6 iPhone6, this problem isn't reproduced.
Comment 1 Radar WebKit Bug Importer 2021-11-08 10:16:47 PST
<rdar://problem/85161393>