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:
Julian Descottes 2019-08-27 08:44:42 +00:00
Родитель 96605ab146
Коммит 1535cd608a
1 изменённых файлов: 11 добавлений и 0 удалений

Просмотреть файл

@ -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 createPreferenceOption = ({ pref, label, id }) => {
const inputLabel = this.panelDoc.createElement("label"); const inputLabel = this.panelDoc.createElement("label");
const checkbox = this.panelDoc.createElement("input"); const checkbox = this.panelDoc.createElement("input");