postMessage triggering webworker communication
Closed this issue · 1 comments
theahura commented
I am using JSZip which depends on this library. Recently I have been getting errors in my onmessage handler, getting data that I don't recognize. Console logs revealed the following:
The onmessage handler that is being triggered is for a specific worker on the main thread, which further confuses me -- I'm not sure why, but it seems this library is somehow hooking into a specific webworker postMessage call?
theahura commented
The issue was on my end -- i was setting Window.postmessage in an unexpected way.