Open
Bug 1416619
Opened 7 years ago
Updated 2 years ago
Status code is undefined for some requests in the netmonitor
Categories
(DevTools :: Netmonitor, defect, P2)
DevTools
Netmonitor
Tracking
(firefox57 wontfix)
NEW
Tracking | Status | |
---|---|---|
firefox57 | --- | wontfix |
People
(Reporter: abhinav.koppula, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
image/png
|
Details |
STR:
- Open google.com with netmonitor open
- Check that some of the requests don't have any status code.
Expected:
All requests should have some status code
Actual:
Some of the requests especially cached ones, don't have any status code associated and the status code is undefined.
Check attachment
Updated•7 years ago
|
status-firefox57:
--- → wontfix
Priority: -- → P3
Comment 1•7 years ago
|
||
I can't reproduce this on my machine (win10)
Ricky, do you see the problem?
Honza
Flags: needinfo?(rchien)
Comment 2•7 years ago
|
||
I can reproduce it on my machine definitely. Some cached network requests don't expose cached status value, so it causes this problem.
Mentor: rchien
Flags: needinfo?(rchien)
Reporter | ||
Comment 3•7 years ago
|
||
Hi Ricky,
I'm interested in working on this issue.
Can you give me some pointers on how I can get started on this?
Flags: needinfo?(rchien)
Comment 4•7 years ago
|
||
Hey Abhinav Hoppula,
Thanks for your interest!
This issue seems not to appear in high frequency and barely reproducible. But it actually happens intermittently when navigating webpage like go forward / go back, and to make it worse it's not only status column but also other columns have affected (sometimes type, transferred, size columns are missing).
In short, fixing the problem might be not as easy as we think. I suspect that those missing values are related to follow-up onNetworkEventUpdate [1] event. Corresponded response data doesn't update to UI properly. You might need to insert log around this code path to see what happens here.
[1] https://searchfox.org/mozilla-central/source/devtools/client/netmonitor/src/connector/firefox-data-provider.js#366
Flags: needinfo?(rchien)
Comment 5•7 years ago
|
||
Hi!
If Abhinav isn't on this anymore, I'd like to give it a try!
After a few tests, it seems like this is happening randomly and I can't figure out a pattern for this bug. At first I thought it was only appearing on some cases when the monitor showed up a "cached" request, but then I wanted to take a screenshot and show it in this bug's attachments, and it happened also without being next to a "cached" request.
It is not only the status that is not appearing but also the "Transferred Size". Which shows "0GB".
Reporter | ||
Comment 6•7 years ago
|
||
Hi Kevin,
This issue is unassigned. Please feel free to give it a try.
Comment 7•7 years ago
|
||
Cool, thanks Abhinav! For now, I do not have any clue of how to solve this issue, I tried to put some console.log to understand what is happening with no success. I'll investigate more tomorrow
Comment 8•7 years ago
|
||
Hi,
I am pretty stuck on this. I tried to understand how the firefox-data-provider.js is working. I figured out that when information is missing from the network monitor, it seems to be coming from some eventUpdate that are missing (like 'responseStart')
But until now I couldn't find out where the problem is coming from really, even bt looking down through the call stack... Ricky, do you have any clue on this?
Updated•6 years ago
|
Mentor: ricky060709
Updated•6 years ago
|
Product: Firefox → DevTools
Comment 9•5 years ago
|
||
Maybe related to bug 1157817 and the work from bug 1556451, where necko will provide more events.
Priority: P3 → P2
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•