Skip to content

Commit 95baa1d

Browse files
committed
1 parent bb009b2 commit 95baa1d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

spec.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7391,6 +7391,12 @@ <h1>
73917391
1. Let _method_ be ? GetMethod(_V_, @@asyncDispose).
73927392
1. If _method_ is *undefined*, then
73937393
1. Set _method_ to ? GetMethod(_V_, @@dispose).
7394+
1. Let _closure_ be a new Abstract Closure with no parameters that captures _method_ and performs the following steps when called:
7395+
1. Let _O_ be the *this* value.
7396+
1. Perform ? Call(_method_, _O_).
7397+
1. Return *undefined*.
7398+
1. NOTE: This function is not observable to user code. It is used to ensure that a Promise returned from a synchronous `@@dispose` method will not be awaited.
7399+
1. Return CreateBuiltinFunction(_closure_, 0, *""*, « »).
73947400
1. Else,
73957401
1. Let _method_ be ? GetMethod(_V_, @@dispose).
73967402
1. Return _method_.

0 commit comments

Comments
 (0)