blob: 8a8e11a9f465dac2ab4a6b398c65b57a3d1d26c1 [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 11 Nov 2014 Editor's Draft
enum TrackDefaultType { "audio", "video", "text" };
Constructor(TrackDefaultType type, DOMString language, DOMString label, sequence<DOMString> kinds, optional DOMString byteStreamTrackID = ""),
] interface TrackDefault {
readonly attribute TrackDefaultType type;
readonly attribute DOMString byteStreamTrackID;
readonly attribute DOMString language;
readonly attribute DOMString label;
// TrackDefault was removed from the spec in
//, and the last version to
// have it had getKinds() instead of |kinds|. Use an object here to avoid
// WebIDL arrays (which no longer exist) while not breaking compatibility
// See also:
[CallWith=ScriptState] readonly attribute object kinds;