blob: 1fe410ed114ac09df4873ea661a038a7b3faec87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
'use strict';
importScripts('/resources/testharness.js');
let workerType;
if (typeof postMessage === 'function') {
workerType = 'dedicated';
}
promise_test(async () => {
await new IdleDetector().start()
},
`Inherited header permissions policy allows ${workerType} workers.`)
done();
|