OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // https://webaudio.github.io/web-audio-api/#AudioWorklet | 5 // https://webaudio.github.io/web-audio-api/#AudioWorklet |
6 | 6 |
| 7 // TODO(hongchan): this partial IDL must be removed when AudioWorklet is shipped |
| 8 // officially. |
7 [ | 9 [ |
8 RuntimeEnabled=AudioWorklet | 10 RuntimeEnabled=AudioWorklet |
9 ] partial interface Window { | 11 ] partial interface Window { |
10 readonly attribute Worklet audioWorklet; | 12 readonly attribute Worklet audioWorklet; |
| 13 attribute AudioWorkletNodeConstructor AudioWorkletNode; |
11 }; | 14 }; |
OLD | NEW |