dom/interfaces/html/nsIDOMMediaError.idl

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:7f66527808fc
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim:set ts=2 sw=2 sts=2 et cindent: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #include "domstubs.idl"
7
8 [scriptable, uuid(7bd8c29f-8a76-453f-9373-79f820f2dc01)]
9 interface nsIDOMMediaError : nsISupports
10 {
11 /* The download of the media resource was aborted by
12 the user agent at the user's requet */
13 const unsigned short MEDIA_ERR_ABORTED = 1;
14
15 /* A network error of some description caused the
16 user agent to stop downloading the media resource */
17 const unsigned short MEDIA_ERR_NETWORK = 2;
18
19 /* An error of some description occurred while decoding
20 the media resource */
21 const unsigned short MEDIA_ERR_DECODE = 3;
22
23 /* No suitable media resource could be found */
24 const unsigned short MEDIA_ERR_SRC_NOT_SUPPORTED = 4;
25
26 readonly attribute unsigned short code;
27 };

mercurial