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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user