Bug 1430173 - Update tests for 2ms timers. r=baku, a=RyanVM

MozReview-Commit-ID: 6xhQ71a5rDU

--HG--
extra : transplant_source : %C2%D3%A7It%0Cg%92h%BB%3A%95%A2%0D.%86%B9C%9B%2B
This commit is contained in:
Tom Ritter 2018-02-20 15:36:16 -06:00 committed by Roy Tam
commit ed176bb836
12 changed files with 41 additions and 25 deletions

View file

@ -70,8 +70,9 @@ window.onload = function() {
if (lastTimestamp) {
var delta = timestamp - lastTimestamp;
info("delta since last timestamp", delta);
ok(delta >= 1 /* ms */,
"The timestamp should be about 1 ms after the last timestamp.");
// If we're unlucky, we might have rounded down to 0ms
// ok(delta >= 1 /* ms */,
// "The timestamp should be about 1 ms after the last timestamp.");
}
lastTimestamp = timestamp;