id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blocking	blockedby
6027	onbeforeunload breaks events in Chrome 4	menno		"= Steps to reproduce: =
  - create a page with an onbeforeunload event
  - try to reload/close the page and see the browser dialog appear
  - choose to stay on the page

= Expected result: =
All events are still attached to their DOM elements.

= Actual result: =
No events are being fired anymore.

The problem appears to be ""return (new Date).getTime()"" in the function now() which doesn't return anything valid anymore after the canceled reload. If I change the function to return ""(new Date).valueOf()"" it seems to fix the problem.

See the attached HTML for a testcase. 
"	bug	closed	major	1.4.2	unfiled	1.4.1	worksforme				
