Bug 1339064 - Add layout panel option to nightly options;r=gl
MozReview-Commit-ID: LOMotSUNj9B
--- a/devtools/client/framework/toolbox-options.js
+++ b/devtools/client/framework/toolbox-options.js
@@ -321,16 +321,21 @@ OptionsPanel.prototype = {
label: "Enable new console frontend",
id: "devtools-new-webconsole",
parentId: "webconsole-options"
}, {
pref: "devtools.debugger.new-debugger-frontend",
label: "Enable new debugger frontend",
id: "devtools-new-debugger",
parentId: "debugger-options"
+ }, {
+ pref: "devtools.layoutview.enabled",
+ label: "Enable layout panel",
+ id: "devtools-layout-panel",
+ parentId: "inspector-options"
}];
let createPreferenceOption = ({pref, label, id}) => {
let inputLabel = this.panelDoc.createElement("label");
let checkbox = this.panelDoc.createElement("input");
checkbox.setAttribute("type", "checkbox");
if (GetPref(pref)) {
checkbox.setAttribute("checked", "checked");