addEventListener("unhandledexception", ...) is ignored in workers. #1190
Bluebird: 3.4.1. I don't know if it happens with earlier versions but I suspect it does.
Browsers: Chrome 51, Firefox 46. AFAIK, this would be reproducible on all platforms that support workers.
Reproducing the case
Run this plunker, and observe the console output.
The important code is in the file
The console should show these lines:
The first one unhandled rejection is from the main window. The 2nd is from the worker. Bluebird does produce warnings but those are not the issue here.
The unhandled rejection in the worker is never detected by the handler.
On Chrome, removing Bluebird from the worker produces the expected behavior.
Also, assigning to
I believe the issue is with
The text was updated successfully, but these errors were encountered: