Ausführen von jQuery, das unter IE10 / Win7 abstürzt

Ich habe im Moment nur jQuery (1.9.1, aber alt 1.8.3 hat sich genauso verhalten) in meine ASP.net-Webseite aufgenommen (Site.Master-Datei tatsächlich). Alles hat unter IE9 / Win7-64 einwandfrei funktioniert, aber seit dem Upgrade auf IE10 (immer noch Win7-64) habe ich eine Ausnahme festgestellt, wenn ich die Webseite lokal ausführe, Internet Explorer auswähle und in Visual Studio ausführe.

Die Ausnahme befindet sich in Zeile 4224 der Datei 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, sowohl alt als auch neu, scheint mit IE10 unter Windows 7 nicht richtig umzugehen. Ich stürze bei Opera 10-11 ab, was interessant ist.

Ich sehe auch einen Absturz auf 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 );
    });

Hier ist einer der Fehler:

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");

Hat jemand irgendwelche Gedanken?

Antworten auf die Frage(3)

Ihre Antwort auf die Frage