<script>
'use strict';

let worker = new Worker('permissions-policy-idle-detection-worker.js');

worker.onmessage = event => {
  window.parent.postMessage(event.data, '*');
};
worker.postMessage({ type: 'ready' });
</script>
