YuzuJS/setImmediate

postMessage triggering webworker communication

Closed this issue · 1 comments

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:

image

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?

The issue was on my end -- i was setting Window.postmessage in an unexpected way.