Skip to content

Truly independent web browser

380 B
Raw Blame
// https://html.spec.whatwg.org/multipage/worklets.html#worklet
[Exposed=Window, SecureContext]
interface Worklet {
    [NewObject] Promise<undefined> addModule(USVString moduleURL, optional WorkletOptions options = {});
};

// https://html.spec.whatwg.org/multipage/worklets.html#worklet-options
dictionary WorkletOptions {
    RequestCredentials credentials = "same-origin";
};