Closed Bug 1935107 Opened 1 year ago Closed 8 months ago

Firefox DevTools are not showing responses to fetch keep-alive requests

Categories

(DevTools :: General, defect, P2)

Firefox 133
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1897424

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.

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.

Component: Untriaged → General
Product: Firefox → DevTools

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.

Severity: -- → S3
Depends on: 1926042
Flags: needinfo?(jdescottes)
Priority: -- → P2

Same here

Duplicate of this bug: 1987864

Still an issue we should get this prioritized.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(jdescottes)

Should be fixed per Bug 1897424

Status: NEW → RESOLVED
Closed: 8 months ago
Duplicate of bug: 1897424
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.