Why doesn't IE9 keep a reference to the requests while all other browsers do? I'm using jasmine with JsTestDriver and this is the console.log of the this.server object in the afterEach teardown function.
In Firefox, Chrome, etc when I create a fake server using sinon.fakeServer.create() and then execute a request I get the following, correct output:
{
"requests": [{
"readyState": 4,
"requestHeaders": {
"Accept": "application/json, text/javascript, */*; q=0.01"
},
"requestBody": null,
... (a bunch of stuff removed for brevity) ...
"errorFlag": false,
"responseHeaders": {
"Content-Type": "application/json"
}
}],
"responses": [{
"method": "GET",
"response": [200, {
"Content-Type": "application/json"
}, "[\"campaignOne\",\"campaignTwo\",\"campaign3\",\"campaign4\"]"]
}],
"queue": []
}
In IE9 however, I get the following:
{
"requests": [],
"responses": [{
"method": "GET",
"response": [200, {
"Content-Type": "application/json"
}, "[\"campaignOne\",\"campaignTwo\",\"campaign3\",\"campaign4\"]"]
}]
}
Any thoughts?
Thanks in advance
- David