Home Dashboard Directory Help
Search

jQuery's .closest() method fails sporadically by Dave_Methvin


Status: 

Closed
 as Fixed Help for as Fixed


Type: Bug
ID: 795121
Opened: 7/26/2013 9:46:17 AM
Access Restriction: Public
1
Workaround(s)
view
0
User(s) can reproduce this bug

Description


See the ticket description at http://bugs.jquery.com/ticket/14190 which identifies the code that fails. This impacts both jQuery Core and jQuery UI. It's not possible to easily reduce this bug because when F12 tools are open the bug does not occur.
Details
Sign in to post a comment.
Posted by Christian Stockwell [MSFT] on 9/16/2013 at 1:02 PM
Thanks Dave for reporting this issue to us.

I was finally able to track down a machine that was reproducing the problem, and have been able to confirm that this no longer reproduces on updated builds of IE11 on both Windows 7 and Windows 8.1, so I will be updating the resolution to "Fixed".
Posted by Microsoft on 8/2/2013 at 5:58 AM
Thank you for your feedback.

We are currently unable to reproduce this issue as described.

We value your feedback. If you have additional information that can help us recreate this issue — such as a specific url, more detailed steps, test results from different machines, or additional conditions — please reactivate the bug or submit a new bug with more details on how to reproduce the issue. You can also read the guidelines at https://connect.microsoft.com/IE/content/content.aspx?ContentID=16254 regarding filing a good bug report.

Best regards,

The Internet Explorer Team
Posted by Microsoft on 7/30/2013 at 12:58 PM
Thank you for your feedback. We will be investigating this issue further.

Best regards,

The Internet Explorer Team
Sign in to post a workaround.
Posted by IECustomizer on 7/29/2013 at 11:33 PM
To debug the jsFiddle mashup...

F12>Debug tab>click the Close button dropdown and select "Break on all exceptions"

Press the jsFiddle Run button to rerun the iframe scripts.

you should get

Syntax Error - ln: 1639 in the jQuery module.
// Opera 10-11 does not throw on post-comma invalid pseudos
div.querySelectorAll(“*,:x”);

Screen shots attached.
File Name Submitted By Submitted On File Size  
jsFiddleClosest.png 7/29/2013 137 KB
ClosestTest.png 7/29/2013 121 KB