fune/testing/web-platform/tests/idle-detection/idlharness-worker.https.window.js
Marcos Caceres e51ec53d3a Bug 1802396 [wpt PR 37152] - Remove oneRealm arg from set_permission, a=testonly
Automatic update from web-platform-tests
Remove oneRealm arg from set_permission

--

wpt-commits: bb7292b06726678d5d4d15834461196deefbd89c
wpt-pr: 37152
2022-12-11 12:08:46 +00:00

10 lines
325 B
JavaScript

// 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.');