mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 23:38:38 +09:00
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:
parent
53a2f1007f
commit
ed176bb836
12 changed files with 41 additions and 25 deletions
5
devtools/server/tests/mochitest/test_memory_allocations_05.html
Normal file → Executable file
5
devtools/server/tests/mochitest/test_memory_allocations_05.html
Normal file → Executable 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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue