When request to URL A redirects to URL B, we currently have the following event order: - beforeRequestSent for URL A
Bug 1879580 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
When request to URL A redirects to URL B, we currently have the following event order: - `beforeRequestSent` for URL A - `responseStarted` for URL A - `beforeRequestSent` for URL B - `responseStarted` for URL B - `responseCompleted` for URL A - `responseCompleted` for URL B However, according to step 6 of https://whatpr.org/fetch/1540.html#concept-http-fetch, we should emit responseCompleted for URL A before we start the redirected request. So the expected event order should be: - `beforeRequestSent` for URL A - `responseStarted` for URL A - `responseCompleted` for URL A - `beforeRequestSent` for URL B - `responseStarted` for URL B - `responseCompleted` for URL B