Skip to content

Add Remote Settings synchronization check from a headless Firefox #1442

@leplatrem

Description

@leplatrem

The browser code to be executed would be something like this:

Services.prefs.setCharPref("services.settings.loglevel", "debug");

const before = Services.prefs.getStringPref("services.settings.last_etag");

const { RemoteSettings } = ChromeUtils.importESModule(
  "resource://services-settings/remote-settings.sys.mjs"
);

await RemoteSettings.pollChanges();
// not thrown!

We could also use await RemoteSettings.inspect(); to look at sync history error etc.

We would have to look at WebDriver / Marionette https://wiki.mozilla.org/WebDriver

Screenshot 2024-05-23 at 14 38 34

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions