Closed
Bug 291936
Opened 20 years ago
Closed 20 years ago
Submitting a form while tab is loading should cancel and re-submit
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: timwi, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.7) Gecko/20050414 Firefox/1.0.3 StumbleUpon/1.9995 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.7) Gecko/20050414 Firefox/1.0.3 StumbleUpon/1.9995 See steps to reproduce. Reproducible: Always Steps to Reproduce: 1. Find a page where you have a form which, upon submitting, takes long enough to load for you perform the remaining steps to reproduce. 2. Submit the form. 3. While the thing is loading, change some of the values in the form. 4. While the thing is still loading, select the submit button again. Actual Results: Once the thing finishes loading, you realise that it has submitted the old values only, and it has ignored the fact that you selected the submit button a second time while it was loading. Expected Results: The first submission should have submitted the old values, and the second submission should have cancelled the loading and submitted the new values. It's fine by me if this is by design (to prevent duplicate submission from accidental double-clicks) and you decide to WONTFIX this (but you should NOT do that just because I said this).
Updated•20 years ago
|
Severity: normal → minor
Component: General → HTML: Form Submission
Product: Firefox → Core
Version: unspecified → 1.7 Branch
Updated•20 years ago
|
Assignee: firefox → form-submission
QA Contact: general → ian
Comment 1•20 years ago
|
||
I confirm using Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7.7) Gecko/20050414 Firefox/1.0.3 and Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050425 Firefox/1.0+ . As Timwi says this is maybe a wontfix.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All
Version: 1.7 Branch → Trunk
Comment 2•20 years ago
|
||
Yep, this is the result of the code that suppresses double-submits. I believe the current behavior is the only one that can be sanely implemented if double-submits are to be avoided.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WONTFIX
Updated•6 years ago
|
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•