diff --git a/source b/source index f33c5fe4635..8d47f004d6a 100644 --- a/source +++ b/source @@ -2953,8 +2953,10 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
  • The GetFunctionRealm abstract operation
  • The HasOwnProperty abstract operation
  • The HostCallJobCallback abstract operation
  • +
  • The HostEnqueueCrossAgentJob abstract operation
  • The HostEnqueueFinalizationRegistryCleanupJob abstract operation
  • The HostEnqueuePromiseJob abstract operation
  • +
  • The HostEnqueueTimeoutJob abstract operation
  • The HostEnsureCanAddPrivateElement abstract operation
  • The HostEnsureCanCompileStrings abstract operation
  • The HostLoadImportedModule abstract operation
  • @@ -100641,6 +100643,26 @@ dictionary PromiseRejectionEventInit : EventInit

    Return result.

    +
    HostEnqueueCrossAgentJob(job, agentSignifier)
    + +

    JavaScript contains an implementation-defined HostEnqueueCrossAgentJob(job, + agentSignifier) abstract operation to perform jobs across agents (e.g., resolve + Promises resulting from Atomics.waitAsync). User agents must use the following + implementation:

    + +
      +
    1. Let agent be the agent whose [[Signifier]] is agentSignifier.

    2. + +
    3. Queue a task on the JavaScript engine task source in + agent's event loop to perform the following steps:

      + +
        +
      1. Perform job().

      2. +
      +
    4. +
    +
    HostEnqueueFinalizationRegistryCleanupJob(finalizationRegistry)
    @@ -100766,6 +100788,29 @@ dictionary PromiseRejectionEventInit : EventInit +
    HostEnqueueTimeoutJob(job, milliseconds)
    + +

    JavaScript contains an implementation-defined HostEnqueueTimeoutJob(job, + milliseconds) abstract operation to schedule an operation to be performed after a + timeout. HTML schedules these operations using run steps after a tiemout. User agents + must use the following implementation:

    + +
      +
    1. Let global be the current global object.

    2. + +
    3. Let timeoutStep be an algorithm step which queues a global task on the JavaScript engine task source given + global to perform the following steps:.

    4. + +
        +
      1. Perform job().

      2. +
      + +
    5. Run steps after a timeout given global, "JavaScript", milliseconds, and timeoutStep.

    6. +
    +
    HostMakeJobCallback(callable)

    JavaScript contains an implementation-defined