summaryrefslogtreecommitdiffstats
path: root/dom/performance
diff options
context:
space:
mode:
Diffstat (limited to 'dom/performance')
-rw-r--r--dom/performance/tests/test_timeOrigin.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/performance/tests/test_timeOrigin.html b/dom/performance/tests/test_timeOrigin.html
index 5a8a461f3..2c5de0d5d 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();
}
}