Side navigation
#10904 closed bug (cantfix)
Opened November 27, 2011 08:26PM UTC
Closed November 28, 2011 02:02AM UTC
Last modified March 14, 2012 11:25AM UTC
Firefox doesn't seem to evaluate try/catch block in a window.onerror handler.
Reported by: | jason+jquery@jrotello.com | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | event | Version: | 1.7 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I logged what I believed to be a Firefox bug with Mozilla. Further investigation seems to now point toward jQuery.
Please see the following Stack Overflow question for details: http://stackoverflow.com/questions/8218098/firefox-does-not-properly-handle-try-catch-blocks-in-window-onerror
You will find the link to the Mozilla bug report as well as the test case that demonstrates the issue. I have included the following link to the working test case so that you don't have to hunt for it:
https://bug704259.bugzilla.mozilla.org/attachment.cgi?id=577102
Attachments (0)
Change History (1)
Changed November 28, 2011 02:02AM UTC by comment:1
component: | unfiled → event |
---|---|
priority: | undecided → low |
resolution: | → cantfix |
status: | new → closed |
Seems like an issue with Firefox and
addEventListener()
to me, the behavior is consistently broken even if you remove jQuery:http://jsfiddle.net/dmethvin/2gpWB/
I've linked to our ticket at the Mozilla one:
https://bugzilla.mozilla.org/show_bug.cgi?id=704259
I'll close this cantfix, it really seems like something the Firefox team will need to address. Please post if there is some reasonable workaround we can use, but with Firefox on a quick update cycle it usually doesn't make sense for us to invest a lot of time on these kind of problems.