dom/webidl/MediaKeyError.webidl
author Chris Pearce <cpearce@mozilla.com>
Sat, 07 Jun 2014 08:52:15 +1200
changeset 207639 e2b9d289514f019a8c6f9ca1e8fe8ef928a771fe
child 251826 b2add82a76cee4ba3572a10399cf9265ba8a83b2
permissions -rw-r--r--
Bug 1016162 - Base EME DOM APIs, not connected to a CDM yet. r=bz

/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* 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/.
 *
 * The origin of this IDL file is
 * https://dvcs.w3.org/hg/html-media/raw-file/default/encrypted-media/encrypted-media.html
 *
 * Copyright © 2014 W3C® (MIT, ERCIM, Keio, Beihang), All Rights Reserved.
 * W3C liability, trademark and document use rules apply.
 */

// According to the spec, "The future of error events and MediaKeyError
// is uncertain."
// https://www.w3.org/Bugs/Public/show_bug.cgi?id=21798
[Pref="media.eme.enabled"]
interface MediaKeyError : Event {
  readonly attribute unsigned long systemCode;
};