moebius#157: The Performance Observer (improvements)

https://github.com/MoonchildProductions/moebius/pull/157
This commit is contained in:
janekptacijarabaci 2018-04-22 04:25:34 +02:00 committed by Roy Tam
commit 6a97ee9379
13 changed files with 107 additions and 150 deletions

View file

@ -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>