Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

[Microsoft Edge] "message" listener of web worker cannot work very well on win 10 32 bit

$
0
0

below code is from serviceworker.js .

self.addEventListener('message', function (e) { 

   //received the message

});

In the main thread , i use the work.postMessage(xxx)  to communicate with web worker.  first open new page and input address,  the worker can receive the message.   but i click the refresh button to refresh this page, sometimes the worker can receive the message. sometimes the worker cannot receive the message. 

This issue only occur on Microsoft Edge of  win10 32 bit.   For Edge of win10 64 bit , it work well.

Chrome,  IE do not have same issue on  win10 32 bit.

Thanks


Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>