#10904 closed bug (cantfix)
Firefox doesn't seem to evaluate try/catch block in a window.onerror handler.
Reported by: | 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
Change History (1)
comment:1 Changed 11 years ago by
Component: | unfiled → event |
---|---|
Priority: | undecided → low |
Resolution: | → cantfix |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
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.