Error in IE9+: “Can't execute code from a freed script”

Oct 30, 2013 at 5:30 PM
I am making an oData request cross domain using JSONP:
OData.defaultHttpClient.enableJsonpCallback = true;
The request seems to respond as expected in Chrome, Firefox and IE8. Just not in IE9+.

From what I understand this error occurs when the Iframe calls a function that has been disposed of in the parent.

I have monitored the network traffic for the request, and the response body contains the correct data:
I have modified this to hide sensitive data.

Can anybody see anything I am missing or suggest areas where I can investigate?

Does anybody else have this problem?
Oct 31, 2013 at 10:09 PM
Hi liammoat,

Thanks for reporting the issue you are having,
may I ask which version of datajs are you using ?

Nov 1, 2013 at 4:44 PM
Hi Hussein,

I am using version 1.1.1


Mar 31, 2014 at 1:42 PM
I am having the same problem, also using OData.defaultHttpClient.enableJsonpCallback = true;

The response body contains the response data i want, but JayData.js (version 1.3.5) hangs on checking operation 'first'. Apperently the context has been disposed somehow.

The problem first appearde when i adapted the service i'm calling from http:// to https:// (which works ok using a browser).

Any suggestions?