cjohansen/Sinon.JS — pull request #424 by fearphage (2014-03-03 17:22:35+00:00)
Title: Don't allow fake XHR to step back to HEADERS_RECEIVED

I added a missing verification to stop `setResponseHeaders` from setting the `readyState` from 3 and 4 to 2. This fixes #402.