2018-09-13 23:04:55 +03:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2013-10-04 22:28:25 +04:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/.
|
2014-04-16 07:06:45 +04:00
|
|
|
*
|
|
|
|
* The origin of this IDL file is
|
|
|
|
* http://www.whatwg.org/specs/web-apps/current-work/#trackevent
|
2013-10-04 22:28:25 +04:00
|
|
|
*/
|
|
|
|
|
2019-07-03 10:52:35 +03:00
|
|
|
[Constructor(DOMString type, optional TrackEventInit eventInitDict = {})]
|
2013-10-04 22:28:25 +04:00
|
|
|
interface TrackEvent : Event
|
|
|
|
{
|
2014-04-16 07:06:45 +04:00
|
|
|
readonly attribute (VideoTrack or AudioTrack or TextTrack)? track;
|
2013-10-04 22:28:25 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
dictionary TrackEventInit : EventInit
|
|
|
|
{
|
2014-04-16 07:06:45 +04:00
|
|
|
(VideoTrack or AudioTrack or TextTrack)? track = null;
|
2013-10-04 22:28:25 +04:00
|
|
|
};
|