Closed Bug 1873916 Opened 1 year ago Closed 1 year ago

[wdspec] Recommended preferences for Remote Agent are no longer set for WebDriver classic and BiDi tests

Categories

(Remote Protocol :: WebDriver BiDi, defect, P2)

defect
Points:
2

Tracking

(firefox123 fixed)

RESOLVED FIXED
123 Branch
Tracking Status
firefox123 --- fixed

People

(Reporter: whimboo, Assigned: whimboo)

References

Details

(Whiteboard: [webdriver:m10])

Attachments

(1 file)

As I've noticed while working on bug 1857961 all the recommended preferences for the Remote Agent are no longer set for wdspec tests. That means that there are a couple of preferences, which never get set and can cause more or less test failures. The following preferences are affected:

browser.contentblocking.features.standard
browser.contentblocking.introCount
browser.search.update
browser.tabs.closeWindowWithLastTab
browser.tabs.warnOnClose
browser.tabs.warnOnCloseOtherTabs
browser.tabs.warnOnOpen
browser.usedOnWindows10.introURL
browser.zoom.siteSpecific
datareporting.policy.dataSubmissionPolicyAccepted
dom.navigation.locationChangeRateLimit.count
dom.screenorientation.allow-lock
network.connectivity-service.enabled
network.cookie.cookieBehavior
privacy.trackingprotection.enabled
security.fileuri.strict_origin_policy
signon.autofillForms
widget.windows.window_occlusion_tracking.enabled

Whether we can add remote.prefs.recommended=true to the general user.js file for wpt tests or we have to create an additional file specifically for wdspec. Personally I would prefer to have the latter solution.

James, I assume that this is a regression from moving the profile generation from geckodriver to wptrunner from quite some time ago. Interesting that we never noticed this problem.

Flags: needinfo?(james)

Probably we need a different user.js file given that normal wpt tests will run based on Marionette and hereby we have different expectations.

If it's just a single pref we can also set it directly in wptrunner, which is easier, but perhaps less obvious to future readers.

Flags: needinfo?(james)
Regressions: 1873948
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Pushed by hskupin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/855a9385b41c [wptrunner] Use recommended preferences for Remote Agent when running wdspec tests. r=webdriver-reviewers,jgraham,jdescottes
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/43964 for changes under testing/web-platform/tests
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
Upstream PR merged by moz-wptsync-bot
Points: --- → 2
Priority: -- → P2
Whiteboard: [webdriver:m10]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: