I'm getting a javascript exception from something being set up in ResharperAjax.cs, but can't figure out how to get around it
The lines that seem to be causing the issue in ResharperAjax.cs are:
request.open("GET", url, false);
request.setRequestHeader("User-Agent", "ReSharperTestRunner 7.0");
The setRequestHeader method is resulting in an exception (Refused to Set unsafe header - User Agent).
It happens when I try to run some basic JS unit tests using Chutzpah and Sinon.js.
Any ideas?