OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 // Per 09 Jan 2015 Editor's Draft | 5 // Per 09 Jan 2015 Editor's Draft |
6 // https://w3c.github.io/media-source/#trackdefaultlist | 6 // https://w3c.github.io/media-source/#trackdefaultlist |
7 | 7 |
8 [ | 8 [ |
9 Constructor(optional sequence<TrackDefault> trackDefaults = []), | 9 Constructor(optional sequence<TrackDefault> trackDefaults = []), |
10 RaisesException=Constructor, | 10 RaisesException=Constructor, |
11 GarbageCollected, | |
12 RuntimeEnabled=MediaSourceExperimental, | 11 RuntimeEnabled=MediaSourceExperimental, |
13 ] interface TrackDefaultList { | 12 ] interface TrackDefaultList { |
14 readonly attribute unsigned long length; | 13 readonly attribute unsigned long length; |
15 [ImplementedAs=item] getter TrackDefault (unsigned long index); | 14 [ImplementedAs=item] getter TrackDefault (unsigned long index); |
16 }; | 15 }; |
OLD | NEW |