Debian Codegraph @

fixtures/worker.html

raw
1 <html>
2 <script>
3 const w = new Worker('worker.js')
4 w.postMessage('ok')
5 w.onmessage = (e) => console.log(e.data)
6 </script>
7 </html>