Note that there are some explanatory texts on larger screens.

plurals
  1. PORunning jQuery crashing on IE10/Win7
    text
    copied!<p>I am for the moment just including jQuery (1.9.1, but old 1.8.3 behaved the same way) in my ASP.net webpage (Site.Master file actually). Everything worked fine running under IE9/Win7-64 but ever since I upgraded to IE10 (still Win7-64), now when I run the webpage locally, selecting Internet Explorer and run from within Visual Studio, I hit an exception.</p> <p>The exception is on line 4224 of the jquery-1.9.1.js file.</p> <pre><code>// Opera 10-12/IE8 - ^= $= *= and empty values // Should not select anything div.innerHTML = "&lt;input type='hidden' i=''/&gt;"; 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(",.*:"); </code></pre> <p>jQuery, both old and new, seems to not handle IE10 on Windows 7 properly. I crash at Opera 10-11, which is interesting.</p> <p>I also see a crash on 4242</p> <pre><code>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 ); }); </code></pre> <p>Here is one of the errors:</p> <pre><code>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"); </code></pre> <p>Anybody have any thoughts?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload