Closed Bug 960988 Opened 10 years ago Closed 10 years ago

timeStamp attribute in progress-event gives nanoseconds instead milliseconds

Categories

(Firefox :: Untriaged, defect)

26 Branch
x86_64
Windows 8
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 238041

People

(Reporter: bugzilla, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0 (Beta/Release)
Build ID: 20131205075310

Steps to reproduce:

I'm doing a form-upload and added a progress-eventlistener:

xhr.upload.addEventListener('progress', function(ev) {
    console.log([ev.timeStamp, new Date().getTime()])
}, false);



Actual results:

Output on console:
[1389961044736000, 1389961044736]

timeStamp seems to be nanoseconds for (at least) this event instead of milliseconds.



Expected results:

on console:
[1389961044736, 1389961044736]
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.