mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 1822640 - Disable the abuse report feature on mobile. r=rpl,geckoview-reviewers,amejiamarmol
Depends on D179968 Differential Revision: https://phabricator.services.mozilla.com/D185277
This commit is contained in:
parent
bec83a817f
commit
7bf910442f
@ -115,6 +115,9 @@ pref("extensions.webextOptionalPermissionPrompts", true);
|
||||
|
||||
pref("extensions.experiments.enabled", false);
|
||||
|
||||
/* The abuse report feature needs some UI that we do not have on mobile. */
|
||||
pref("extensions.abuseReport.amWebAPI.enabled", false);
|
||||
|
||||
/* block popups by default, and notify the user about blocked popups */
|
||||
pref("dom.disable_open_during_load", true);
|
||||
pref("privacy.popups.showBrowserMessage", true);
|
||||
|
@ -3032,6 +3032,11 @@ class WebExtensionTest : BaseSessionTest() {
|
||||
mainSession.evaluateJS("typeof navigator.mozAddonManager") as String,
|
||||
equalTo("object"),
|
||||
)
|
||||
assertThat(
|
||||
"mozAddonManager.abuseReportPanelEnabled should be false",
|
||||
mainSession.evaluateJS("navigator.mozAddonManager.abuseReportPanelEnabled") as Boolean,
|
||||
equalTo(false),
|
||||
)
|
||||
|
||||
// Install an add-on, then assert results got from `mozAddonManager.getAddonByID()`.
|
||||
var addonId = ""
|
||||
|
Loading…
Reference in New Issue
Block a user