summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/idle-detection/idlharness-worker.https.window.js
blob: e8fcf9ede67165d7563de200e2bf7c739c6a1c16 (plain)
1
2
3
4
5
6
7
8
9
10
// META: script=/resources/testdriver.js
// META: script=/resources/testdriver-vendor.js

'use strict';

promise_test(async t => {
  await test_driver.set_permission({name: 'idle-detection'}, 'granted');

  await fetch_tests_from_worker(new Worker('resources/idlharness-worker.js'));
}, 'Run idlharness tests in a worker.');