Bug 1842773 - Part 5: Add ArrayBuffer.prototype.{maxByteLength,resizable} getters...
[gecko.git] / dom / webidl / MediaList.webidl
blob6b58a809facd50fc194417350f50c92c7e2dd59d
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   undefined          deleteMedium(UTF8String oldMedium);
16   [Throws]
17   undefined          appendMedium(UTF8String newMedium);