зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1576653 - Add nightly-only option to toggle devtools.browsertoolbox.fission in Browser Toolbox r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D43473 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
96605ab146
Коммит
1535cd608a
|
@ -423,6 +423,17 @@ OptionsPanel.prototype = {
|
|||
},
|
||||
];
|
||||
|
||||
// In the Nightly Browser Toolbox, display an option to enable the experimental
|
||||
// Omniscient Browser Toolbox.
|
||||
if (this.target.isParentProcess) {
|
||||
prefDefinitions.push({
|
||||
pref: "devtools.browsertoolbox.fission",
|
||||
label: "Enable Omniscient Browser Toolbox (⚠ WIP ⚠, needs restart)",
|
||||
id: "devtools-browsertoolbox-fission",
|
||||
parentId: "context-options",
|
||||
});
|
||||
}
|
||||
|
||||
const createPreferenceOption = ({ pref, label, id }) => {
|
||||
const inputLabel = this.panelDoc.createElement("label");
|
||||
const checkbox = this.panelDoc.createElement("input");
|
||||
|
|
Загрузка…
Ссылка в новой задаче