Developer tools Network pane thinks everything is blocked, even though things clearly load
Categories
(DevTools :: Netmonitor, defect, P2)
Tracking
(Not tracked)
People
(Reporter: Gijs, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
What were you doing?
- open Nightly on a clean profile
- open a new tab
- open the network pane with the shortcut (cmd-opt-e on mac)
- click in the URL bar, type "xkcd.com", and hit enter
What happened?
The network tool lists 10 requests, and indicates 7 were blocked, 1 was a 404, and does not list the document root / HTML page. However, the page renders fine, including the main comic, logos and other resources the network pane indicates were "Blocked"
What should have happened?
The network monitor should indicate the correct state for each request.
Anything else we should know?
If I force refresh with cache bypass (cmd-shift-r on mac), the page reloads and now the network tool doesn't list resources as blocked, but does indicate that they returned 304 and lists "transferred" as "cached", which is odd because I used cmd-shift-r, so it must have made network requests for all of these requests...
Reporter | ||
Comment 1•4 years ago
|
||
I made the mistake of not collecting a screenshot immediately. The second time I tried the steps from comment #0, only 4 requests display, 2 blocked - but as you can see, the image loaded fine despite what the network monitor says.
It feels like there's some kind of race condition.
Comment 2•4 years ago
|
||
Thanks Gijs for the report and detailed explanation!
I can reproduce the problem on my machine (Win10, Nightly)
I am attaching a screenshot, many requests (PNGs) are marked as blocked.
Honza
Comment 3•4 years ago
•
|
||
After refreshing the page I am also seeing many 304s and many non-finished requests (no status). There are also duplicates in the list.
Selecting these duplicates brings back the multi-selection issue.
(screenshot attached)
Honza
Comment 4•4 years ago
|
||
Related bugs:
- Bug 1610354 - Network Monitor: Multiple requests flagged as one, selection broken too
- Bug 1644275 - Network panel shows successful requests as blocked
Comment 5•4 years ago
|
||
Also note that the "Disable Cache" checkbox needs to be checked to reproduce this issue.
Comment 6•4 years ago
|
||
Gijs, we fixed couple of related issues and this might also be fixed. I don't see it on my machine atm.
Can you reproduce the issue now?
Reporter | ||
Comment 7•4 years ago
|
||
(In reply to Jan Honza Odvarko [:Honza] (always need-info? me) from comment #6)
Gijs, we fixed couple of related issues and this might also be fixed. I don't see it on my machine atm.
Can you reproduce the issue now?
After updating nightly, I could no longer reproduce, so I guess this is working now. Thanks!
Description
•