blob: ff021eb2e12982915b2026456d3d3f4dac6c03bd [file] [log] [blame]
// 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://webaudio.github.io/web-audio-api/#AudioWorkletGlobalScope
[
Exposed=AudioWorklet,
Global=(Worklet,AudioWorklet),
RuntimeEnabled=AudioWorklet
] interface AudioWorkletGlobalScope : WorkletGlobalScope {
[RaisesException] void registerProcessor(DOMString name, Function processorConstructor);
};