Wed, 31 Dec 2014 06:55:50 +0100
Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2
michael@0 | 1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
michael@0 | 2 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 3 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 4 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 5 | |
michael@0 | 6 | #include "nsIDOMEvent.idl" |
michael@0 | 7 | |
michael@0 | 8 | /** |
michael@0 | 9 | * The nsIDOMRecordErrorEvent interface is used for media recorder sent events |
michael@0 | 10 | * and for indeciate what's wrong in the object |
michael@0 | 11 | * The name value is defined in the |
michael@0 | 12 | * http://www.w3.org/TR/2012/WD-dom-20121206/#error-names-table |
michael@0 | 13 | */ |
michael@0 | 14 | [scriptable, builtinclass, uuid(606e6f94-bf02-11e2-8a01-e722108c6d66)] |
michael@0 | 15 | interface nsIDOMRecordErrorEvent : nsIDOMEvent |
michael@0 | 16 | { |
michael@0 | 17 | /** |
michael@0 | 18 | * The error name in this event. |
michael@0 | 19 | */ |
michael@0 | 20 | readonly attribute DOMString name; |
michael@0 | 21 | |
michael@0 | 22 | [noscript] |
michael@0 | 23 | void initRecordErrorEvent(in DOMString aType, |
michael@0 | 24 | in boolean aCanBubble, |
michael@0 | 25 | in boolean aCancelable, |
michael@0 | 26 | in DOMString aName); |
michael@0 | 27 | }; |