From 9d84bf43a996ff0f7dff99c74cf9582cb32b82ad Mon Sep 17 00:00:00 2001 From: Shu-yu Guo Date: Wed, 7 Jun 2023 17:10:03 -0700 Subject: [PATCH] Add realm to HostEnqueueTimeoutJob --- source | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source b/source index 863b11ad0ad..46aab556ba5 100644 --- a/source +++ b/source @@ -100786,7 +100786,7 @@ dictionary PromiseRejectionEventInit : EventInit -
HostEnqueueTimeoutJob(job, +
HostEnqueueTimeoutJob(job, realm, milliseconds)

JavaScript contains an implementation-defined PromiseRejectionEventInit : EventInit

    -
  1. Let global be the current global object.

  2. +
  3. Let global be realm's global + object.

  4. Let timeoutStep be an algorithm step which queues a global task on the JavaScript engine task source given