[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 00:23:23 PST 2010


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





--- Comment #21 from Johnny Ding <jnd at chromium.org>  2010-03-12 00:23:22 PST ---
This is because fast/encoding/resources/char-encoding-utils.js, it had multiple
submissions for a single form triggered by script (those submission were not
user-initiated). So the WebKit's multiple submissions protection for single
form took effect to disallow the multiple submissions, which caused the related
charset encoding tests were failed.

Those tests were successful on previous webkit revisions is because int those
revisions, the multiple submissions protection check was only triggered when
the current frame (frame of sending submission) is descendant of the target
frame (or the target frame is "_blank", which was wrong). Actually in the old
revisions, the multiple submissions protection was not active when running
charset-encoding tests.

In this patch, I removed the unnecessary to check the descendant relationship,
so the multiple submissions protection is active and takes effect.
I am sorry I didn't dig in the charset-encoding failures for previous patch. I
thought they were just timeout issues.

I am modifying related affected tests to pass them. 
A new patch will be uploaded soon.

-- 
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