summaryrefslogtreecommitdiffstats
path: root/dom/performance/tests/test_worker_observer.html
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-22 04:25:34 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-22 04:25:34 +0200
commitbdb4ff581677ad1cd411b55a68c87534f9a64882 (patch)
tree8b171b21ee5b3e44bdc6a945a0a16ff96ed056ac /dom/performance/tests/test_worker_observer.html
parent0a744b1cfeecdd2487d9166792ac5234edc9ee6a (diff)
downloadUXP-bdb4ff581677ad1cd411b55a68c87534f9a64882.tar
UXP-bdb4ff581677ad1cd411b55a68c87534f9a64882.tar.gz
UXP-bdb4ff581677ad1cd411b55a68c87534f9a64882.tar.lz
UXP-bdb4ff581677ad1cd411b55a68c87534f9a64882.tar.xz
UXP-bdb4ff581677ad1cd411b55a68c87534f9a64882.zip
moebius#157: The Performance Observer (improvements)
https://github.com/MoonchildProductions/moebius/pull/157
Diffstat (limited to 'dom/performance/tests/test_worker_observer.html')
-rw-r--r--dom/performance/tests/test_worker_observer.html13
1 files changed, 7 insertions, 6 deletions
diff --git a/dom/performance/tests/test_worker_observer.html b/dom/performance/tests/test_worker_observer.html
index b9ed0c964..9a55ef1d5 100644
--- a/dom/performance/tests/test_worker_observer.html
+++ b/dom/performance/tests/test_worker_observer.html
@@ -3,15 +3,16 @@
http://creativecommons.org/publicdomain/zero/1.0/
-->
<!DOCTYPE html>
+<html>
+<head>
<meta charset=utf-8>
<title>Test for performance observer in worker</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
-<div id=log></div>
+</head>
+<body>
+<div id="log"></div>
<script>
-'use strict';
-SpecialPowers.pushPrefEnv({"set": [["dom.enable_performance_observer", true]]},
- function() {
- window.open("worker_performance_observer.html");
- });
+fetch_tests_from_worker(new Worker("worker_performance_observer.js"));
</script>
+</body>