blob: 2a2038e40cbcf4b3fbe91cd5b757c0f63ff8b39b [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
[
Exposed=Window,
RuntimeEnabled=MediaSourceExperimental
] interface TrackDefaultList {
[RaisesException] constructor(optional sequence<TrackDefault> trackDefaults = []);
readonly attribute unsigned long length;
[ImplementedAs=item] getter TrackDefault (unsigned long index);
};