diff --git a/source b/source index a62d2d70cbe..2055f9789c2 100644 --- a/source +++ b/source @@ -109933,32 +109933,32 @@ interface mixin WindowEventHandlers {
WindowOrWorkerOrShadowRealmGlobalScope
mixinThe WindowOrWorkerOrShadowRealmGlobalScope
mixin is for use of APIs that are to be exposed on
- Window
and WorkerGlobalScope
objects.
Window
and WorkerGlobalScope
objects.
- Other standards are encouraged to further extend it using partial
- interface mixin WindowOrWorkerOrShadowRealmGlobalScope { … };
along with an
- appropriate reference.
Other standards are encouraged to further extend it using partial
+ interface mixin WindowOrWorkerOrShadowRealmGlobalScope { … };
along with an
+ appropriate reference.
interface mixin WindowOrWorkerOrShadowRealmGlobalScope {
- // base64 utility methods
- DOMString btoa(DOMString data);
- ByteString atob(DOMString data);
+ interface mixin WindowOrWorkerOrShadowRealmGlobalScope {
+ // base64 utility methods
+ DOMString btoa(DOMString data);
+ ByteString atob(DOMString data);
- // timers
- long setTimeout(TimerHandler handler, optional long timeout = 0, any... arguments);
- undefined clearTimeout(optional long id = 0);
- long setInterval(TimerHandler handler, optional long timeout = 0, any... arguments);
- undefined clearInterval(optional long id = 0);
+ // timers
+ long setTimeout(TimerHandler handler, optional long timeout = 0, any... arguments);
+ undefined clearTimeout(optional long id = 0);
+ long setInterval(TimerHandler handler, optional long timeout = 0, any... arguments);
+ undefined clearInterval(optional long id = 0);
- // microtask queuing
- undefined queueMicrotask(VoidFunction callback);
+ // microtask queuing
+ undefined queueMicrotask(VoidFunction callback);
- // structured cloning
- any structuredClone(any value, optional StructuredSerializeOptions options = {});
- };
- Window includes WindowOrWorkerGlobalScope;
- WorkerGlobalScope includes WindowOrWorkerGlobalScope;
- ShadowRealmGlobalScope includes WindowOrWorkerGlobalScope;
+ // structured cloning
+ any structuredClone(any value, optional StructuredSerializeOptions options = {});
+};
+Window includes WindowOrWorkerGlobalScope;
+WorkerGlobalScope includes WindowOrWorkerGlobalScope;
+ShadowRealmGlobalScope includes WindowOrWorkerGlobalScope;