JavaScript library to simulate Internet Explorer JavaScript environment? -


This is not a duplicate of the question about emulating Internet Explorer's CSS support; It's about Javascript Functions.

Is there a JavaScript library that can simulate an environment like Internet Explorer, while JavaScript is a question of factories?

Actually, this

Effectively, what I'm looking for, I can delete / overwrite the tasks which are older versions of IE (Such as indexOf, etc.) or at least give them any call. For some there is almost opposite and can also be used to do theoretically test (in non-IE browser) which means that Underscore.js is doing this.

or Need to simulate so little of the environment that I can do it myself? If so, then how?


I'm assuming the situation to be used:

To automatically simulate an IE7 environment in WebKit Browser for Javascript (by Jenkins) this Using script, unit-testing with Jasmine / Quinnit etc. (Drawings).

I should be advised about this because you will test how well you support this simulation Let's do it, not only IE 7. The IE7 engine is in line with most standards, save for some quits (such as poor response to looted commas) and of course, the environment is missing from recent standards. Most of those quirks are either in line with other browsers or can be easily written without a JS engine in JS engine. You (and want to note that "FF / Opera / Safari: The same" section, where you do not want to account for IE's discrepancy with EE).

Your best bet is that the IE version is currently running with the real IE 7, that, BTW, for any too much testing or at least, compatibility mode.

Comments