Bug 1260522 - Don't try to show the OS architecture in about:support. r=adw

MozReview-Commit-ID: 4Qz2mRnjDhs
This commit is contained in:
Sebastian Hengst 2016-04-28 22:57:25 +02:00
parent 35e84eea21
commit 7c5c08d787
4 changed files with 2 additions and 7 deletions

View File

@ -37,7 +37,7 @@ var snapshotFormatters = {
application: function application(data) {
$("application-box").textContent = data.name;
$("useragent-box").textContent = data.userAgent;
$("osarch-box").textContent = data.osVersion + " " + data.arch;
$("os-box").textContent = data.osVersion;
$("supportLink").href = data.supportURL;
let version = AppConstants.MOZ_APP_VERSION_DISPLAY;
if (data.vendor)

View File

@ -135,7 +135,7 @@
&aboutSupport.appBasicsOS;
</th>
<td id="osarch-box">
<td id="os-box">
</td>
</tr>

View File

@ -185,7 +185,6 @@ var dataProviders = {
let data = {
name: Services.appinfo.name,
osVersion: sysInfo.getProperty("name") + " " + sysInfo.getProperty("version"),
arch: sysInfo.getProperty("arch"),
version: AppConstants.MOZ_APP_VERSION_DISPLAY,
buildID: Services.appinfo.appBuildID,
userAgent: Cc["@mozilla.org/network/protocol;1?name=http"].

View File

@ -116,10 +116,6 @@ const SNAPSHOT_SCHEMA = {
required: true,
type: "string",
},
arch: {
required: true,
type: "string",
},
vendor: {
type: "string",
},