Skip to content

Conversation

@daguej
Copy link

@daguej daguej commented Feb 14, 2011

The fix implemented for #3533 caused a regression in jQuery 1.4.1 (and remains in 1.5). JavaScript exceptions thrown within a plain JS object's on<event> handler get caught and swallowed by event.js:378.

See #8272.

@timmywil
Copy link
Member

I think the less try/catches the better. I ran this through the test suite in IE6 and everything passes.

@dmethvin
Copy link
Member

daguej, thanks! Is the colon character the only one that causes the issue in IE?

@daguej
Copy link
Author

daguej commented Mar 31, 2011

Yes, the colon is the only problem character. Test here.

Also, the IE bug that causes this problem is fixed in IE 9.

@jeresig
Copy link
Member

jeresig commented Apr 12, 2011

This try/catch no longer appears to be in the source - I think @dmethvin fixed this already.

@jeresig jeresig closed this Apr 12, 2011
@dmethvin
Copy link
Member

Yep, i guess the PR didn't auto-close. The ticket did get closed though. Thanks!

@lock lock bot locked as resolved and limited conversation to collaborators Jan 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants