author Bas Schouten <>
Fri, 21 Sep 2012 22:12:28 +0000
changeset 107768 259206b2c7b25d08ac11125c814de0ee43ea121a
parent 103953 0a1f4d81635adf13c29c71aa80d4e44198125119
child 108603 68c4c30ff6f0a8ad3cd37a24dd3db452c24d9f3b
permissions -rw-r--r--
Bug 792190: Relax D3D9 driver version requirements. r=bjacob

/* 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 */

#include "domstubs.idl"
#include "nsIDOMEventTarget.idl"
interface nsIDOMBlob;
interface nsIDOMDOMRequest;
interface nsIDOMDeviceStorageCursor;
interface nsIDOMDeviceStorageChangeEvent;
interface nsIDOMEventListener;

dictionary DeviceStorageEnumerationParameters
  jsval since;

[scriptable, uuid(7efbe025-3a8a-4151-9257-3e8c941dc099), builtinclass]
interface nsIDOMDeviceStorage : nsIDOMEventTarget
    [implicit_jscontext] attribute jsval onchange;
    nsIDOMDOMRequest add(in nsIDOMBlob aBlob);
    nsIDOMDOMRequest addNamed(in nsIDOMBlob aBlob, in DOMString aName);

    nsIDOMDOMRequest get(in jsval aName);

    nsIDOMDOMRequest getEditable(in jsval aName);

    nsIDOMDOMRequest delete(in jsval aName);

    [optional_argc, implicit_jscontext]
    nsIDOMDeviceStorageCursor enumerate([optional] in jsval aName, /* DeviceStorageEnumerationParameters */ [optional] in jsval options);

    [optional_argc, implicit_jscontext]
    nsIDOMDeviceStorageCursor enumerateEditable([optional] in jsval aName, /* DeviceStorageEnumerationParameters */ [optional] in jsval options);

    nsIDOMDOMRequest stat();