mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 12:50:09 +00:00

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