gecko-dev/dom/webidl/IDBMutableFile.webidl
Andrew Overholt 637c548067 Bug 1271457 - Add use counters for non-standard IDB extensions. r=janv, r=qDot
--HG--
extra : amend_source : 69de0ee4427d1b4d88fd475600f13b071f950f1d
extra : histedit_source : 24d5c506c273e71a349803b974960de5243e6977
2017-02-07 19:57:00 -05:00

22 lines
674 B
Plaintext

/* -*- 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/. */
[Exposed=(Window,System)]
interface IDBMutableFile : EventTarget {
readonly attribute DOMString name;
readonly attribute DOMString type;
readonly attribute IDBDatabase database;
[Throws, UseCounter]
IDBFileHandle open(optional FileMode mode = "readonly");
[Throws, UseCounter]
DOMRequest getFile();
attribute EventHandler onabort;
attribute EventHandler onerror;
};