summaryrefslogtreecommitdiffstats
path: root/dom/simpledb/nsISDBResults.idl
diff options
context:
space:
mode:
Diffstat (limited to 'dom/simpledb/nsISDBResults.idl')
-rw-r--r--dom/simpledb/nsISDBResults.idl17
1 files changed, 17 insertions, 0 deletions
diff --git a/dom/simpledb/nsISDBResults.idl b/dom/simpledb/nsISDBResults.idl
new file mode 100644
index 0000000000..0e4b25e759
--- /dev/null
+++ b/dom/simpledb/nsISDBResults.idl
@@ -0,0 +1,17 @@
+/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* vim: set ts=2 et sw=2 tw=80: */
+/* 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 "nsISupports.idl"
+
+[scriptable, uuid(bca19e01-b34e-4a48-8875-2f4cb871febf)]
+interface nsISDBResult : nsISupports
+{
+ [must_use] Array<uint8_t>
+ getAsArray();
+
+ [must_use, implicit_jscontext] jsval
+ getAsArrayBuffer();
+};