Index: third_party/WebKit/Source/modules/worklet/Worklet.idl |
diff --git a/third_party/WebKit/Source/modules/worklet/Worklet.idl b/third_party/WebKit/Source/modules/worklet/Worklet.idl |
index e4ad4f16744cc588b391d5134eacc3ed4dfa0d4c..f04dd1df6a5a3e453e9812484b5e9a43d2e179d3 100644 |
--- a/third_party/WebKit/Source/modules/worklet/Worklet.idl |
+++ b/third_party/WebKit/Source/modules/worklet/Worklet.idl |
@@ -5,7 +5,9 @@ |
// https://drafts.css-houdini.org/worklets/#worklet |
[ |
+ ActiveDOMObject, |
GarbageCollected, |
RuntimeEnabled=Worklet, |
] interface Worklet { |
+ [CallWith=ScriptState] Promise<void> import(DOMString url); |
}; |