mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 09:46:04 -05:00
17 lines
532 B
Text
17 lines
532 B
Text
#import <HTML/MessagePort.idl>
|
|
|
|
// FIXME: Support VoidFunction in the IDL parser
|
|
callback VoidFunction = undefined ();
|
|
|
|
// https://whatpr.org/html/9893/webappapis.html#universalglobalscope-mixin
|
|
interface mixin UniversalGlobalScope {
|
|
// base64 utility methods
|
|
DOMString btoa(DOMString data);
|
|
ByteString atob(DOMString data);
|
|
|
|
// microtask queuing
|
|
undefined queueMicrotask(VoidFunction callback);
|
|
|
|
// structured cloning
|
|
any structuredClone(any value, optional StructuredSerializeOptions options = {});
|
|
};
|