[Webkit-unassigned] [Bug 242314] Double clicking submit button causes forms to be submitted twice

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 5 01:22:44 PDT 2022


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

--- Comment #9 from Neil <fraser at google.com> ---
Here's a video of the behaviour:  https://youtu.be/9k59Ze9b8m0

We start a test of POST on Safari:
* Single click on POST form -> single server fetch.
* Double click on POST form -> two server fetches.
* 10 clicks on POST form -> 10 server fetches.

This process repeats with a test of GET on Safari, and with a simple anchor on Safari, all with identical results.

All these tests (POST/GET/anchor) are repeated with Chrome, all with identical results.

All these tests are repeated with Firefox, but with different results: POST and GET form submissions are restricted to single server fetches, while simple anchors do fetch multiple times.  Note that the output of Firefox is slightly confused because it fetched favicon.ico once for each test group, thus polluting the log a bit.

The pages were on a remote server, and the destination page takes about 200 ms to load (the same test run locally behaves differently due to the speed of the fetch).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220705/d0162685/attachment.htm>


More information about the webkit-unassigned mailing list