Skip to content

Commit 1560d97

Browse files
Update WEB-INTEGRATION.md
Co-authored-by: Andreu Botella <[email protected]>
1 parent 05602fe commit 1560d97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WEB-INTEGRATION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ steps _steps_, would do the following:
801801
> 1. Throw _e_.
802802
> 1. [AsyncContextSwap](https://tc39.es/proposal-async-context/#sec-asynccontextswap)(_previousContext_).
803803
804-
For web APIs that use that take a callback and eventually call it with the same context as when
804+
For web APIs that take a callback and eventually call it with the same context as when
805805
the web API was called, this should be handled in WebIDL by storing the result of `AsyncContextSnapshot()`
806806
alongside the callback function, and swapping it when the function is called. Since this should not happen
807807
for every callback, there should be a WebIDL extended attribute applied to callback types to control this.

0 commit comments

Comments
 (0)