Bug 1733673 [wpt PR 31066] - Annotate CSS Transforms WPT reftests as fuzzy where...
[gecko.git] / dom / simpledb / nsISDBConnection.idl
blobec275fd6c235d8b2362d9334f174aca134405fe3
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 interface nsIPrincipal;
10 interface nsISDBCloseCallback;
11 interface nsISDBRequest;
13 [scriptable, builtinclass, uuid(ea420fdd-548f-44f9-9286-59aad6a40f01)]
14 interface nsISDBConnection : nsISupports
16 [must_use] void
17 init(in nsIPrincipal aPrincipal, [optional] in ACString aPersistenceType);
19 [must_use] nsISDBRequest
20 open(in AString aName);
22 [must_use] nsISDBRequest
23 seek(in unsigned long long offset);
25 [must_use] nsISDBRequest
26 read(in unsigned long long size);
28 [must_use, implicit_jscontext] nsISDBRequest
29 write(in jsval value);
31 [must_use] nsISDBRequest
32 close();
34 attribute nsISDBCloseCallback closeCallback;