Nika Layzell c14c6bb509 Bug 1647892 - Improve the reliability of test_double_submit.html, r=farre
Unlike the previous implementation, this new version performs the
waiting before sending response headers, meaning that it delays
OnStartRequest rather than just delaying the response body. As the
double-submission prevention currently only waits for OnStartRequest,
this should improve the reliability of the test.

Because the test no longer requires large amounts of data for delay
purposes, it has also been simplified to not generate random large
payloads anymore.

Differential Revision: https://phabricator.services.mozilla.com/D141427
2022-03-21 20:19:45 +00:00
..