[Webkit-unassigned] [Bug 19324] New: onbeforeunload related bug?

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 30 10:12:38 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=19324

           Summary: onbeforeunload related bug?
           Product: WebKit
           Version: 525.x (Safari 3.1)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: krudtaa at yahoo.com


Tested in Safari 3.1.1 (525.17) for Win XP

See attached php file for testing and javascript.

The page produces a warning to the user if the form has been modified and the
user tries to navigate away from current page. 

If the page has been modified, if any of the two checkboxes are checked, and
the user does one of the following:
Tries to close the browser.
Tries to navigate away from the page either by using the select in the form, or
enter a new address in the address field, or click a link in the page (if it
had been a link).
then the user should be presented with a warning. 

To see the strange behaviour do the following:
Open the page
Check either one of the checkboxes
Then change the content of the select box
You should now be presented with the warning, as expected
In the dialogbox (the warning), click Cancel to stay on the page.
Then try click anywhere in the page, except on the select and the Save button.
Now Safari displays the same dialog box again. Which it should not.

See attached php file for testing and javascript.


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



More information about the webkit-unassigned mailing list