I've filed a spec issue that I believe should be addressed before shipping (with appropriate test updates, etc.) https://github.com/WebAudio/web-audio-api/issues/2590
On Thursday, July 11, 2024 at 2:06:53 PM UTC+9 ajayra...@google.com wrote: > > Contact emails > > hongc...@chromium.org, mjwil...@chromium.org > > Explainer > > None; the specification (W3C Proposed Recommendation) is already published. > > Specification > https://webaudio.github.io/web-audio-api/#dom-audiocontext-onerror > > 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 > > 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> > ) > > 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/+/master/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 > > M128 > > Note > > The team has requested Privacy and Security approval on the chromestatus > <https://chromestatus.com/feature/5113439453446144?gate=5127032420958208> > entry. The same gates have already been approved on the internal launch > bug <https://launch.corp.google.com/launch/4317143>. > > Link to entry on the Chrome Platform Status > > https://chromestatus.com/feature/5113439453446144 > > This intent message was generated by Chrome Platform Status > <https://www.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/22beb2cf-02f6-46f6-9b23-857eb968f6ebn%40chromium.org.