Bug 970340 - Large file sizes not displayed correctly. r=khuey
authorTed Clancy (:tedders1) <tclancy@mozilla.com>
Tue, 25 Feb 2014 15:38:56 -0800
changeset 171418 be2df65a1347f52f5940a6b00bc2fa174cb5e32f
parent 171417 a434e34206a21cf88704bbadce02f2b347eba93b
child 171419 fe0f587afa4df798dd934458af1b1d5dfeb11dce
push id270
push userpvanderbeken@mozilla.com
push dateThu, 06 Mar 2014 09:24:21 +0000
reviewerskhuey
bugs970340
milestone30.0a1
Bug 970340 - Large file sizes not displayed correctly. r=khuey
dom/webidl/Downloads.webidl
--- a/dom/webidl/Downloads.webidl
+++ b/dom/webidl/Downloads.webidl
@@ -41,20 +41,20 @@ interface DOMDownloadManager : EventTarg
   // Fires when a new download starts.
   attribute EventHandler ondownloadstart;
 };
 
 [JSImplementation="@mozilla.org/downloads/download;1",
  Func="Navigator::HasDownloadsSupport"]
 interface DOMDownload : EventTarget {
   // The full size of the resource.
-  readonly attribute long totalBytes;
+  readonly attribute long long totalBytes;
 
   // The number of bytes that we have currently downloaded.
-  readonly attribute long currentBytes;
+  readonly attribute long long currentBytes;
 
   // The url of the resource.
   readonly attribute DOMString url;
 
   // The path in local storage where the file will end up once the download
   // is complete.
   readonly attribute DOMString path;