summaryrefslogtreecommitdiffstats
path: root/devtools/server
diff options
context:
space:
mode:
authorTom Ritter <tom@mozilla.com>2018-02-20 15:36:16 -0600
committerwolfbeast <mcwerewolf@gmail.com>2018-03-14 11:32:10 +0100
commitb367c382417a8769d02dfb02639b0055dc62cef3 (patch)
tree8eb2e1b9425c2e517d600d6e57324b9d112e5910 /devtools/server
parentf0b727eac28244e0fa24a6107dee44e83ad0f561 (diff)
downloadUXP-b367c382417a8769d02dfb02639b0055dc62cef3.tar
UXP-b367c382417a8769d02dfb02639b0055dc62cef3.tar.gz
UXP-b367c382417a8769d02dfb02639b0055dc62cef3.tar.lz
UXP-b367c382417a8769d02dfb02639b0055dc62cef3.tar.xz
UXP-b367c382417a8769d02dfb02639b0055dc62cef3.zip
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
Diffstat (limited to 'devtools/server')
-rwxr-xr-x[-rw-r--r--]devtools/server/tests/mochitest/test_memory_allocations_05.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/devtools/server/tests/mochitest/test_memory_allocations_05.html b/devtools/server/tests/mochitest/test_memory_allocations_05.html
index 0eeb7bd16..4b6b4f0ea 100644..100755
--- a/devtools/server/tests/mochitest/test_memory_allocations_05.html
+++ b/devtools/server/tests/mochitest/test_memory_allocations_05.html
@@ -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;