... |
... |
@@ -21,8 +21,9 @@ ChromeUtils.defineESModuleGetters(lazy, { |
21
|
21
|
SearchSuggestionController:
|
22
|
22
|
"resource://gre/modules/SearchSuggestionController.sys.mjs",
|
23
|
23
|
UrlbarPrefs: "resource:///modules/UrlbarPrefs.sys.mjs",
|
24
|
|
- UrlbarProviderInterventions:
|
25
|
|
- "resource:///modules/UrlbarProviderInterventions.sys.mjs",
|
|
24
|
+ // disable as part of tor-browser#41327
|
|
25
|
+ // UrlbarProviderInterventions:
|
|
26
|
+ // "resource:///modules/UrlbarProviderInterventions.sys.mjs",
|
26
|
27
|
UrlbarProvidersManager: "resource:///modules/UrlbarProvidersManager.sys.mjs",
|
27
|
28
|
UrlbarProviderSearchTips:
|
28
|
29
|
"resource:///modules/UrlbarProviderSearchTips.sys.mjs",
|
... |
... |
@@ -1387,20 +1388,22 @@ export var UrlbarUtils = { |
1387
|
1388
|
return "tab";
|
1388
|
1389
|
case UrlbarUtils.RESULT_TYPE.TIP:
|
1389
|
1390
|
if (result.providerName === "UrlbarProviderInterventions") {
|
1390
|
|
- switch (result.payload.type) {
|
1391
|
|
- case lazy.UrlbarProviderInterventions.TIP_TYPE.CLEAR:
|
1392
|
|
- return "intervention_clear";
|
1393
|
|
- case lazy.UrlbarProviderInterventions.TIP_TYPE.REFRESH:
|
1394
|
|
- return "intervention_refresh";
|
1395
|
|
- case lazy.UrlbarProviderInterventions.TIP_TYPE.UPDATE_ASK:
|
1396
|
|
- case lazy.UrlbarProviderInterventions.TIP_TYPE.UPDATE_CHECKING:
|
1397
|
|
- case lazy.UrlbarProviderInterventions.TIP_TYPE.UPDATE_REFRESH:
|
1398
|
|
- case lazy.UrlbarProviderInterventions.TIP_TYPE.UPDATE_RESTART:
|
1399
|
|
- case lazy.UrlbarProviderInterventions.TIP_TYPE.UPDATE_WEB:
|
1400
|
|
- return "intervention_update";
|
1401
|
|
- default:
|
1402
|
|
- return "intervention_unknown";
|
1403
|
|
- }
|
|
1391
|
+ return "intervention_unknown";
|
|
1392
|
+ // disable as part of tor-browser#41327
|
|
1393
|
+ // switch (result.payload.type) {
|
|
1394
|
+ // case lazy.UrlbarProviderInterventions.TIP_TYPE.CLEAR:
|
|
1395
|
+ // return "intervention_clear";
|
|
1396
|
+ // case lazy.UrlbarProviderInterventions.TIP_TYPE.REFRESH:
|
|
1397
|
+ // return "intervention_refresh";
|
|
1398
|
+ // case lazy.UrlbarProviderInterventions.TIP_TYPE.UPDATE_ASK:
|
|
1399
|
+ // case lazy.UrlbarProviderInterventions.TIP_TYPE.UPDATE_CHECKING:
|
|
1400
|
+ // case lazy.UrlbarProviderInterventions.TIP_TYPE.UPDATE_REFRESH:
|
|
1401
|
+ // case lazy.UrlbarProviderInterventions.TIP_TYPE.UPDATE_RESTART:
|
|
1402
|
+ // case lazy.UrlbarProviderInterventions.TIP_TYPE.UPDATE_WEB:
|
|
1403
|
+ // return "intervention_update";
|
|
1404
|
+ // default:
|
|
1405
|
+ // return "intervention_unknown";
|
|
1406
|
+ // }
|
1404
|
1407
|
}
|
1405
|
1408
|
|
1406
|
1409
|
switch (result.payload.type) {
|