Index: third_party/WebKit/Source/modules/mediasource/AudioTrackSourceBuffer.idl |
diff --git a/third_party/WebKit/Source/modules/worklet/Worklet.idl b/third_party/WebKit/Source/modules/mediasource/AudioTrackSourceBuffer.idl |
similarity index 50% |
copy from third_party/WebKit/Source/modules/worklet/Worklet.idl |
copy to third_party/WebKit/Source/modules/mediasource/AudioTrackSourceBuffer.idl |
index 0744c691c0dd98f411149d5f620b9f71a07f81af..7231dee68e5ccdcf7315337816d5a2e76e661632 100644 |
--- a/third_party/WebKit/Source/modules/worklet/Worklet.idl |
+++ b/third_party/WebKit/Source/modules/mediasource/AudioTrackSourceBuffer.idl |
@@ -2,12 +2,10 @@ |
// 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 |
- |
+// https://w3c.github.io/media-source/#audio-track-extensions |
[ |
- DependentLifetime, |
GarbageCollected, |
- RuntimeEnabled=Worklet, |
-] interface Worklet { |
- [CallWith=ScriptState] Promise<void> import(DOMString url); |
+ RuntimeEnabled=AudioVideoTracks |
+] partial interface AudioTrack { |
+ readonly attribute SourceBuffer? sourceBuffer; |
}; |