blob: 4772e75dc74ea73aa0b881b90ecc8edabfd1f6d9 [file] [log] [blame]
// Copyright 2017 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.
// See https://webaudio.github.io/web-audio-api/#audioworkletnode
[
ActiveScriptWrappable,
Constructor(BaseAudioContext context, DOMString name, optional AudioWorkletNodeOptions options),
ConstructorCallWith=ScriptState,
MeasureAs=AudioWorkletNodeConstructor,
RaisesException=Constructor
] interface AudioWorkletNode : AudioNode {
readonly attribute AudioParamMap parameters;
readonly attribute MessagePort port;
attribute EventHandler onprocessorerror;
};