Modify ↓
Ticket #10509 (closed bug: cantfix)
JQUERY UNLOAD DOESN'T WORK IN GOOGLE CHROME 14 AND ABOVE!
| Reported by: | bistra | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | None |
| Component: | event | Version: | 1.6.4 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
JQUERY UNLOAD DOESN'T WORK IN GOOGLE CHROME 14 AND ABOVE! For example this: $(window).unload(function(){
alert("Goodbye!");
});
doesn't produces anything! It crashes totally my project! Help me, please!
Change History
comment:1 Changed 20 months ago by addyosmani
- Priority changed from undecided to low
- Status changed from new to open
- Component changed from unfiled to event
comment:2 Changed 19 months ago by dmethvin
- Status changed from open to closed
- Resolution set to cantfix
Not our bug, and something we can't patch.
http://code.google.com/p/chromium/issues/detail?id=91854
Several dups in their bug database, search for "onunload" to see them.
Could be related to this security fix since it arose at Chrome 14:
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Confirmed that this works in FF.latest but not in Chrome 14+: http://jsfiddle.net/BT3SS/1/. Pretty sure this is a dupe of another ticket, but will chase down and confirm. I do know there are known issues with onbeforeunload in Chrome.stable onwards, but need to find out if there are related ones with this.