Closed Bug 1991970 Opened 4 months ago Closed 4 months ago

Keep RecommendedPreferences up to date with preferences for automated browsers

Categories

(Remote Protocol :: Agent, task, P3)

task

Tracking

(relnote-firefox 145+, firefox145 fixed)

RESOLVED FIXED
145 Branch
Tracking Status
relnote-firefox --- 145+
firefox145 --- fixed

People

(Reporter: bvandersloot, Assigned: bvandersloot)

References

Details

(Whiteboard: [webdriver:m18][webdriver:external])

Attachments

(1 file)

I was scrounging around preferences and found a few that might be worth adding. One is from my team, and most are Firefox promo or browser-features that could be a little in the way of a driven browser.

I am going to submit a patch to update these in just a moment.

I was poking around browser automation stuff further up the stack and
noticed a few prefs that look like they fit here. Should help keep rarer
browser UI elements stay out of the way and keep PBmode tests
consistent.

https://treeherder.mozilla.org/jobs?repo=try&revision=8ef0cd811e12f7e116b5c862506916ec15771ce2&selectedTaskRun=BhMhFDWaQe2ejcmUKhEXWA.0 was run with an equivalent changeset, and looks pretty good.

Assignee: nobody → bvandersloot
Status: NEW → ASSIGNED
Pushed by bvandersloot@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/3f0a2a6e8d3e https://hg.mozilla.org/integration/autoland/rev/3c39ad492ebd Add a few spare prefs to RecommendedPreferences.sys.mjs to disable features in automation - r=webdriver-reviewers,whimboo
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 145 Branch
Regressions: 1993439
Component: General → Agent
Priority: -- → P3
Product: Testing → Remote Protocol
Whiteboard: [webdriver:m18][webdriver:external]

Release Note Request (optional, but appreciated)
[Why is this notable]: Several preference changes are already made in Firefox when it is run in the context of automation. Playwright, Puppeteer, and anything that uses Marionette or WebDriver all enable these. However, there were several oversights that affected Firefox when driven by agents on the open web. This bug addresses those oversights.
[Affects Firefox for Android]: yes
[Suggested wording]: We updated default automation preferences to better support Agentic browsing, reducing the steps agents need to complete a task and chances for the agent to get stuck.
[Links (documentation, blog post, etc)]: https://docs.google.com/document/d/1G9MgQRV1-sZIoi99ujpXAfOPuSoUPuViNZRIKKR1DLM/edit?tab=t.0

relnote-firefox: --- → ?

Note added to our final 145 release notes in the Changed section.

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

Attachment

General

Created:
Updated:
Size: