This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 18095 - Please review the following: "4. If form is already being submitted...". Probably it would be better to introduce a "form's being-submitted" flag and set it to "true" between steps 6 and 7, then change item 4 to "If the form's being-submitted flag is set
Summary: Please review the following: "4. If form is already being submitted...". Prob...
Status: RESOLVED WORKSFORME
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Edward O'Connor
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-18 17:15 UTC by contributor
Modified: 2013-02-08 23:04 UTC (History)
5 users (show)

See Also:


Attachments

Description contributor 2012-07-18 17:15:41 UTC
This was was cloned from bug 16430 as part of operation convergence.
Originally filed: 2012-03-19 07:15:00 +0000

================================================================================
 #0   contributor@whatwg.org                          2012-03-19 07:15:25 +0000 
--------------------------------------------------------------------------------
Specification: http://www.whatwg.org/specs/web-apps/current-work/
Multipage: http://www.whatwg.org/C#form-submission-algorithm
Complete: http://www.whatwg.org/c#form-submission-algorithm

Comment:
Please review the following: "4. If form is already being submitted...".
Probably it would be better to introduce a "form's being-submitted" flag and
set it to "true" between steps 6 and 7, then change item 4 to "If the form's
being-submitted flag is set ... ".  Rationale: if we attempt to implement item
4 as described now, any event handler that calls "form.submit()" in response
to "submit" event will not make it to the actual submission (which is after
step 7), but instead will stop at item 4 (because the form would have already
been being submitted whenever such event handler calls "form.submit()").

Posted from: 82.192.88.2 by manish.tripathi.777@gmail.com
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
================================================================================
Comment 1 Edward O'Connor 2013-02-08 23:04:54 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are
satisfied with this response, please change the state of this bug to CLOSED. If
you have additional information and would like the Editor to reconsider, please
reopen this bug. If you would like to escalate the issue to the full HTML
Working Group, please add the TrackerRequest keyword to this bug, and suggest
title and text for the Tracker Issue; or you may create a Tracker Issue
yourself, if you are able to do so. For more details, see this document:

   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: Fixed upstream in r7567, which was merged in https://github.com/w3c/html/commit/8aa54806c712c3793d168b7a299c17909657caa0
Rationale: This has already been fixed.