Bug 1375277 - Test case for new error code NS_ERROR_HARMFUL_URI. r=francois

The test is based on "test-harmful-simple" so we can add testing entries
in a human-readable way.

MozReview-Commit-ID: IJcYrp04uFs
This commit is contained in:
Henry Chang
2017-07-28 17:38:01 +08:00
parent 325a9e1bb5
commit 53064b6aa0
4 changed files with 22 additions and 4 deletions

View File

@@ -86,7 +86,7 @@ function waitForDBInit(callback) {
});
}
Services.prefs.setCharPref("urlclassifier.malwareTable", "test-malware-simple,test-unwanted-simple");
Services.prefs.setCharPref("urlclassifier.malwareTable", "test-malware-simple,test-unwanted-simple,test-harmful.simple");
Services.prefs.setCharPref("urlclassifier.phishTable", "test-phish-simple");
Services.prefs.setCharPref("urlclassifier.blockedTable", "test-block-simple");
SafeBrowsing.init();