Closed Bug 1667225 Opened 4 years ago Closed 4 years ago

Developer tools Network pane thinks everything is blocked, even though things clearly load

Categories

(DevTools :: Netmonitor, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: Gijs, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

What were you doing?

  1. open Nightly on a clean profile
  2. open a new tab
  3. open the network pane with the shortcut (cmd-opt-e on mac)
  4. 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...

Attached image Screenshot

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.

Attached image image.png

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

Attached image image.png

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

Related bugs:

  • Bug 1610354 - Network Monitor: Multiple requests flagged as one, selection broken too
  • Bug 1644275 - Network panel shows successful requests as blocked
Severity: -- → S3
Priority: -- → P2

Also note that the "Disable Cache" checkbox needs to be checked to reproduce this issue.

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?

Flags: needinfo?(gijskruitbosch+bugs)

(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!

Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(gijskruitbosch+bugs)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: