| Index: modules/worklet/Worklet.idl
|
| diff --git a/modules/worklet/Worklet.idl b/modules/worklet/Worklet.idl
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..0744c691c0dd98f411149d5f620b9f71a07f81af
|
| --- /dev/null
|
| +++ b/modules/worklet/Worklet.idl
|
| @@ -0,0 +1,13 @@
|
| +// Copyright 2016 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.
|
| +
|
| +// https://drafts.css-houdini.org/worklets/#worklet
|
| +
|
| +[
|
| + DependentLifetime,
|
| + GarbageCollected,
|
| + RuntimeEnabled=Worklet,
|
| +] interface Worklet {
|
| + [CallWith=ScriptState] Promise<void> import(DOMString url);
|
| +};
|
|
|