summaryrefslogtreecommitdiffstats
path: root/dom/performance/tests/test_worker_observer.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/performance/tests/test_worker_observer.html')
-rw-r--r--dom/performance/tests/test_worker_observer.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/dom/performance/tests/test_worker_observer.html b/dom/performance/tests/test_worker_observer.html
new file mode 100644
index 000000000..b9ed0c964
--- /dev/null
+++ b/dom/performance/tests/test_worker_observer.html
@@ -0,0 +1,17 @@
+<!--
+ Any copyright is dedicated to the Public Domain.
+ http://creativecommons.org/publicdomain/zero/1.0/
+-->
+<!DOCTYPE html>
+<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>
+<script>
+'use strict';
+SpecialPowers.pushPrefEnv({"set": [["dom.enable_performance_observer", true]]},
+ function() {
+ window.open("worker_performance_observer.html");
+ });
+</script>