Bug 115488

Summary: onbeforeunload prompter is now missing some important words
Product: WebKit Reporter: Grant Gayed <grant_gayed>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED    
Severity: Normal CC: bugs-noreply
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Grant Gayed
Reported 2013-05-01 13:18:51 PDT
- observed in WebKitGTK 2.0.1, WebKit1 API, gtk 2.24.x Steps: - add the following to any page: <script> function closeIt() { return "This page has unsaved changes."; } window.onbeforeunload = closeIt; </script> - view the page and then navigate away from it - a prompter is shown with just "This page has unsaved changes.", and OK/Cancel buttons, but indication of what they mean In previous releases the prompter had additional words like "Are you sure you want to navigate away? <page-provided message> Press OK to go, or Cancel to stay". These words are important because onbeforeunload implementers are not generally expected to provide the OK/Cancel button instructions, especially since different browsers have differently-labelled buttons in their prompters.
Attachments
Grant Gayed
Comment 1 2013-05-01 13:19:48 PDT
(In reply to comment #0) > but indication but no indication
Grant Gayed
Comment 2 2013-05-01 13:54:27 PDT
Actually I'm getting my renderers mixed up, it looks like WebKitGTK's onbeforeunload prompter has never had words like these (but the others do).
Note You need to log in before you can comment on or make changes to this bug.