[Webkit-unassigned] [Bug 31097] <FORM> sends the form-data to the URL specified in "action" only once.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 12 06:05:44 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=31097





--- Comment #23 from Johnny Ding <jnd at chromium.org>  2010-03-12 06:05:43 PST ---
(In reply to comment #22)
> > I am modifying related affected tests to pass them. 
> 
> Is this the right thing to do? The test works in Firefox, so it sounds like the
> patch actually regresses behavior.

Thanks for comments, Alexey!

I didn't dig in the code of form submission in Firefox, but it looks Firefox
does not have the multiple submission protection logic since all above sites
work well in Firefox without this issue.

If WebKit community thinks a single form can have multiple non user-initiated
submission (such as submission triggered by continuous calling form.submit()),
then my patch is unnecessary. Otherwise the test needs to be changed.

Actually user can easily skip the multiple submission protection by adding a
random and useless query parameter, this is also how I change the test.
@char-encoding-utils.js
line 57 form.action = "resources/dummy.html?" + i;
There is no test logic changed.

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



More information about the webkit-unassigned mailing list