1 CONSOLE ERROR: line 3: Uncaught (in promise) Error: err1
2 CONSOLE ERROR: line 21: Uncaught (in promise) Error: err2
3 Tests that uncaught promise rejections happenned in workers are logged into console.
5 worker-with-unhandled-promises.js:3 Uncaught (in promise) Error: err1(…)
6 worker-with-unhandled-promises.js:21 Uncaught (in promise) Error: err2(…)