mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
10 lines
No EOL
209 B
HTML
10 lines
No EOL
209 B
HTML
<script>
|
|
'use strict';
|
|
|
|
let worker = new Worker('feature-policy-usb-worker.js');
|
|
|
|
worker.onmessage = event => {
|
|
window.parent.postMessage(event.data, '*');
|
|
};
|
|
worker.postMessage({ type: 'ready' });
|
|
</script> |