Firefox DevTools are not showing responses to fetch keep-alive requests
Categories
(DevTools :: General, defect, P2)
Tracking
(Not tracked)
People
(Reporter: simon.schatka, Unassigned)
References
(Blocks 2 open bugs)
Details
Steps to reproduce:
I am using fetch keep-alive. Those are the parameters:
{
body: <omitted>,
credentials: "same-origin",
headers: {…},
keepalive: true,
method: "POST",
mode: "cors"
}
Actual results:
Request is performed and shown as "beacon" in the network tab of the devtools.
When I click on the "Response" of the request, i get the message: "No response data available for this request".
Expected results:
The response should have been shown.
I used fiddler to intercept the request and there is a response body.
I have ALSO checked the code and used "await fetch.json()" and the fetch request is properly returning the response body.
This shows that the issue is merely an issue with the Firefox Devtools.
Comment 1•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'DevTools::General' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•1 year ago
|
||
Last time we checked keep-alive true requests were not showing up in netmonitor, so I'm not sure if something recently changed, and we now only miss the response. I will try to compare 134 and 135.
Would be nice to build a test case for this.
Updated•1 year ago
|
Comment 5•1 year ago
|
||
Still an issue we should get this prioritized.
Comment 6•8 months ago
|
||
Should be fixed per Bug 1897424
Description
•