Closed Bug 2016846 Opened 6 months ago Closed 5 months ago

Use MOZ_SRC_FILES packaging for SecurityOrchestrator import in AIChatContentParent

Categories

(Core :: Machine Learning: General, task)

task

Tracking

()

RESOLVED WONTFIX

People

(Reporter: rconcepcion, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [genai])

AIChatContentParent.sys.mjs imports SecurityOrchestrator using a chrome:// URL, which is not typical for .sys.mjs modules:

ChromeUtils.defineESModuleGetters(lazy, {
  getSecurityOrchestrator:
    "chrome://global/content/ml/security/SecurityOrchestrator.sys.mjs",
});

This should use moz-src:// via MOZ_SRC_FILES packaging to follow Mozilla convention. This could be done as a pre-patch earlier in the stack or as a standalone follow-up.

Acceptance Criteria:

  • SecurityOrchestrator.sys.mjs use moz-src:// scheme via MOZ_SRC_FILES packaging instead of chrome://
Blocks: 2005416

This is removed now.

Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.