Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(255)

Unified Diff: third_party/WebKit/Source/core/workers/Worklet.idl

Issue 2868413005: Worklet: Introduce WorkletOptions for addModule() (Closed)
Patch Set: add TODO comments Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/workers/Worklet.idl
diff --git a/third_party/WebKit/Source/core/workers/Worklet.idl b/third_party/WebKit/Source/core/workers/Worklet.idl
index 07613f55be6975a9260a7a6045aead5678e92eb7..1466299c545a0ba925b2c08cea66d7d0383a986e 100644
--- a/third_party/WebKit/Source/core/workers/Worklet.idl
+++ b/third_party/WebKit/Source/core/workers/Worklet.idl
@@ -8,5 +8,5 @@
DependentLifetime,
RuntimeEnabled=Worklet,
] interface Worklet {
- [CallWith=ScriptState] Promise<void> addModule(DOMString url);
+ [CallWith=ScriptState] Promise<void> addModule(DOMString url, optional WorkletOptions options);
};

Powered by Google App Engine
This is Rietveld 408576698