mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-20 08:51:04 +00:00
Bug 1277378 - Fix typo in Safe Browsing in-content preferences. r=past
MozReview-Commit-ID: KfZpVRWuzjV --HG-- extra : rebase_source : 75e64eff52936c3c94eee9730b3d69f748b0c236
This commit is contained in:
parent
b21283649e
commit
0365bcf354
@ -189,10 +189,10 @@ var gSecurityPane = {
|
||||
|
||||
let malware = malwareTable.value
|
||||
.split(",")
|
||||
.filter(x => x !== "goog-unwanted-simple" && x !== "test-unwanted-simple");
|
||||
.filter(x => x !== "goog-unwanted-shavar" && x !== "test-unwanted-simple");
|
||||
|
||||
if (blockUncommonUnwanted.checked) {
|
||||
malware.push("goog-unwanted-simple");
|
||||
malware.push("goog-unwanted-shavar");
|
||||
malware.push("test-unwanted-simple");
|
||||
}
|
||||
|
||||
|
@ -112,8 +112,8 @@ add_task(function*() {
|
||||
|
||||
// when the preference is on, the malware table should include these ids
|
||||
let malwareTable = Services.prefs.getCharPref("urlclassifier.malwareTable").split(",");
|
||||
is(malwareTable.includes("goog-unwanted-simple"), !checked,
|
||||
"malware table doesn't include goog-unwanted-simple");
|
||||
is(malwareTable.includes("goog-unwanted-shavar"), !checked,
|
||||
"malware table doesn't include goog-unwanted-shavar");
|
||||
is(malwareTable.includes("test-unwanted-simple"), !checked,
|
||||
"malware table doesn't include test-unwanted-simple");
|
||||
let sortedMalware = malwareTable.slice(0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user