bug 1373367: prefix values in SYSTEM_CAPABILITIES field. r=rstrong

This commit is contained in:
Ben Hearsum 2017-07-24 09:05:47 -04:00
parent 0fe118af9a
commit 31fc8a2f82
2 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ function getDistributionPrefValue(aPrefName) {
}
function getSystemCapabilities() {
return gInstructionSet + "," + getMemoryMB();
return "ISET:" + gInstructionSet + ",MEM:" + getMemoryMB();
}
/**

View File

@ -345,7 +345,7 @@ add_task(async function test_custom() {
// url constructed with %SYSTEM_CAPABILITIES%
add_task(async function test_systemCapabilities() {
let url = URL_PREFIX + "%SYSTEM_CAPABILITIES%/";
let systemCapabilities = getInstructionSet() + "," + getMemoryMB();
let systemCapabilities = "ISET:" + getInstructionSet() + ",MEM:" + getMemoryMB();
Assert.equal(await getResult(url), systemCapabilities,
"the url param for %SYSTEM_CAPABILITIES%" + MSG_SHOULD_EQUAL);
});