Skip to content

Commit

Permalink
Abort the start algorithm if argument validation failed
Browse files Browse the repository at this point in the history
This fixes WebAudio#2165.
  • Loading branch information
padenot committed Feb 18, 2020
1 parent be4592d commit c4efe66
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -4036,7 +4036,8 @@ Methods</h4>
{{InvalidStateError}} exception MUST be thrown.</span>

2. Check for any errors that must be thrown due to parameter
constraints described below.
constraints described below. If any exception is thrown during this
step, abort those steps.

3. Set the internal slot {{AudioScheduledSourceNode/[[source started]]}} on
this {{AudioScheduledSourceNode}} to <code>true</code>.
Expand Down

0 comments on commit c4efe66

Please sign in to comment.