mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 22:37:50 +00:00
bug 1373367: prefix values in SYSTEM_CAPABILITIES field. r=rstrong
This commit is contained in:
parent
0fe118af9a
commit
31fc8a2f82
@ -135,7 +135,7 @@ function getDistributionPrefValue(aPrefName) {
|
||||
}
|
||||
|
||||
function getSystemCapabilities() {
|
||||
return gInstructionSet + "," + getMemoryMB();
|
||||
return "ISET:" + gInstructionSet + ",MEM:" + getMemoryMB();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user