michael@0: /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "nsIDOMEvent.idl" michael@0: michael@0: /** michael@0: * The nsIDOMRecordErrorEvent interface is used for media recorder sent events michael@0: * and for indeciate what's wrong in the object michael@0: * The name value is defined in the michael@0: * http://www.w3.org/TR/2012/WD-dom-20121206/#error-names-table michael@0: */ michael@0: [scriptable, builtinclass, uuid(606e6f94-bf02-11e2-8a01-e722108c6d66)] michael@0: interface nsIDOMRecordErrorEvent : nsIDOMEvent michael@0: { michael@0: /** michael@0: * The error name in this event. michael@0: */ michael@0: readonly attribute DOMString name; michael@0: michael@0: [noscript] michael@0: void initRecordErrorEvent(in DOMString aType, michael@0: in boolean aCanBubble, michael@0: in boolean aCancelable, michael@0: in DOMString aName); michael@0: };