Update interfaces/worklets.idl (#26156)
Source: https://github.com/w3c/webref/blob/b470181/ed/idl/worklets.idl
Build: https://travis-ci.org/w3c/webref/builds/736462459
diff --git a/interfaces/worklets.idl b/interfaces/worklets.idl
index 8f5154e..9c12f6f 100644
--- a/interfaces/worklets.idl
+++ b/interfaces/worklets.idl
@@ -1,17 +1,16 @@
// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// (https://github.com/w3c/webref)
-// Source: Worklets Level 1 (https://drafts.css-houdini.org/worklets/)
+// Source: HTML Standard (https://html.spec.whatwg.org/multipage/worklets.html)
-[Exposed=Worklet]
-interface WorkletGlobalScope {
-};
+[Exposed=Worklet, SecureContext]
+interface WorkletGlobalScope {};
-[Exposed=Window]
+[Exposed=Window, SecureContext]
interface Worklet {
- [NewObject] Promise<undefined> addModule(USVString moduleURL, optional WorkletOptions options = {});
+ [NewObject] Promise<undefined> addModule(USVString moduleURL, optional WorkletOptions options = {});
};
dictionary WorkletOptions {
- RequestCredentials credentials = "same-origin";
+ RequestCredentials credentials = "same-origin";
};