goutam
goutam

Reputation: 657

Browser support Internet Explorer 10 - Compatibility Mode

I am developing an application using a proprietary front-end framework. The framework supported only Internet Explorer 7, 8 standards.

Now as a new requirement, we are testing our application in the Internet Explorer 10. I tried it in three personal computers having the same browser settings as described below.

Internet Explorer Version: 10.0.9200
Browser Mode: IE 10 compatibility View
Document Mode: IE 7 standards

I tested the same UI in three systems and the page got rendered in two systems but I received a script error in one system and I am not able to find the reason for that error.

Error details in the below line at character 4:

Object doesn't support this action

var req = new XMLHttpRequest();

I am not able to find out the reason why the same application runs smooth in other browsers having the same settings.

Upvotes: 0

Views: 418

Answers (2)

Jagannath Krishnan
Jagannath Krishnan

Reputation: 19

Enable "Native XMLHTTP support" in IE browser under the tab Tools-> Advanced -> Security -> Enable Native XMLHTTP support .

Upvotes: 0

securecodeninja
securecodeninja

Reputation: 2515

If you're saying that the IE settings (and version) is exactly identical across all 3 machines then a lot of factors can be considered with this issue and it can span from connectivity, specifications, etc. - anything that can differentiate one PC to another which will be difficult to identify.

For the benefit of the doubt, we can give a try on the following:

  • Tweak your code to create the XMLHttpRequest object once the window loads

    window.onload = function() { var req = new XMLHttpRequest(); }

or

Upvotes: 0

Related Questions