diff --git a/toolkit/content/aboutSupport.js b/toolkit/content/aboutSupport.js index f9a0abcb0e..fccb99e810 100644 --- a/toolkit/content/aboutSupport.js +++ b/toolkit/content/aboutSupport.js @@ -39,6 +39,10 @@ var snapshotFormatters = { $("application-box").textContent = data.name; $("useragent-box").textContent = data.userAgent; $("os-box").textContent = data.osVersion; + let cpucaps = navigator.cpuHasSSE2?"SSE2 ":""; + cpucaps += navigator.cpuHasAVX?"AVX ":""; + cpucaps += navigator.cpuHasAVX2?"AVX2 ":""; + $("cpucap-box").textContent = cpucaps; $("binary-box").textContent = Services.dirsvc.get("XREExeF", Ci.nsIFile).path; $("supportLink").href = data.supportURL; let version = Services.appinfo.version; diff --git a/toolkit/content/aboutSupport.xhtml b/toolkit/content/aboutSupport.xhtml index 8afee18676..b9d61e2982 100644 --- a/toolkit/content/aboutSupport.xhtml +++ b/toolkit/content/aboutSupport.xhtml @@ -142,6 +142,15 @@ + + + &aboutSupport.appBasicsCPUCaps; + + + + + + &aboutSupport.appBasicsBinary; diff --git a/toolkit/locales/en-US/chrome/global/aboutSupport.dtd b/toolkit/locales/en-US/chrome/global/aboutSupport.dtd index f827268b43..96d9deef0d 100644 --- a/toolkit/locales/en-US/chrome/global/aboutSupport.dtd +++ b/toolkit/locales/en-US/chrome/global/aboutSupport.dtd @@ -47,6 +47,7 @@ Windows/Mac use the term "Folder" instead of "Directory" --> +