#8850 closed bug (worksforme)
resize events crashes on firefox 4
Reported by: | Owned by: | ||
---|---|---|---|
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
Change History (9)
comment:1 Changed 11 years ago by
Owner: | set to [email protected]… |
---|---|
Status: | new → pending |
comment:2 Changed 11 years ago by
Component: | unfiled → event |
---|---|
Resolution: | → worksforme |
Status: | pending → closed |
Tested in FF 3.6, 4.0, 4.2a1pre
comment:3 Changed 11 years ago by
For me a simple page like http://pastebin.com/DTpcwLKy crash firefox 4
comment:4 follow-up: 5 Changed 11 years ago by
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 Changed 11 years ago by
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:7 Changed 11 years ago by
Priority: | undecided → low |
---|
Note: See
TracTickets for help on using
tickets.
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.