blob: 1ca5ff7d8b4c8d1f357cadb94b429b7adf6035d7 [file] [log] [blame]
// Copyright 2014 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.
// Per 09 Jan 2015 Editor's Draft
// https://w3c.github.io/media-source/#trackdefaultlist
[
Constructor(optional sequence<TrackDefault> trackDefaults = []),
RaisesException=Constructor,
RuntimeEnabled=MediaSourceExperimental,
] interface TrackDefaultList {
readonly attribute unsigned long length;
[ImplementedAs=item] getter TrackDefault (unsigned long index);
};