New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 723004 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: May 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Clicking a button to submit a disconnected form should not fire submit events

Project Member Reported by domenic@chromium.org, May 16 2017

Issue description

Comment 1 by tkent@chromium.org, May 17 2017

Components: -Blink>Forms Blink>Forms>Submission
Status: Available (was: Untriaged)
Hmm, the test fails with Chrome, Edge, Firefox, and Safari.


Owner: shanmug...@samsung.com
Status: Assigned (was: Available)
Yeah, it's true nobody passes the test right now. However, we thought it was best to keep the spec as-is, because nobody submits disconnected forms to the server, and it makes no sense to fire a submit event if you're later not going to submit the form.

In other words, it is better to abort before firing the submit event, if you are disconnected, instead of waiting until after.

Comment 4 by tkent@chromium.org, May 19 2017

>  it makes no sense to fire a submit event if you're later not going to submit the form.

I agree.  We already counted disconnected form submission, and it's very low.  The behavior change should be ok.

https://bugs.chromium.org/p/chromium/issues/detail?id=586749#c10

Comment 6 by tkent@chromium.org, May 25 2017

Labels: M-60
Status: Fixed (was: Assigned)
I filed a related specification issue.
https://github.com/whatwg/html/issues/2708

Sign in to add a comment