|
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/. */ |
|
6 |
|
7 #include "nsISupports.idl" |
|
8 |
|
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 }; |