Files
ladybird/Libraries/LibWeb/HTML/UniversalGlobalScope.idl
Shannon Booth cc6e048bd6 LibWeb+LibIDL: Remove support for #import directives during parsing
These no longer serve any purpose now that we run the IDLGenerator
on all of these files at once.
2026-04-24 20:08:29 +02:00

16 lines
500 B
Plaintext

// 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 = {});
};