summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/workers/worklet.idl
blob: 018d604f8ac9b2d60a33b2d3e537cf6e1987b45d (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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

[
    SecureContext
] interface Worklet {
    [CallWith=ScriptState] Promise<void> addModule(USVString moduleURL, optional WorkletOptions options);
};