Ticket #7949 (closed bug: invalid)
Type Error thrown in IE8 - related to querySelectorAll
|Reported by:||gray8110@…||Owned by:||gray8110@…|
I haven't been able to pinpoint what is causing an object to be passed to the replace method, but when running a minified version of 1.4.4, but this line within the qSA declaration will throw a type error in IE8. Older versions of IE and webkit/mozilla browsers
query = query.replace(/\=\s*([^'"\]]*)\s*\]/g, "='$1']");
I've been able to resolve the issue by checking that query is a string before invoking replace(). This error is only reproducible when jQuery has been minified. The error is thrown using both YUI and closure compiler minified code including the OOTB version provided by jQuery.