Closed Bug 1728908 Opened 4 years ago Closed 1 year ago

The default process type for the initial tab and new tabs created by tabbrowser should be 'privileged about' rather than 'web'

Categories

(Firefox :: Tabbed Browser, defect)

Desktop
All
defect

Tracking

()

RESOLVED WORKSFORME
Performance Impact medium
Tracking Status
firefox93 --- affected

People

(Reporter: Gijs, Unassigned)

References

Details

(Keywords: perf:startup)

The current default means we process-switch for the first tab in a window, and potentially for other new tabs created (depends on specifics a bit).

Whiteboard: [fxperf]
See Also: → 1728909
See Also: → 1728910
Whiteboard: [fxperf] → [fxperf:p2]
Performance Impact: --- → P2
Keywords: perf:startup
Whiteboard: [fxperf:p2]

ni'ing myself to see if this is still the case.

Flags: needinfo?(mconley)

The BrowserContentHandler passes in the default page to load, and we use that to determine the process type of the initial <browser> element here: https://searchfox.org/mozilla-central/rev/f53c09a22edc700ab1a9eaaf4da0f0dd9f11bff3/browser/components/tabbrowser/content/tabbrowser.js#493-500

From my testing, we're doing the right thing and choosing the privilegedabout type in the default case. So I think we're good here.

Status: NEW → RESOLVED
Closed: 1 year ago
Flags: needinfo?(mconley)
Resolution: --- → WORKSFORME

(We create new tab's with the privilegedabout process type as well)

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