Open Bug 1922480 Opened 1 year ago Updated 1 year ago

Add test to check size for cached stylesheet requests in netmonitor

Categories

(DevTools :: Netmonitor, task, P3)

task

Tracking

(Not tracked)

People

(Reporter: jdescottes, Unassigned)

References

Details

The netmonitor is now able to show cached stylesheet requests, however all requests have a -1 B size.
When the notification was added we couldn't preserve some information from the original channel, so it might be related to that.

Arai, do you know if this limitation might be addressed by your patches on Bug 1915626 ?
In that case we can just keep this bug to add a test case in devtools.

Flags: needinfo?(arai.unmht)

Yes, bug 1915626 patch associates mozilla::net::nsHttpResponseHead to the cache, and it has the content length data as
mozilla::net::nsHttpResponseHead::mContentLength, which is the data
retrieved in onNetworkEventAvailable.

Flags: needinfo?(arai.unmht)

Thanks! Updating the bug accordingly.

Summary: Cached stylesheet requests have size -1 B in netmonitor → Add test to check size for cached stylesheet requests in netmonitor
Type: defect → task
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.