Files
tubestation/browser/components/urlbar
Ben Dean-Kawamura 0b37f9e94c Bug 1956519 - Shared RemoteSettingsService, r=nanj,adw
- Hooked the RustSharedRemoteSettingsService code to the Region module.
  The new system updates the app context as the home region changes.

- Updated `RemoteSettingsService.updateConfig` to be sync rather than
  async wrapped.  It should execute quickly and I want to have
  confidence that the config is actually updated when that function
  returns.

- Updated/Simplified the SuggestBackendRust.sys.mjs testing code.  Now
  we just need to track if we should disable the Rust backend for the
  tests or not.

- Updated `QuickSuggest._test_reinit` to wait for any unfinished
  ingestion from `SuggestBackendRust`.  This is needed now because
  changing the remote settings service affects all active clients.  If
  there are unfinished ingestion tasks, then this creates a race
  between those task finishing and the test finishing and uninitializing
  the remote settings mock server.

Differential Revision: https://phabricator.services.mozilla.com/D248467
2025-05-19 15:58:57 +00:00
..