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

Unified Diff: third_party/WebKit/Source/modules/worklet/Worklet.idl

Issue 1684303002: Add a basic version of Worklet#import. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix non-oilpan build. Created 4 years, 10 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/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);
};
« no previous file with comments | « third_party/WebKit/Source/modules/worklet/Worklet.cpp ('k') | third_party/WebKit/Source/modules/worklet/WorkletGlobalScope.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698