tor-browser

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

MediaList.webidl (691B)


      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
      4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      5 
      6 // https://drafts.csswg.org/cssom/#the-medialist-interface
      7 
      8 [Exposed=Window]
      9 interface MediaList {
     10  stringifier attribute [LegacyNullToEmptyString] UTF8String mediaText;
     11 
     12  readonly attribute unsigned long    length;
     13  getter UTF8String? item(unsigned long index);
     14  [Throws]
     15  undefined          deleteMedium(UTF8String oldMedium);
     16  [Throws]
     17  undefined          appendMedium(UTF8String newMedium);
     18 };