diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-05-16 17:11:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-16 17:11:17 +0200 |
commit | b702d7d32a9edec41cd2dad81dcf39107c1c5ddc (patch) | |
tree | 84bd9a32203822c02fc8056eb55f0a68315a7afc /browser/base/content/browser-safebrowsing.js | |
parent | 90942a2af0cabb9345cf04fa6113e12197504fcf (diff) | |
parent | 79edb388a3ce6facbb11de51eeade667dae0d995 (diff) | |
download | UXP-b702d7d32a9edec41cd2dad81dcf39107c1c5ddc.tar UXP-b702d7d32a9edec41cd2dad81dcf39107c1c5ddc.tar.gz UXP-b702d7d32a9edec41cd2dad81dcf39107c1c5ddc.tar.lz UXP-b702d7d32a9edec41cd2dad81dcf39107c1c5ddc.tar.xz UXP-b702d7d32a9edec41cd2dad81dcf39107c1c5ddc.zip |
Merge pull request #368 from trav90/safebrowsing-work
Make safebrowsing optional at build time
Diffstat (limited to 'browser/base/content/browser-safebrowsing.js')
-rw-r--r-- | browser/base/content/browser-safebrowsing.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/browser/base/content/browser-safebrowsing.js b/browser/base/content/browser-safebrowsing.js index 430d84f13..a66595b2d 100644 --- a/browser/base/content/browser-safebrowsing.js +++ b/browser/base/content/browser-safebrowsing.js @@ -2,6 +2,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#ifdef MOZ_SAFE_BROWSING var gSafeBrowsing = { setReportPhishingMenu: function() { @@ -46,3 +47,4 @@ var gSafeBrowsing = { return SafeBrowsing.getReportURL(name, gBrowser.currentURI); } } +#endif |