Tests debugging of HTML5 Workers
- Open DevTools, Scripts Panel; Tick Debug on Workers sidebar.
- Reload the page.
- Observe 2 workers appear in the worker sidebar pane (including non-existent-worker.js)"
- Observe worker-primes.js and primes.js appear in scripts drop-down box.
- Assure primes are being logged to test console below.
- Set a breakpoint on one of worker scripts, assure it's hit.
- Try causing an error in worker, observe it's logged in DevTools console and in test console below.