Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a438910

Browse files
committedSep 20, 2024
Add queueMicrotask
1 parent 916c911 commit a438910

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎source

+3-3
Original file line numberDiff line numberDiff line change
@@ -112790,6 +112790,9 @@ interface mixin <dfn interface>WindowEventHandlers</dfn> {
112790112790
DOMString <span data-x="dom-btoa">btoa</span>(DOMString data);
112791112791
ByteString <span data-x="dom-atob">atob</span>(DOMString data);
112792112792

112793+
// microtask queuing
112794+
undefined <span data-x="dom-queueMicrotask">queueMicrotask</span>(<span data-x="idl-VoidFunction">VoidFunction</span> <var>callback</var>);
112795+
112793112796
// structured cloning
112794112797
any <span data-x="dom-structuredClone">structuredClone</span>(any value, optional <span>StructuredSerializeOptions</span> options = {});
112795112798
};
@@ -112881,9 +112884,6 @@ interface mixin <dfn interface>WindowOrWorkerGlobalScope</dfn> {
112881112884
long <span data-x="dom-setInterval">setInterval</span>(<span>TimerHandler</span> handler, optional long timeout = 0, any... arguments);
112882112885
undefined <span data-x="dom-clearInterval">clearInterval</span>(optional long id = 0);
112883112886

112884-
// microtask queuing
112885-
undefined <span data-x="dom-queueMicrotask">queueMicrotask</span>(<span data-x="idl-VoidFunction">VoidFunction</span> <var>callback</var>);
112886-
112887112887
// ImageBitmap
112888112888
<span data-x="idl-Promise">Promise</span>&lt;<span>ImageBitmap</span>&gt; <span data-x="dom-createImageBitmap">createImageBitmap</span>(<span>ImageBitmapSource</span> image, optional <span>ImageBitmapOptions</span> options = {});
112889112889
<span data-x="idl-Promise">Promise</span>&lt;<span>ImageBitmap</span>&gt; <span data-x="dom-createImageBitmap">createImageBitmap</span>(<span>ImageBitmapSource</span> image, long sx, long sy, long sw, long sh, optional <span>ImageBitmapOptions</span> options = {});

0 commit comments

Comments
 (0)
Please sign in to comment.