Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a regular Event for AudioContext.onerror #2593

Merged
merged 1 commit into from
Jul 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2196,7 +2196,7 @@ Attributes</h4>
<ins cite=#2567>
: <dfn>onerror</dfn>
::
An [=event handler=] for the {{ErrorEvent}} dispatched from an {{AudioContext}}. The event
An [=event handler=] for the {{Event}} dispatched from an {{AudioContext}}. The event
type of this handler is <dfn event for=AudioContext>error</dfn> and the user agent can
dispatch this event in the following cases:

Expand Down Expand Up @@ -12941,7 +12941,7 @@ The {{AudioContext}} |audioContext| performs the following steps on <a>rendering

1. [=Queue a media element task=] to execute the following steps:

1. [=Fire an event=] named {{AudioContext/error}} at |audioContext| using {{ErrorEvent}}.
1. [=Fire an event=] named {{AudioContext/error}} at |audioContext|.

1. Set the |audioContext|'s {{[[suspended by user]]}} to <code>false</code>.

Expand All @@ -12958,7 +12958,7 @@ The {{AudioContext}} |audioContext| performs the following steps on <a>rendering

1. [=Queue a media element task=]to execute the following steps:

1. [=Fire an event=] named {{AudioContext/error}} at |audioContext| using {{ErrorEvent}}.
1. [=Fire an event=] named {{AudioContext/error}} at |audioContext|.

Note: An example of system audio resource errors would be when an external or wireless audio device
becoming disconnected during the active rendering of the {{AudioContext}}.
Expand Down