Closed Bug 1566076 Opened 7 years ago Closed 6 years ago

The network tab only shows requests made once I change to the network tab, but not made while the console is open prior to clicking on the network tab

Categories

(DevTools :: Netmonitor, defect, P3)

64 Branch
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: pinghedm, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36

Steps to reproduce:

Open a webpage on localhost
Open the dev console with ctrl+shift+I and remain on the Console tab
Interact with page and cause XHR requests to be fired off
Change to network tab

Actual results:

There is no record of any network requests being made, just the default text telling me to make a request or load the page

Expected results:

I should see the network requests that the page made, as per the documentation here

https://developer.mozilla.org/en-US/docs/Tools/Network_Monitor

"The Network Monitor records network requests any time the Toolbox is open, even if the Network Monitor itself is not selected. This means you can start debugging a page in, for example, the Web Console, then switch to the Network Monitor to see network activity without having to reload the page."

Component: Untriaged → Netmonitor
Product: Firefox → DevTools

I can't reproduce this in Nightly. Did anything change regarding this behavior in the past?

Flags: needinfo?(odvarko)

First time using firefox for web dev; no idea if this is recent or not. Sorry!

The Network panel starts collecting the HTTP traffic data only when it's selected for the first time.
This is a feature not a bug.

Is the what you meant by the report?

Honza

Flags: needinfo?(odvarko) → needinfo?(pinghedm)

Uh, yea I guess so. That doesn't match my reading of the documentation I linked, nor is it what I want as a developer, which is why I assumed it was in error. But if that's by design, fair enough - might be something I'm not considering. Feel free to close as necessary

Flags: needinfo?(pinghedm)

Thanks for the update!

Irene, this page [1] contains the following paragraph

The Network Monitor records network requests any time the Toolbox is open, even if the Network Monitor itself is not selected. This means you can start debugging a page in, for example, the Web Console, then switch to the Network Monitor to see network activity without having to reload the page.

It's not accurate, the Network Monitor panel needs to be selected at least once (by the user) to start collecting the HTTP data.

Do you want me to keep this bug open, until the doc is fixed or report this as a new bug in different bug tracker list (github)?

Honza

[1] https://developer.mozilla.org/en-US/docs/Tools/Network_Monitor

Flags: needinfo?(irenesmith13)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3

I have updated the page. See if this is better. https://developer.mozilla.org/en-US/docs/Tools/Network_Monitor

Flags: needinfo?(irenesmith13)

(In reply to Irene Smith from comment #6)

I have updated the page. See if this is better. https://developer.mozilla.org/en-US/docs/Tools/Network_Monitor

I am not seeing any update, the paragraph I highlighted in comment #5 is still there and the same.

Perhaps I need to wait till this propagates through caches ... ?

Honza

Flags: needinfo?(ismith)

Just try doing a shift + refresh? I added a new image and rewrote the paragraph.

Flags: needinfo?(ismith)

Docs updated, closing this.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.