Skip to content

Commit 95a5adf

Browse files
authored
Editorial: Update use of WebIDL "invoke a callback function" (#1320)
The only use which is not promise-returning is the "start" algorithm, which should rethrow the exception (so it can in turn be rethrown from the ReadableStream constructor. Part of whatwg/webidl#1425.
1 parent f63ec41 commit 95a5adf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5251,8 +5251,8 @@ The following abstract operations support the implementation of the
52515251
1. Let |abortAlgorithm| be an algorithm that returns [=a promise resolved with=] undefined.
52525252
1. If |underlyingSinkDict|["{{UnderlyingSink/start}}"] [=map/exists=], then set |startAlgorithm| to
52535253
an algorithm which returns the result of [=invoking=]
5254-
|underlyingSinkDict|["{{UnderlyingSink/start}}"] with argument list « |controller| »
5255-
and [=callback this value=] |underlyingSink|.
5254+
|underlyingSinkDict|["{{UnderlyingSink/start}}"] with argument list « |controller| »,
5255+
exception behavior "<code>rethrow</code>", and [=callback this value=] |underlyingSink|.
52565256
1. If |underlyingSinkDict|["{{UnderlyingSink/write}}"] [=map/exists=], then set |writeAlgorithm| to
52575257
an algorithm which takes an argument |chunk| and returns the result of [=invoking=]
52585258
|underlyingSinkDict|["{{UnderlyingSink/write}}"] with argument list «&nbsp;|chunk|,

0 commit comments

Comments
 (0)