dom/indexedDB/nsIIndexedDatabaseManager.idl

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
     2 /* vim: set ts=2 et sw=2 tw=80: */
     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/. */
     7 #include "nsISupports.idl"
     9 [scriptable, builtinclass, uuid(538d1085-517e-405a-a0f0-eb575cb0b8e5)]
    10 interface nsIIndexedDatabaseManager : nsISupports
    11 {
    12   /**
    13    * Defines indexedDB and IDBKeyRange with its static functions on aGlobal.
    14    *
    15    * This method might go away some time in the future, indexedDB and
    16    * IDBKeyRange should now be defined in all the spots (content windows,
    17    * chrome windows, xpcshell, JS modules, JS components, JS sandboxes,
    18    * ipcshell, bootstrapped extensions and Jetpack)
    19    *
    20    * @param aGlobal
    21    *        The global object, indexedDB and IDBKeyRange should be defined on.
    22    */
    23   [implicit_jscontext]
    24   void initWindowless(in jsval aGlobal);
    25 };

mercurial