Bug 1561435 - Fix linting errors for security/, r=standard8

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D35929

--HG--
extra : source : d6f4b7c214863a85893d946968caeeec07126be1
extra : intermediate-source : 03e188f8f4f00d8eae72ff1a690c9cbacc2313da
This commit is contained in:
Victor Porof 2019-06-21 16:21:34 -07:00
Родитель 858f3b554b
Коммит 221861fb7c
4 изменённых файлов: 7 добавлений и 7 удалений

Просмотреть файл

@ -120,7 +120,7 @@ add_task(async function testPasswordStrengthAndEquality() {
Assert.equal(
strengthProgressBar.value,
testCase.strength,
"Actual and expected strength value should match for" + `${testCase.name}`
`Actual and expected strength value should match for ${testCase.name}`
);
}

Просмотреть файл

@ -155,7 +155,7 @@ function add_tests() {
"ocsp-stapling-unknown.example.com",
SEC_ERROR_OCSP_UNKNOWN_CERT,
[],
"Stapled Unknown response -> a fetch should not have been" + " attempted"
"Stapled Unknown response -> a fetch should not have been attempted"
);
// A failure to retrieve an OCSP response must result in the cached Unknown
@ -200,7 +200,7 @@ function add_tests() {
"ocsp-stapling-none.example.com",
PRErrorCodeSuccess,
[],
"Cached Good response -> a fetch should not have been" + " attempted"
"Cached Good response -> a fetch should not have been attempted"
);
// ---------------------------------------------------------------------------
@ -225,7 +225,7 @@ function add_tests() {
"ocsp-stapling-none.example.com",
PRErrorCodeSuccess,
[],
"Noted OCSP server failure -> a fetch should not have been" + " attempted"
"Noted OCSP server failure -> a fetch should not have been attempted"
);
// The error entry must not prevent a stapled OCSP response from being
@ -234,7 +234,7 @@ function add_tests() {
"ocsp-stapling-revoked.example.com",
SEC_ERROR_REVOKED_CERTIFICATE,
[],
"Stapled Revoked response -> a fetch should not have been" + " attempted"
"Stapled Revoked response -> a fetch should not have been attempted"
);
// ---------------------------------------------------------------------------

Просмотреть файл

@ -253,7 +253,7 @@ function downloadAndParseChromeCerts(filename, certNameToSKD, certSKDToName) {
state = IN_PUB_KEY;
} else {
throw new Error(
"ERROR: couldn't parse Chrome certificate file " + "line: " + line
"ERROR: couldn't parse Chrome certificate file line: " + line
);
}
break;

Просмотреть файл

@ -214,7 +214,7 @@ function insertTrustAnchorsFromDatabase() {
if (arguments.length != 1) {
throw new Error(
"Usage: genRootCAHashes.js " + "<absolute path to current RootHashes.inc>"
"Usage: genRootCAHashes.js <absolute path to current RootHashes.inc>"
);
}