Bug Tracker

Modify

Ticket #10904 (closed bug: cantfix)

Opened 19 months ago

Last modified 15 months ago

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:
Blocking: Blocked by:

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

comment:1 Changed 19 months ago by dmethvin

  • Priority changed from undecided to low
  • Resolution set to cantfix
  • Status changed from new to closed
  • Component changed from unfiled to event

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.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.