Skip to content

Commit d388f93

Browse files
committed
JobCallback -> JobCallback Record
1 parent 3de378c commit d388f93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7778,7 +7778,7 @@ <h1>Jobs and Host Operations to Enqueue Jobs</h1>
77787778

77797779
<emu-clause id="sec-jobcallback-records">
77807780
<h1>JobCallback Records</h1>
7781-
<p>A <dfn>JobCallback</dfn> is a Record value used to store a function object and a host-defined value. Function objects that are invoked via a Job enqueued by the host may have additional host-defined context. To propagate the state, Job Abstract Closures should not capture and call function objects directly. Instead, use HostMakeJobCallback and HostCallJobCallback.</p>
7781+
<p>A <dfn>JobCallback Record</dfn> is a Record value used to store a function object and a host-defined value. Function objects that are invoked via a Job enqueued by the host may have additional host-defined context. To propagate the state, Job Abstract Closures should not capture and call function objects directly. Instead, use HostMakeJobCallback and HostCallJobCallback.</p>
77827782
<emu-note>
77837783
<p>The WHATWG HTML specification (<a href="https://html.spec.whatwg.org/">https://html.spec.whatwg.org/</a>), for example, uses the host-defined value to propagate the incumbent settings object for Promise callbacks.</p>
77847784
</emu-note>

0 commit comments

Comments
 (0)