Skip to main content

Bug Tracker

Side navigation

#8850 closed bug (worksforme)

Opened April 12, 2011 10:04AM UTC

Closed April 12, 2011 03:12PM UTC

Last modified January 28, 2013 12:04PM UTC

resize events crashes on firefox 4

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

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

Attachments (0)
Change History (9)

Changed April 12, 2011 01:25PM UTC by addyosmani comment:1

owner: → webmaster@spacenew.it
status: newpending

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.

Changed April 12, 2011 03:12PM UTC by rwaldron comment:2

component: unfiledevent
resolution: → worksforme
status: pendingclosed

Tested in FF 3.6, 4.0, 4.2a1pre

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

Changed April 12, 2011 05:31PM UTC by originof comment:3

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

Changed April 12, 2011 05:46PM UTC by timmywil comment:4

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

Changed April 13, 2011 08:54AM UTC by brice@gmail.com comment:5

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,

Changed April 25, 2011 02:25PM UTC by anonymous comment:6

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

Changed April 25, 2011 03:17PM UTC by rwaldron comment:7

priority: undecidedlow

Changed March 11, 2012 11:36PM UTC by anonymous comment:8

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

Changed January 28, 2013 12:04PM UTC by sypachev_s_s@mail.ru comment:9

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