Bug 791962 - Time API: Clean up the usage comment in nsIDOMTimeManager (s/seconds/milliseconds). rs=mounir DONTBUILD
authorGene Lian <clian@mozilla.com>
Tue, 18 Sep 2012 22:38:06 +0800
changeset 107496 cd720de0b57eddd8c833e8c4943cfbbebffcbfb5
parent 107495 09c5ad99ae92299f99c8809a53e66f86181969f5
child 107497 5560ff65b090bcde611394c2b741bc2d8183f286
push id82
push usershu@rfrn.org
push dateFri, 05 Oct 2012 13:20:22 +0000
reviewersmounir
bugs791962
milestone18.0a1
Bug 791962 - Time API: Clean up the usage comment in nsIDOMTimeManager (s/seconds/milliseconds). rs=mounir DONTBUILD
dom/time/nsIDOMTimeManager.idl
--- a/dom/time/nsIDOMTimeManager.idl
+++ b/dom/time/nsIDOMTimeManager.idl
@@ -6,15 +6,15 @@
 
 [scriptable, builtinclass, uuid(d29beaaa-bd54-4fd5-9f18-e0eedb1dc96d)]
 interface nsIDOMMozTimeManager : nsISupports
 {
   /* Set the system time.
    *
    * The |time| argument can be either a Date object or a number.
    *
-   * - If |time| is a number, it's interpreted as seconds since the epoch 
-   *   (midnight UTC on January 1, 1970)
-   * - If |time| is a Date object, |set(time)| is equivalent to 
+   * - If |time| is a number, it's interpreted as milliseconds
+   *   since the epoch (midnight UTC on January 1, 1970).
+   * - If |time| is a Date object, |set(time)| is equivalent to
    *   |set(time.getTime())|.
    */
   [implicit_jscontext] void set(in jsval time);
 };