How Reliable Is Internet Explorers Browser Mode?
Solution 1:
I'm seeing mixed results so far; I never tested the IE9 version, so cannot comment if Microsoft have done better job this time round (the kinds of things reported at https://stackoverflow.com/a/11418046/841830 are much more specific to CSS than I've been looking at).
Specifically I've installed IE10 on Windows 7 (64-bit), and tested HTML5 features. The selection of Document Mode appears to be much more important than the selection of Browser Mode.
- User agent changes correctly
The IE detection idiom works
<!--[if lte IE 9]> <script language="javascript"> var is_ie_9_or_earlier=true; <</script><![endif]-->
typeof window.PostMessage
: WRONG. this is being returned as "object" in IE7 mode. I believe it is undefined in real IE7. IE8/IE9/IE10 correctly return it as "object".typeof new XMLHttpRequest().responseType
. This is "undefined" in IE7/IE8/IE9, and "string" in IE10. Which I believe is correct.typeof Object.keys
. Undefined in IE7/IE8, but "function" in IE9/IE10. Again, I think this is correct.
On the other hand ietester on the same machine was much weirder (javascript not running correctly when it should have).
Post a Comment for "How Reliable Is Internet Explorers Browser Mode?"