bug 700693 - OCSP stapling PSM changes r=bsmith
[gecko.git] / dom / indexedDB / nsIIDBRequest.idl
blobb343df97aa2d3a52abea767df1e936a36d8440ac
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 nsIDOMEventListener;
10 interface nsIIDBTransaction;
12 /**
13 * IDBRequest interface. See
14 * http://dev.w3.org/2006/webapi/WebSimpleDB/#idl-def-IDBRequest for more
15 * information.
17 [scriptable, builtinclass, uuid(4d1e9ee3-4bd0-4c99-9e6a-19cb536ab6d4)]
18 interface nsIIDBRequest : nsISupports
20 readonly attribute jsval result;
22 // This is a DOMError
23 readonly attribute nsISupports error;
25 readonly attribute nsISupports source;
27 readonly attribute nsIIDBTransaction transaction;
29 // "pending" or "done"
30 readonly attribute DOMString readyState;
32 [implicit_jscontext] attribute jsval onsuccess;
33 [implicit_jscontext] attribute jsval onerror;