summaryrefslogtreecommitdiffstats
path: root/dom/chrome-webidl/MozStorageAsyncStatementParams.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'dom/chrome-webidl/MozStorageAsyncStatementParams.webidl')
-rw-r--r--dom/chrome-webidl/MozStorageAsyncStatementParams.webidl22
1 files changed, 22 insertions, 0 deletions
diff --git a/dom/chrome-webidl/MozStorageAsyncStatementParams.webidl b/dom/chrome-webidl/MozStorageAsyncStatementParams.webidl
new file mode 100644
index 0000000000..853d86581a
--- /dev/null
+++ b/dom/chrome-webidl/MozStorageAsyncStatementParams.webidl
@@ -0,0 +1,22 @@
+/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* 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/. */
+
+[ChromeOnly, Exposed=Window]
+interface MozStorageAsyncStatementParams
+{
+ readonly attribute unsigned long length;
+
+ [Throws]
+ getter any(unsigned long index);
+
+ [Throws]
+ getter any(DOMString name);
+
+ [Throws]
+ setter undefined(unsigned long index, any arg);
+
+ [Throws]
+ setter undefined(DOMString name, any arg);
+};