зеркало из https://github.com/mozilla/gecko-dev.git
18 строки
581 B
HTML
18 строки
581 B
HTML
<!--
|
|
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("performance_observer.html");
|
|
});
|
|
</script>
|