Summary: Currently for a dedicated worker, we set its 0 time for performance.now() purposes to the zero time of its parent worker or window. The spec defines a different behavior, now that there is a spec for this. Consumers that rely on the timebases matching right now can use translateTime instead.

Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1226147

Spec: http://w3c.github.io/hr-time/

Target release: 45

State in other UAs: Chrome plans to implement, unclear on the others. One of IE and Safari (can't recall which one) doesn't even implement performance.now() in workers.

-Boris

P.S.  I'm not doing the impl work, just the paperwork.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to