Skip to content
Snippets Groups Projects
Commit bbab0f5a authored by Richard Pospesel's avatar Richard Pospesel Committed by Pier Angelo Vendrame
Browse files

BB 41327: Disable UrlbarProviderInterventions

parent 5e13e62d
Branches
Tags
1 merge request!1500TB 43415: Rebased onto 134.0a1
......@@ -50,8 +50,9 @@ var localProviderModules = {
"resource:///modules/UrlbarProviderHistoryUrlHeuristic.sys.mjs",
UrlbarProviderInputHistory:
"resource:///modules/UrlbarProviderInputHistory.sys.mjs",
UrlbarProviderInterventions:
"resource:///modules/UrlbarProviderInterventions.sys.mjs",
// disable as part of tor-browser#41327
// UrlbarProviderInterventions:
// "resource:///modules/UrlbarProviderInterventions.sys.mjs",
UrlbarProviderOmnibox: "resource:///modules/UrlbarProviderOmnibox.sys.mjs",
UrlbarProviderPlaces: "resource:///modules/UrlbarProviderPlaces.sys.mjs",
UrlbarProviderPrivateSearch:
......
......
......@@ -1551,17 +1551,21 @@ export var UrlbarUtils = {
return "tab";
case UrlbarUtils.RESULT_TYPE.TIP:
if (result.providerName === "UrlbarProviderInterventions") {
// disable as part of tor-browser#41327
switch (result.payload.type) {
case lazy.UrlbarProviderInterventions.TIP_TYPE.CLEAR:
return "intervention_clear";
// return "intervention_clear";
// fall-through
case lazy.UrlbarProviderInterventions.TIP_TYPE.REFRESH:
return "intervention_refresh";
// return "intervention_refresh";
// fall-through
case lazy.UrlbarProviderInterventions.TIP_TYPE.UPDATE_ASK:
case lazy.UrlbarProviderInterventions.TIP_TYPE.UPDATE_CHECKING:
case lazy.UrlbarProviderInterventions.TIP_TYPE.UPDATE_REFRESH:
case lazy.UrlbarProviderInterventions.TIP_TYPE.UPDATE_RESTART:
case lazy.UrlbarProviderInterventions.TIP_TYPE.UPDATE_WEB:
return "intervention_update";
// return "intervention_update";
// fall-through
default:
return "intervention_unknown";
}
......
......
......@@ -35,7 +35,8 @@ EXTRA_JS_MODULES += [
"UrlbarProviderHeuristicFallback.sys.mjs",
"UrlbarProviderHistoryUrlHeuristic.sys.mjs",
"UrlbarProviderInputHistory.sys.mjs",
"UrlbarProviderInterventions.sys.mjs",
# disable as part of tor-browser#41327
# "UrlbarProviderInterventions.sys.mjs",
"UrlbarProviderOmnibox.sys.mjs",
"UrlbarProviderOpenTabs.sys.mjs",
"UrlbarProviderPlaces.sys.mjs",
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment