Contact emails

hongc...@chromium.org, mjwil...@chromium.org, sinafir...@chromium.org

Explainer

None

Specification

https://github.com/WebAudio/web-audio-api/pull/2580

Summary

Introduces an event listener on AudioContext to notify developers of audio
device or rendering system failures.

Blink component

Blink>WebAudio
<https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EWebAudio>

Motivation

Currently, developers lack visibility into the success or failure of their
AudioContext, whether during its creation or while actively rendering
audio. In the event of failure, web applications misleadingly continue to
function as if audio playback is proceeding normally.

The AudioContext.onerror event listener allows web applications to
proactively respond to and manage device or rendering failures.

Initial public proposal

https://github.com/WebAudio/web-audio-api/issues/2567

TAG review

http://github.com/w3ctag/design-reviews/issues/950

TAG review status

Resolved

Risks
Interoperability and Compatibility

None

Gecko: Positive  (http://github.com/mozilla/standards-positions/issues/1016)

WebKit: Defer to Audio WG (
https://github.com/WebKit/standards-positions/issues/340)

Web developers: Positive (2020 Developer Survey
<https://docs.google.com/presentation/d/1DNjlh_JwjfwDzoULAUx5wUj2Igrx-eUbZ2ZHltLGOZo/preview?slide=id.g9bcfd5e720_0_18>
)

Other signals: N/A

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that
it has potentially high risk for Android WebView-based applications?

None

Debuggability

None

Is this feature fully tested by web-platform-tests
<https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>
?

No, AudioContext failure scenarios cannot be tested in WPTs.
Chromium-internal tests will fully exercise this scenario.

Flag name on chrome://flags

None

Finch feature name

AudioContextOnError

Non-finch justification

N/A

Requires code in //chrome?

False

Tracking bug

https://crbug.com/41495720

Launch bug

https://launch.corp.google.com/launch/4317143

Estimated milestones

M127

Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5113439453446144

This intent message was generated by Chrome Platform Status
<https://chromestatus.com/>.

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGJqXNtA4ijFxUEd6-rwX9cd77GDHrBTFnCoNk%3D94aB7NCEEoQ%40mail.gmail.com.

Reply via email to