Uruchamianie jQuery upadającego na IE10 / Win7

Jestem w tej chwili tylko jQuery (1.9.1, ale stary 1.8.3 zachowywał się tak samo) w mojej stronie ASP.net (w rzeczywistości plik Site.Master). Wszystko działało dobrze w IE9 / Win7-64, ale od czasu uaktualnienia do IE10 (nadal Win7-64), teraz, gdy uruchamiam stronę lokalnie, wybierając Internet Explorer i uruchamiając z Visual Studio, trafiłem na wyjątek.

Wyjątkiem jest linia 4224 pliku jquery-1.9.1.js.

// Opera 10-12/IE8 - ^= $= *= and empty values
// Should not select anything
div.innerHTML = "<input type='hidden' i=''/>";
if ( div.querySelectorAll("[i^='']").length ) {
    rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:\"\"|'')" );
}

// FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled)
// IE8 throws error here and will not see later tests
if ( !div.querySelectorAll(":enabled").length ) {
    rbuggyQSA.push( ":enabled", ":disabled" );
}

// Opera 10-11 does not throw on post-comma invalid pseudos
div.querySelectorAll("*,:x");
rbuggyQSA.push(",.*:");

jQuery, zarówno stara, jak i nowa, wydaje się nie obsługiwać poprawnie IE10 w Windows 7. Awaria w Operze 10-11, co jest interesujące.

Widzę także awarię na 4242

if ( (support.matchesSelector = isNative( (matches = docElem.matchesSelector ||
    docElem.mozMatchesSelector ||
    docElem.webkitMatchesSelector ||
    docElem.oMatchesSelector ||
    docElem.msMatchesSelector) )) ) {

    assert(function( div ) {
        // Check to see if it's possible to do matchesSelector
        // on a disconnected node (IE 9)
        support.disconnectedMatch = matches.call( div, "div" );

        // This should fail with an exception
        // Gecko does not error, returns false instead
        matches.call( div, "[s!='']:x" );
        rbuggyMatches.push( "!=", pseudos );
    });

Oto jeden z błędów:

Exception was thrown at line 4224, column 4 in http://localhost:49928/jquery/jquery-1.9.1.js
0x800a139e - JavaScript runtime error: SyntaxError
Source line: div.querySelectorAll("*,:x");

Czy ktoś ma jakieś myśli?

questionAnswers(3)

yourAnswerToTheQuestion