mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
40 lines
1.3 KiB
Plaintext
40 lines
1.3 KiB
Plaintext
/* 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 "domstubs.idl"
|
|
#include "nsIDOMEventTarget.idl"
|
|
interface nsIDOMBlob;
|
|
interface nsIDOMDOMRequest;
|
|
interface nsIDOMDeviceStorageCursor;
|
|
interface nsIDOMDeviceStorageChangeEvent;
|
|
interface nsIDOMEventListener;
|
|
|
|
dictionary DeviceStorageEnumerationParameters
|
|
{
|
|
jsval since;
|
|
};
|
|
|
|
[scriptable, uuid(3dbe0137-ca73-44c5-bcde-25c297bf7c65), builtinclass]
|
|
interface nsIDOMDeviceStorage : nsIDOMEventTarget
|
|
{
|
|
attribute nsIDOMEventListener onchange;
|
|
nsIDOMDOMRequest add(in nsIDOMBlob aBlob);
|
|
nsIDOMDOMRequest addNamed(in nsIDOMBlob aBlob, in DOMString aName);
|
|
|
|
[implicit_jscontext]
|
|
nsIDOMDOMRequest get(in jsval aName);
|
|
|
|
[implicit_jscontext]
|
|
nsIDOMDOMRequest getEditable(in jsval aName);
|
|
|
|
[implicit_jscontext]
|
|
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);
|
|
};
|