Bug 1704628 Part 4: Avoid use of ESC to close context menu in browser_toolbox_content...
[gecko.git] / dom / webidl / MediaList.webidl
bloba7bea1e159e39918618ae43cb0096a463f6c41bd
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/. */
6 // https://drafts.csswg.org/cssom/#the-medialist-interface
8 [Exposed=Window]
9 interface MediaList {
10   stringifier attribute [LegacyNullToEmptyString] UTF8String mediaText;
12   readonly attribute unsigned long    length;
13   getter UTF8String? item(unsigned long index);
14   [Throws]
15   void               deleteMedium(UTF8String oldMedium);
16   [Throws]
17   void               appendMedium(UTF8String newMedium);