Tests debugging of HTML5 Workers

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