chromium/third_party/blink/renderer/modules/mediasource/track_default_list.idl

// Copyright 2014 The Chromium Authors
// 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);
};