Skip to content

Commit fd14ad2

Browse files
authored
Use a regular Event for AudioContext.onerror (#2593)
1 parent 6301a49 commit fd14ad2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2196,7 +2196,7 @@ Attributes</h4>
21962196
<ins cite=#2567>
21972197
: <dfn>onerror</dfn>
21982198
::
2199-
An [=event handler=] for the {{ErrorEvent}} dispatched from an {{AudioContext}}. The event
2199+
An [=event handler=] for the {{Event}} dispatched from an {{AudioContext}}. The event
22002200
type of this handler is <dfn event for=AudioContext>error</dfn> and the user agent can
22012201
dispatch this event in the following cases:
22022202

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

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

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

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

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

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

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

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

0 commit comments

Comments
 (0)