Make safebrowsing optional at build time - Part 1: browser/

This commit is contained in:
trav90 2018-05-12 08:17:44 -05:00 committed by Roy Tam
commit e04e651ffe
11 changed files with 26 additions and 4 deletions

View file

@ -819,9 +819,8 @@ function openTourPage()
function buildHelpMenu()
{
// Enable/disable the "Report Web Forgery" menu item.
if (typeof gSafeBrowsing != "undefined") {
if (typeof gSafeBrowsing != "undefined")
gSafeBrowsing.setReportPhishingMenu();
}
}
function isElementVisible(aElement)