summaryrefslogtreecommitdiffstats
path: root/dom/webidl/IDBFileRequest.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'dom/webidl/IDBFileRequest.webidl')
-rw-r--r--dom/webidl/IDBFileRequest.webidl14
1 files changed, 14 insertions, 0 deletions
diff --git a/dom/webidl/IDBFileRequest.webidl b/dom/webidl/IDBFileRequest.webidl
new file mode 100644
index 0000000000..7e9bae27a7
--- /dev/null
+++ b/dom/webidl/IDBFileRequest.webidl
@@ -0,0 +1,14 @@
+/* -*- Mode: IDL; 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/. */
+
+[Exposed=Window]
+interface IDBFileRequest : DOMRequest {
+ readonly attribute IDBFileHandle? fileHandle;
+ // this is deprecated due to renaming in the spec
+ readonly attribute IDBFileHandle? lockedFile; // now fileHandle
+
+ attribute EventHandler onprogress;
+};