chromium/third_party/blink/web_tests/wpt_internal/system-wake-lock/idlharness-worker.https.window.js

// META: script=/resources/testdriver.js
// META: script=/resources/testdriver-vendor.js

'use strict';

promise_test(async t => {
  await test_driver.set_permission({ name: 'system-wake-lock' }, 'granted');
  await fetch_tests_from_worker(new Worker('resources/idlharness-worker.js'));
}, 'Run idlharness tests in a worker.');