mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
34 lines
1006 B
Plaintext
34 lines
1006 B
Plaintext
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
/* vim: set ts=8 et sw=2 tw=80: */
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#include "nsISupports.idl"
|
|
|
|
interface nsIIDBKeyRange;
|
|
interface nsIIDBOpenDBRequest;
|
|
|
|
/**
|
|
* Interface that defines the indexedDB property on a window. See
|
|
* http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#idl-def-IDBFactory
|
|
* for more information.
|
|
*/
|
|
[scriptable, builtinclass, uuid(3c763a8f-df53-491d-9635-e1d959e43c0c)]
|
|
interface nsIIDBFactory : nsISupports
|
|
{
|
|
[implicit_jscontext, optional_argc]
|
|
nsIIDBOpenDBRequest
|
|
open([Null(Stringify)] in DOMString name,
|
|
[optional] in long long version);
|
|
|
|
[implicit_jscontext]
|
|
nsIIDBOpenDBRequest
|
|
deleteDatabase(in AString name);
|
|
|
|
[implicit_jscontext]
|
|
short
|
|
cmp(in jsval first,
|
|
in jsval second);
|
|
};
|