Bug 54225

Summary: OnBeforeUnload presents a confusing dialog box.
Product: WebKit Reporter: Ricky Romero <quiet.salt8175>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: ap, sullivan
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.6   
URL: http://www.4guysfromrolla.com/demos/OnBeforeUnloadDemo1.htm

Ricky Romero
Reported 2011-02-10 11:06:07 PST
When an OnBeforeUnload event is assigned, the browser presents a confusing dialog box. ------------------------------------------------- <URL> Are you sure you want to leave this page? <Website Message> Click OK to leave this page, or Cancel to stay on this page. ( Cancel ) ( OK ) ------------------------------------------------- I propose changing "OK" to "Leave Page" and removing the bottom line of text in the dialog.
Attachments
Alexey Proskuryakov
Comment 1 2011-02-10 20:29:57 PST
This dialog is provided by a browser, and is not part of open source WebKit. Closing the bug as INVALID per our policy. Thank you for reporting this! For Safari, this is already being tracked by Apple internally as <rdar://problem/6781283>.
Note You need to log in before you can comment on or make changes to this bug.