Skip to content

Commit 14de688

Browse files
committed
Bug 1811076: Part 5 - Add UI notifications for content analysis results r=nika,Gijs,fluent-reviewers,flod
Connects content analysis checks with the tab that their messages to the user should appear on. Adds notifications for the CA messages. Differential Revision: https://phabricator.services.mozilla.com/D191784
1 parent 287dacd commit 14de688

File tree

9 files changed

+790
-32
lines changed

9 files changed

+790
-32
lines changed

browser/base/content/browser.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ ChromeUtils.defineESModuleGetters(this, {
2424
BrowserUsageTelemetry: "resource:///modules/BrowserUsageTelemetry.sys.mjs",
2525
BrowserWindowTracker: "resource:///modules/BrowserWindowTracker.sys.mjs",
2626
Color: "resource://gre/modules/Color.sys.mjs",
27+
ContentAnalysis: "resource:///modules/ContentAnalysis.sys.mjs",
2728
ContextualIdentityService:
2829
"resource://gre/modules/ContextualIdentityService.sys.mjs",
2930
CustomizableUI: "resource:///modules/CustomizableUI.sys.mjs",
@@ -1871,6 +1872,7 @@ var gBrowserInit = {
18711872
BrowserOffline.init();
18721873
CanvasPermissionPromptHelper.init();
18731874
WebAuthnPromptHelper.init();
1875+
ContentAnalysis.initialize();
18741876

18751877
// Initialize the full zoom setting.
18761878
// We do this before the session restore service gets initialized so we can

0 commit comments

Comments
 (0)