Open Bug 1584663 Opened 7 years ago Updated 2 years ago

Add support for Fetch Priority (aka Priority Hints) to developer tools

Categories

(DevTools :: Netmonitor, enhancement, P5)

71 Branch
enhancement

Tracking

(Not tracked)

People

(Reporter: wtds.trabalho, Unassigned)

References

(Depends on 1 open bug)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0

Steps to reproduce:

Link: https://developers.google.com/web/updates/2019/02/priority-hints

Add support to Priority Hints to the Developer Tools

Actual results:

The browser does not make easy visible the resources loaded with priority hints.

Expected results:

Add full support for priority hints in the browser core and developer tools.

Thanks!

Hi Wellington Torrejais da Silva,

Thanks for submitting this enhancement to us.

I will add a Product and a Component so our devs can take a look at this.

Thanks!

Sebastian

Status: UNCONFIRMED → NEW
Component: Untriaged → Developer Tools
Ever confirmed: true
Product: Firefox → WebExtensions
Version: 71 Branch → Firefox 71

This feature isn't even implemented in Firefox, so naturally there is currently no way to have devtools support for it either.

This is a Chrome-only feature: https://www.chromestatus.com/feature/5273474901737472
... and not even an official standard: https://wicg.github.io/priority-hints/

I expect this bug to be closed, but I'll move it to the right component (DevTools) for them to decide.

Component: Developer Tools → General
Product: WebExtensions → DevTools
Version: Firefox 71 → 71 Branch
Component: General → Netmonitor
Priority: -- → P5
Severity: normal → S3

As the specification links in https://bugzilla.mozilla.org/show_bug.cgi?id=1797715#c4 indicate, this feature is now called Fetch Priority.
Therefore I adjusted the summary of this bug to make it easier findable.

Regarding the UI, the most obvious way is probably a new "Priority" column in the Netmonitor as the Chrome DevTools have it.

Sebastian

Summary: Suggestion: Add support for priority hints in core and developer tools → Add support for Fetch Priority (aka Priority Hints) to developer tools

Gecko's DevTools' Network tab nowadays provides a "Priority" column. It has to be enabled via the context-menu though.
With the fetchpriority pref set to true (https://searchfox.org/mozilla-central/rev/9137f80064364a41a1de394af4ce05dffdbf68e6/modules/libpref/init/StaticPrefList.yaml#117850, that column reflects the internal priority for elements with the fetchpriority attribute.
E.g. for https://jsfiddle.net/4bn0zre1/.

Chrome's DevTools also only show the internal priority. Not the fetchpriority's value.

Is that sufficient or is there benefit in showing the latter too?

You need to log in before you can comment on or make changes to this bug.