Add deprecation comment to fission.autostart pref
Categories
(Core :: DOM: Content Processes, task, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox75 | --- | fixed |
People
(Reporter: cpeterson, Assigned: kmag)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
The fission.autostart pref was added to StaticPrefList.yaml (in bug 1574090) so the compositor process could read the pref. But Fission being enabled is not a global setting; we can have both Fission and non-Fission windows in the same browsing session (using the “Open new Fission window” and “Open new non-Fission window” File menu items).
Code should check DocShell.useRemoteSubframes instead of reading the fission.autostart pref.
TBD: should other Fission prefs (like fission.preserve_browsing_contexts and fission.sessionHistoryInParent) also be removed from StaticPrefList.yaml?
Reporter | ||
Comment 1•6 years ago
|
||
We don't want to remove the pref, but we should add a deprecation comment to pref definition.
Adding a useRemoteSubframes
to BrowsingContext would be a handy alternative for code that wants to read the pref.
Tracking for Fission Dogfooding (M5)
Comment 2•6 years ago
|
||
Adding a useRemoteSubframes to BrowsingContext would be a handy alternative for code that wants to read the pref."
I think that should be a separate bug. I'll file it. I filed bug 1609791 as a meta bug for this work. We can file subbugs for the various ideas.
Comment 3•6 years ago
•
|
||
The followup to bug 1574090 was closed as WONTFIX, and indeed I don't see any uses of the pref from C++, so I think we can just remove it from StaticPrefList.yaml. It would still be good to add a comment to the all.js use of the pref. If it does get removed from the yaml file, it looks like it could also be removed from the IGNORE_PREFS list in tools/lint/libpref/__init__.py.
Updated•6 years ago
|
Comment 4•6 years ago
|
||
Oops, I'm wrong about it not being used from C++. The new C++ pref getter is just different: https://searchfox.org/mozilla-central/search?q=fission_autostart&path=
Updated•6 years ago
|
Reporter | ||
Comment 5•5 years ago
|
||
Tracking for Fission Nightly (M6)
This bug is just about adding a code comment. There are already new code reading this pref directly that shouldn't be.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 6•5 years ago
|
||
Assignee | ||
Comment 7•5 years ago
|
||
Updated•5 years ago
|
Assignee | ||
Comment 9•5 years ago
|
||
Comment 10•5 years ago
|
||
Comment 11•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/fa15f3519362
https://hg.mozilla.org/mozilla-central/rev/93f5a5134436
https://hg.mozilla.org/mozilla-central/rev/df7a9dd1525f
Description
•