diff options
Diffstat (limited to 'dom/webidl/WindowOrWorkerGlobalScope.webidl')
-rw-r--r-- | dom/webidl/WindowOrWorkerGlobalScope.webidl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dom/webidl/WindowOrWorkerGlobalScope.webidl b/dom/webidl/WindowOrWorkerGlobalScope.webidl index dddf2d17c4..652a46ffcb 100644 --- a/dom/webidl/WindowOrWorkerGlobalScope.webidl +++ b/dom/webidl/WindowOrWorkerGlobalScope.webidl @@ -36,6 +36,9 @@ interface WindowOrWorkerGlobalScope { long setInterval(DOMString handler, optional long timeout, any... unused); void clearInterval(optional long handle = 0); + // microtask queuing + void queueMicrotask(VoidFunction callback); + // ImageBitmap [Throws] Promise<ImageBitmap> createImageBitmap(ImageBitmapSource aImage); |