Firefox Quantum SharedWorker not work
问题 In Chrome and Firefox <57 it works, but in Firefox Quantum doesn't work. The goal is to send a message to another tab in the browser. When filling in the text input and clicking the send button, the other tab in the browser should write the message in the browser console. html file: <script type="text/javascript"> const myWorker = new SharedWorker( "sharedWorkerChat.js" ); const port = myWorker.port; port.addEventListener( "message", function( e ) { console.log( e.data ); }, false ); port