From 66af549bca865872f4bf399315758559f0bc5d0b Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Fri, 19 Nov 2021 15:29:43 -0500 Subject: [PATCH 1/3] Editorial: expose "wait for timeout" This factors out a new algorithm which can be used by postTask() (https://wicg.github.io/scheduling-apis/#schedule-a-posttask-task) and AbortSignal.timeout() (https://github.com/whatwg/dom/pull/1032), ensuring that they correctly contribute to idle deadline computation and in general share all the appropriate logic with setTimeout() and setInterval(). This also exports the "timer task source" term since AbortSignal.abort() will want to use that. --- source | 118 +++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 77 insertions(+), 41 deletions(-) diff --git a/source b/source index 6912026b81c..9788f7cbbf6 100644 --- a/source +++ b/source @@ -93936,7 +93936,7 @@ import "https://example.com/foo/../module2.mjs"; -
  • +
  • If all of the following are true