diff --git a/browser/base/content/nsContextMenu.js b/browser/base/content/nsContextMenu.js index 46969cbb188d..6970ee4afd5a 100644 --- a/browser/base/content/nsContextMenu.js +++ b/browser/base/content/nsContextMenu.js @@ -44,7 +44,6 @@ function openContextMenu(aMessage) { spellInfo, principal: data.principal, customMenuItems: data.customMenuItems, - addonInfo: data.addonInfo, documentURIObject, docLocation: data.docLocation, charSet: data.charSet, diff --git a/browser/components/downloads/content/downloads.js b/browser/components/downloads/content/downloads.js index 934ecf74baec..a31046fb524a 100644 --- a/browser/components/downloads/content/downloads.js +++ b/browser/components/downloads/content/downloads.js @@ -547,7 +547,7 @@ var DownloadsPanel = { // without any notification, and there would be no way to either open or // close the panel any more. To prevent this, check if the window is // minimized and in that case force the panel to the closed state. - if (window.windowState == Ci.nsIDOMChromeWindow.STATE_MINIMIZED) { + if (window.windowState == window.STATE_MINIMIZED) { DownloadsButton.releaseAnchor(); this._state = this.kStateHidden; return; diff --git a/browser/components/preferences/in-content/privacy.js b/browser/components/preferences/in-content/privacy.js index dc5bd3452acb..cbe344aa4974 100644 --- a/browser/components/preferences/in-content/privacy.js +++ b/browser/components/preferences/in-content/privacy.js @@ -1071,6 +1071,10 @@ var gPrivacyPane = { let blockUnwantedPref = document.getElementById("browser.safebrowsing.downloads.remote.block_potentially_unwanted"); let blockUncommonPref = document.getElementById("browser.safebrowsing.downloads.remote.block_uncommon"); + let learnMoreLink = document.getElementById("enableSafeBrowsingLearnMore"); + let phishingUrl = "https://support.mozilla.org/kb/how-does-phishing-and-malware-protection-work"; + learnMoreLink.setAttribute("href", phishingUrl); + enableSafeBrowsing.addEventListener("command", function() { safeBrowsingPhishingPref.value = enableSafeBrowsing.checked; safeBrowsingMalwarePref.value = enableSafeBrowsing.checked; diff --git a/browser/components/preferences/in-content/privacy.xul b/browser/components/preferences/in-content/privacy.xul index 5f9dd63cdb63..bc46816080bf 100644 --- a/browser/components/preferences/in-content/privacy.xul +++ b/browser/components/preferences/in-content/privacy.xul @@ -762,9 +762,13 @@