Bug 23505 - Dialog when going back to a page from whence you submitted a form
Summary: Dialog when going back to a page from whence you submitted a form
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL: http://www.prophyler.org/cgi-bin/sear...
Depends on:
Reported: 2009-01-23 09:38 PST by Gavin Sherlock
Modified: 2009-01-25 08:06 PST (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Gavin Sherlock 2009-01-23 09:38:57 PST
Broken out from bug 22194.

Steps to Reproduce:

Tested using r40102.

1.  Go to:


2.  Enter a value in the box under "Search by UniProt Accession", such as


4.  After the resulting page has loaded, hit the back button in the browser. 
You get the "Are you sure you want to send a form again?" dialog twice.

I am unable to determine if it is a regression due to bug 23342, though this behavior is present in Safari 3.2.1.
Comment 1 Alexey Proskuryakov 2009-01-25 02:47:50 PST
I don't think that this is a bug. This search works strangely - the form is submitted twice, so there is a page with submission result in the history (as you can see by clicking and holding Back button in Safari). So, it is correct for Safari to ask about form re-submission when going back to the intermediate result.

I'm seeing the same behavior in Firefox.
Comment 2 Gavin Sherlock 2009-01-25 08:06:50 PST
The Firefox behavior is slightly different, in that the  dialog is shown only once, not twice.  To my mind, Opera works correctly.  Going back once goes to the intermediate screen, going back again goes to the original search form.