dom/interfaces/html/nsIDOMMediaError.idl

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

     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"
     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;
    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;
    19   /* An error of some description occurred while decoding 
    20      the media resource */
    21   const unsigned short MEDIA_ERR_DECODE  = 3;
    23   /* No suitable media resource could be found */
    24   const unsigned short MEDIA_ERR_SRC_NOT_SUPPORTED = 4;
    26   readonly attribute unsigned short code;
    27 };

mercurial