Bug Tracker

Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#10904 closed bug (cantfix)

Firefox doesn't seem to evaluate try/catch block in a window.onerror handler.

Reported by: jason+jquery@… 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 8 years ago by dmethvin

Component: unfiledevent
Priority: undecidedlow
Resolution: cantfix
Status: newclosed

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.

Note: See TracTickets for help on using tickets.