dom/indexedDB/nsIIndexedDatabaseManager.idl

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/indexedDB/nsIIndexedDatabaseManager.idl	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,25 @@
     1.4 +/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
     1.5 +/* vim: set ts=2 et sw=2 tw=80: */
     1.6 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.7 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.8 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.9 +
    1.10 +#include "nsISupports.idl"
    1.11 +
    1.12 +[scriptable, builtinclass, uuid(538d1085-517e-405a-a0f0-eb575cb0b8e5)]
    1.13 +interface nsIIndexedDatabaseManager : nsISupports
    1.14 +{
    1.15 +  /**
    1.16 +   * Defines indexedDB and IDBKeyRange with its static functions on aGlobal.
    1.17 +   *
    1.18 +   * This method might go away some time in the future, indexedDB and
    1.19 +   * IDBKeyRange should now be defined in all the spots (content windows,
    1.20 +   * chrome windows, xpcshell, JS modules, JS components, JS sandboxes,
    1.21 +   * ipcshell, bootstrapped extensions and Jetpack)
    1.22 +   *
    1.23 +   * @param aGlobal
    1.24 +   *        The global object, indexedDB and IDBKeyRange should be defined on.
    1.25 +   */
    1.26 +  [implicit_jscontext]
    1.27 +  void initWindowless(in jsval aGlobal);
    1.28 +};

mercurial