mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 791962 - Time API: Clean up the usage comment in nsIDOMTimeManager (s/seconds/milliseconds). rs=mounir DONTBUILD
This commit is contained in:
parent
0d9ed76acd
commit
9f4b1a22c2
@ -11,9 +11,9 @@ interface nsIDOMMozTimeManager : nsISupports
|
||||
*
|
||||
* 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);
|
||||
|
Loading…
Reference in New Issue
Block a user