[Webkit-unassigned] [Bug 115488] New: onbeforeunload prompter is now missing some important words

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 1 13:20:29 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=115488

           Summary: onbeforeunload prompter is now missing some important
                    words
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: grant_gayed at ca.ibm.com


- 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.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list