Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim:set ts=2 sw=2 sts=2 et cindent: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #include "nsIDOMEvent.idl"
9 /**
10 * ProgressEvent can be used for measuring progress.
11 */
13 [scriptable, builtinclass, uuid(e0682338-4c3f-4d3a-9487-d7492ea76335)]
14 interface nsIDOMProgressEvent : nsIDOMEvent
15 {
16 readonly attribute boolean lengthComputable;
17 readonly attribute unsigned long long loaded;
18 readonly attribute unsigned long long total;
19 [noscript]
20 void initProgressEvent(in DOMString typeArg,
21 in boolean canBubbleArg,
22 in boolean cancelableArg,
23 in boolean lengthComputableArg,
24 in unsigned long long loadedArg,
25 in unsigned long long totalArg);
26 };