mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-10 02:08:38 +09:00
Remove sandbox ductwork conditional code.
This commit is contained in:
parent
aa9ae963f6
commit
c8462db202
44 changed files with 5 additions and 916 deletions
|
|
@ -497,26 +497,7 @@ var snapshotFormatters = {
|
|||
$("prefs-user-js-section").style.display = "";
|
||||
// Clear the no-copy class
|
||||
$("prefs-user-js-section").className = "";
|
||||
},
|
||||
|
||||
sandbox: function sandbox(data) {
|
||||
if (!AppConstants.MOZ_SANDBOX)
|
||||
return;
|
||||
|
||||
let strings = stringBundle();
|
||||
let tbody = $("sandbox-tbody");
|
||||
for (let key in data) {
|
||||
// Simplify the display a little in the common case.
|
||||
if (key === "hasPrivilegedUserNamespaces" &&
|
||||
data[key] === data["hasUserNamespaces"]) {
|
||||
continue;
|
||||
}
|
||||
tbody.appendChild($.new("tr", [
|
||||
$.new("th", strings.GetStringFromName(key), "column"),
|
||||
$.new("td", data[key])
|
||||
]));
|
||||
}
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
var $ = document.getElementById.bind(document);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue