// GENERATED CONTENT - DO NOT EDIT | |
// Content was automatically extracted by Reffy into webref | |
// (https://github.com/w3c/webref) | |
// Source: HTML Standard (https://html.spec.whatwg.org/multipage/worklets.html) | |
[Exposed=Worklet, SecureContext] | |
interface WorkletGlobalScope {}; | |
[Exposed=Window, SecureContext] | |
interface Worklet { | |
[NewObject] Promise<undefined> addModule(USVString moduleURL, optional WorkletOptions options = {}); | |
}; | |
dictionary WorkletOptions { | |
RequestCredentials credentials = "same-origin"; | |
}; |