Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
IE9 on Windows Server throws exception; can't continue #2184
As far as I can tell, this is a similar issue to one faced by Modernizr: Modernizr/Modernizr#224. In Element.js, the "Booleans" (lines 537-554) cause an exception to be thrown in IE9 when the media codecs aren't available. The solution is, I think to wrap this code in a try-catch block.
In my testing, this fixes the problem. I'll submit a pull request as well. My concern is that this may adversely impact performance, so perhaps a cleverer solution (which perhaps filters the "bools" array) would be in order...
added a commit
Dec 22, 2011
Here you go: http://jsfiddle.net/barryvan/Xf2mh/
IE's UA string is:
This is Windows 7 Ultimate N (running in VirtualBox).