dom/interfaces/events/nsIDOMRecordErrorEvent.idl

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/interfaces/events/nsIDOMRecordErrorEvent.idl	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,27 @@
     1.4 +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
     1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.8 +
     1.9 +#include "nsIDOMEvent.idl"
    1.10 +
    1.11 +/**
    1.12 + * The nsIDOMRecordErrorEvent interface is used for media recorder sent events
    1.13 + * and for indeciate what's wrong in the object
    1.14 + * The name value is defined in the
    1.15 + * http://www.w3.org/TR/2012/WD-dom-20121206/#error-names-table
    1.16 + */
    1.17 +[scriptable, builtinclass, uuid(606e6f94-bf02-11e2-8a01-e722108c6d66)]
    1.18 +interface nsIDOMRecordErrorEvent : nsIDOMEvent
    1.19 +{
    1.20 +  /**
    1.21 +   * The error name in this event.
    1.22 +   */
    1.23 +  readonly attribute DOMString name;
    1.24 +
    1.25 +  [noscript]
    1.26 +  void initRecordErrorEvent(in DOMString aType,
    1.27 +                            in boolean aCanBubble,
    1.28 +                            in boolean aCancelable,
    1.29 +                            in DOMString aName);
    1.30 +};

mercurial