summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/shared_storage/shared_storage_worklet.idl
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/shared_storage/shared_storage_worklet.idl')
-rw-r--r--chromium/third_party/blink/renderer/modules/shared_storage/shared_storage_worklet.idl9
1 files changed, 9 insertions, 0 deletions
diff --git a/chromium/third_party/blink/renderer/modules/shared_storage/shared_storage_worklet.idl b/chromium/third_party/blink/renderer/modules/shared_storage/shared_storage_worklet.idl
new file mode 100644
index 00000000000..6a98856e39a
--- /dev/null
+++ b/chromium/third_party/blink/renderer/modules/shared_storage/shared_storage_worklet.idl
@@ -0,0 +1,9 @@
+// Copyright 2021 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+[
+ Exposed=SharedStorage
+] interface SharedStorageWorklet {
+ [CallWith=ScriptState, RaisesException] Promise<void> addModule(USVString moduleURL);
+};