Skip to content
This repository

IE9 on Windows Server throws exception; can't continue #2184

Closed
barryvan opened this Issue December 21, 2011 · 3 comments

3 participants

Barry van Oudtshoorn Cristian Carlesso Olmo Maldonado
Barry van Oudtshoorn

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...

Barry van Oudtshoorn barryvan referenced this issue from a commit in barryvan/mootools-core December 22, 2011
Barry van Oudtshoorn Fixes #2184 d43ca49
Olmo Maldonado
Owner
Barry van Oudtshoorn

Here you go: http://jsfiddle.net/barryvan/Xf2mh/

IE's UA string is: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C)

This is Windows 7 Ultimate N (running in VirtualBox).

Cristian Carlesso kentaromiura closed this September 01, 2012
Cristian Carlesso
Collaborator

see #2185

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.