Bug 283417
| Summary: | [AudioSession] navigator.audioSession.state is undefined | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | András Csizmadia <andras> |
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | aestes, eric.carlson, jer.noble, karlcow, sihui_liu, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 18 | ||
| Hardware: | iPhone / iPad | ||
| OS: | iOS 18 | ||
András Csizmadia
The AudioSession object is missing the 'state' property.
Tested using MacOS and iOS Safari 18.1.1
https://github.com/w3c/audio-session/blob/main/explainer.md
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Karl Dubost
The spec draft is at
https://w3c.github.io/audio-session/#audiosession-interface
This is currently undefined in Chrome and Firefox.
Safari seems to implement only type for now.
I haven't found any live WPT
there is an IDL test
https://github.com/web-platform-tests/wpt/blob/master/interfaces/audio-session.idl
Karl Dubost
See https://searchfox.org/wubkat/source/Source/WebCore/Modules/audiosession/Navigator+AudioSession.idl
Radar WebKit Bug Importer
<rdar://problem/140624088>