diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-29 12:19:25 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-29 12:19:25 +0200 |
commit | 1ad6dc807cfff2d0c6d51068390289fd0f76a60a (patch) | |
tree | 0d853ffba487a7fd47df93b090cc02435ba0e8a5 | |
parent | d564205c583cb6b95487c237fbe05e08ed53a915 (diff) | |
download | uxp-1ad6dc807cfff2d0c6d51068390289fd0f76a60a.tar.gz |
Bug 1313420 - Implement Performance.timeOrigin - part 3 - tests
https://hg.mozilla.org/mozilla-central/rev/0f869d4c93ef
-rw-r--r-- | dom/performance/tests/test_timeOrigin.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/performance/tests/test_timeOrigin.html b/dom/performance/tests/test_timeOrigin.html index 5a8a461f30..2c5de0d5df 100644 --- a/dom/performance/tests/test_timeOrigin.html +++ b/dom/performance/tests/test_timeOrigin.html @@ -32,7 +32,7 @@ function testWorker() { { type: "text/javascript" }); var w = new Worker(URL.createObjectURL(blob)); w.onmessage = function(e) { - ok (e.now + e.timeOrigin > now + performance.now, "Comparing worker.now and window.now"); + ok (e.now + e.timeOrigin > now + performance.timeOrigin, "Comparing worker.now and window.now"); next(); } } @@ -44,7 +44,7 @@ function testSharedWorker() { { type: "text/javascript" }); var w = new SharedWorker(URL.createObjectURL(blob)); w.port.onmessage = function(e) { - ok (e.now + e.timeOrigin > now + performance.now, "Comparing worker.now and window.now"); + ok (e.now + e.timeOrigin > now + performance.timeOrigin, "Comparing worker.now and window.now"); next(); } } |