XMLHttpRequest timeout issue

When using XMLHttpRequest timeout never fires as it should according to specs.

  • Download project (node > 4 required. I’m running 5.7.1 but anything > 4 should work).
  • $ cd timeout-test
  • Start mock server: $ cd server && npm install && node server.js
  • Run timeout-app
  • I’ve also attached a web equivalent of the exact same code. cd timeout-web && npm install && npm start. Open browser in localhost:3001 and see console output.

Web times out as expected, while Fuse app fires onload after 3 seconds.

Download project files