Open Bug 1204933 Opened 9 years ago Updated 2 years ago

DevTools Network Panel counts prefetch resources tripled instead of once

Categories

(DevTools :: Netmonitor, defect)

43 Branch
Unspecified
macOS
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: info, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:43.0) Gecko/20100101 Firefox/43.0
Build ID: 20150915030232

Steps to reproduce:

Add a prefetch hint to HTML head with the following code:

    `<link rel="prefetch" href="/fonts/Fira-master/woff/FiraSans-Regular.woff">`

The file is also called, as intended, in a CSS file to be served as webfont.


Actual results:

DevTools Network panel shows the resource three times (1x for the CSS load and for whatever reason the preload hint is appearing twice I assume) and counts page weight with three occurrences.


Expected results:

Network panel should only show the one downloaded font (if it’s not a core bug in Firefox and it’s downloaded 3x actually). It should take the file only once into account for page weight.

Ideally, the panel indicates that it’s been downloaded through a prefetch hint.
Component: General → Developer Tools: Netmonitor
OS: Unspecified → Mac OS X
Read triple as twice please. Sorry, the one additional was my fault.
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.