tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

HTMLTrackElement.webidl (1086B)


      1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
      2 /* This Source Code Form is subject to the terms of the Mozilla Public
      3 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
      4 * You can obtain one at http://mozilla.org/MPL/2.0/.
      5 *
      6 * The origin of this IDL file is
      7 * http://www.whatwg.org/specs/web-apps/current-work/#the-track-element
      8 */
      9 
     10 [Exposed=Window]
     11 interface HTMLTrackElement : HTMLElement {
     12  [HTMLConstructor] constructor();
     13 
     14  [CEReactions, SetterThrows, Pure]
     15  attribute DOMString kind;
     16  [CEReactions, SetterThrows, Pure]
     17  attribute DOMString src;
     18  [CEReactions, SetterThrows, Pure]
     19  attribute DOMString srclang;
     20  [CEReactions, SetterThrows, Pure]
     21  attribute DOMString label;
     22  [CEReactions, SetterThrows, Pure]
     23  attribute boolean default;
     24 
     25  const unsigned short NONE = 0;
     26  const unsigned short LOADING = 1;
     27  const unsigned short LOADED = 2;
     28  const unsigned short ERROR = 3;
     29 
     30  [BinaryName="readyStateForBindings"]
     31  readonly attribute unsigned short readyState;
     32 
     33  readonly attribute TextTrack? track;
     34 };