You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spec.html
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -142,7 +142,7 @@ <h1>
142
142
<p>An implementation of HostMakeJobCallback must conform to the following requirements:</p>
143
143
<ul>
144
144
<li>It must return a JobCallback Record whose [[Callback]] field is _callback_,</li>
145
-
<li><ins>It must return a JobCallback Record whose [[AsyncContextSnapshot]] field is a List of Records with fields [[AsyncContextKey]] (a Symbol) and [[AsyncContextValue]] (an ECMAScript language value).</ins></li>
145
+
<li><ins>It must return a JobCallback Record whose [[AsyncContextSnapshot]] field is the result of performing AsyncContextSnapshot().</ins></li>
146
146
</ul>
147
147
<p>The default implementation of HostMakeJobCallback performs the following steps when called:</p>
148
148
<emu-alg>
@@ -168,8 +168,9 @@ <h1>
168
168
</dl>
169
169
<p>An implementation of HostCallJobCallback must conform to the following requirements:</p>
170
170
<ul>
171
-
<li><ins>It must perform AsyncContextSwap before and after the call,</ins></li>
172
-
<li>It must perform and return the result of Call(_jobCallback_.[[Callback]], _V_, _argumentsList_).</li>
171
+
<li><ins>It must perform AsyncContextSwap(_jobCallback_.[[Callback]]) before the call,</ins></li>
172
+
<li>It must perform and return the result of Call(_jobCallback_.[[Callback]], _V_, _argumentsList_),</li>
173
+
<li><ins>It must perform AsyncContextSwap after the call, with the result of the earlier AsyncContextSwap operation.</ins></li>
173
174
</ul>
174
175
<p>The default implementation of HostCallJobCallback performs the following steps when called:</p>
0 commit comments