Firefox/Projects/Per Tab Network Prioritization
Jump to navigation
Jump to search
Overview
Sprint lead: zpao
Sprinters: zpao, limi
- Description
- We want to do some network prioritization such that the tab / window that you are currently using have higher network priority than the ones you aren't using.
Goals / Use Cases
- Make Firefox feel like it's starting up faster.
- While Firefox (or at least the tab / window being used) should become more immediately usable, I don't think total load time will be faster.
- Make current tab more responsive than background tabs.
Non Goals
- MRU network prioritization
Design
There are a couple ways we could do this:
- Put it all in tabbrowser.xml & browser.js & just jigger priorities directly.
- Put it in a new component (or whatever) that listens for TabSelect (and window select)
Either way, we'll have to
Prioritization
Priorities
Priorities range from 20 to -20 with -20 being the highest. There are 5 presets (highest, high, normal, low, lowest).
What To Do With Priorities
The general proposition here is as follows
Focused Tab | Unfocused Tab | |
---|---|---|
Front-most Window | high | normal |
Background Window | normal | low |
Minimized Window | low | lowest |
Bugs
Resources
- Limi's dev.apps.firefox thread (has some useful implementation insight from bz)