Bug Tracker

Modify

Ticket #8850 (closed bug: worksforme)

Opened 2 years ago

Last modified 4 months ago

resize events crashes on firefox 4

Reported by: webmaster@… Owned by: webmaster@…
Priority: low Milestone: 1.next
Component: event Version: 1.5.2
Keywords: Cc:
Blocking: Blocked by:

Description

In Firefox 4 calling any function on $(window).resize(), even an alert, crashes the browser

Change History

comment:1 Changed 2 years ago by addyosmani

  • Owner set to webmaster@…
  • Status changed from new to pending

Thanks for taking the time to contribute to the jQuery project! Please provide a reduced test case on  http://jsFiddle.net that reproduces the issue experienced to help us assess your ticket!

Additionally, test against the jQuery (edge) version to ensure the issue still exists.

comment:2 Changed 2 years ago by rwaldron

  • Status changed from pending to closed
  • Resolution set to worksforme
  • Component changed from unfiled to event

Tested in FF 3.6, 4.0, 4.2a1pre

 http://jsfiddle.net/rwaldron/PX28a/

comment:3 Changed 2 years ago by originof

For me a simple page like  http://pastebin.com/DTpcwLKy crash firefox 4

comment:4 follow-up: ↓ 5 Changed 2 years ago by timmywil

Alerts stop execution, but will still be continually added to the stack on every resize. It is best not to do that. Use console.log for debugging.  http://fixingthesejquery.com/#slide3

comment:5 in reply to: ↑ 4 Changed 2 years ago by brice@…

Actually, alert in a resize event crashes firefox 4 (probably due to the new alert window in js). console.log or whatever else function work correctly,

comment:6 Changed 2 years ago by anonymous

Yes, this is the case. It's a firefox bug.

comment:7 Changed 2 years ago by rwaldron

  • Priority changed from undecided to low

comment:8 Changed 14 months ago by anonymous

Same issue here. Alert on $(window).resize() causes freeze up.

comment:9 Changed 4 months ago by sypachev_s_s@…

Same issues on FF19 on $(window).resize() causes freeze up.

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.