19 lines
411 B
HTML
19 lines
411 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<script src="../resources/js-test-pre.js"></script>
|
|
</head>
|
|
<body>
|
|
<script>
|
|
description("Ensure time origin in Worker starts from the moment of Worker Creation");
|
|
self.jsTestIsAsync = true;
|
|
|
|
while (performance.now() < 200)
|
|
continue;
|
|
|
|
let worker = startWorker("resources/time-origin-in-worker.js");
|
|
</script>
|
|
<script src="../resources/js-test-post.js"></script>
|
|
</body>
|
|
</html>
|