Closed Bug 1995639 Opened 3 months ago Closed 3 months ago

Disable GenAI (machine learning) services by default

Categories

(Remote Protocol :: Agent, task, P3)

task
Points:
1

Tracking

(firefox146 fixed)

RESOLVED FIXED
146 Branch
Tracking Status
firefox146 --- fixed

People

(Reporter: whimboo, Assigned: whimboo)

Details

(Whiteboard: [webdriver:m18])

Attachments

(1 file)

When inspecting some log files I noticed the following JavaScript error when running Wdspec tests:

[task 2025-10-21T20:24:29.174+00:00] 20:24:29 INFO - PID 7764 | JavaScript error: resource:///actors/GenAIChild.sys.mjs, line 125: TypeError: can't access property "getSelection", this.contentWindow is null

This comes from the GenAI component which is enabled by default.

Given that those services are not required for WebDriver automation we should disable them.

The preference that we should be able to use is browser.ml.enable.

Summary: Disable GenAI services by default → Disable GenAI (machine learning) services by default
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Points: --- → 1
Priority: -- → P3
Whiteboard: [webdriver:m18]
Pushed by hskupin@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/cd57b348e07b https://hg.mozilla.org/integration/autoland/rev/4be8e3f610a2 [remote] Disable all machine learning features by default. r=webdriver-reviewers,Mardak,Sasha
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 146 Branch

this improved some memory metrics related to images by 50KB.
Make what you will of this.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: