Source code

Revision control

Copy as Markdown

Other Tools

Test Info: Warnings

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Security-Policy" content="require-trusted-types-for 'script'">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="support/helper.sub.js"></script>
</head>
<body>
<!-- "META: global=worker"
can't be used here because constructing the worker would require a trusted type.
-->
<script src="support/DOMWindowTimers-setTimeout-setInterval.js"></script>
<script>
let test_setup_policy = trustedTypes.createPolicy("p", {
createScriptURL: x => x
});
fetch_tests_from_worker(new Worker(test_setup_policy.createScriptURL(
"support/DOMWindowTimers-setTimeout-setInterval-worker.js")));
fetch_tests_from_worker(new SharedWorker(test_setup_policy.createScriptURL(
"support/DOMWindowTimers-setTimeout-setInterval-worker.js")));
</script>
</body>
</html>