WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
UNCONFIRMED
115488
onbeforeunload prompter is now missing some important words
https://bugs.webkit.org/show_bug.cgi?id=115488
Summary
onbeforeunload prompter is now missing some important words
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
Add attachment
proposed patch, testcase, etc.
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.
Top of Page
Format For Printing
XML
Clone This Bug