diff --git a/source b/source index be9f621d529..d4dcb7f79ef 100644 --- a/source +++ b/source @@ -2959,7 +2959,9 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
  • The HasOwnProperty abstract operation
  • The HostCallJobCallback abstract operation
  • The HostEnqueueFinalizationRegistryCleanupJob abstract operation
  • +
  • The HostEnqueueGenericJob abstract operation
  • The HostEnqueuePromiseJob abstract operation
  • +
  • The HostEnqueueTimeoutJob abstract operation
  • The HostEnsureCanAddPrivateElement abstract operation
  • The HostEnsureCanCompileStrings abstract operation
  • The HostLoadImportedModule abstract operation
  • @@ -3004,6 +3006,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
  • The IsLooselyEqual abstract operation
  • The IsStrictlyEqual abstract operation
  • The Atomics object
  • +
  • The Atomics.waitAsync object
  • The Date class
  • The FinalizationRegistry class
  • The RegExp class
  • @@ -101068,6 +101071,23 @@ dictionary PromiseRejectionEventInit : EventInit +
    HostEnqueueGenericJob(job, + realm)
    + +

    JavaScript contains an implementation-defined HostEnqueueGenericJob(job, realm) + abstract operation to perform generic jobs in a particular realm (e.g., resolve promises resulting + from Atomics.waitAsync). User agents must use the following implementation:

    + +
      +
    1. Let global be realm's global + object.

    2. + +
    3. Queue a global task on the JavaScript engine task source given + global to perform job().

    4. +
    +
    HostEnqueuePromiseJob(job, @@ -101137,6 +101157,27 @@ dictionary PromiseRejectionEventInit : EventInit +
    HostEnqueueTimeoutJob(job, realm, + 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 timeout. User agents + must use the following implementation:

    + +
      +
    1. Let global be realm's 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 job().

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

    6. +
    +
    HostMakeJobCallback(callable)

    JavaScript contains an implementation-defined