Closed Bug 1761442 Opened 3 years ago Closed 3 years ago

search.js browser console error when live switching language

Categories

(Firefox :: Search, defect)

Firefox 100
Desktop
All
defect

Tracking

()

RESOLVED DUPLICATE of bug 1758730
Tracking Status
firefox-esr91 --- unaffected
firefox98 --- unaffected
firefox99 --- disabled
firefox100 --- affected

People

(Reporter: phorea, Unassigned)

References

Details

[Description:]

Browser console error when live switching language

[Environment:]

100.0a1 (2022-03-24)

Windows 10, Ubuntu 22.04

[Preconditions:]
Configs:

intl.multilingual.downloadEnabled: true
intl.multilingual.enabled: true
intl.multilingual.liveReload: true
browser.search.log: true

Tools:

language packs
search-addon if needed, preferably in a separate FX for default engine checks

[Steps:]
  1. Install a Firefox locale, en-us for example (autoset region not that relevant).
  2. Install zh-CN language pack from the preconditions.
  3. Open the Browser Console
  4. Open about:preferences / Language.
  5. Switch the language to zh-cn.
  6. Verify Browser Console
[Actual Result:]

The following error is displayed:
Could not find engine to update 4 search.js:633:15 updateEngine chrome://browser/content/preferences/search.js:633 observe chrome://browser/content/preferences/search.js:355 notifyAction resource://gre/modules/SearchUtils.jsm:223 _updateFromManifest resource://gre/modules/SearchEngine.jsm:1089 _reloadEngines resource://gre/modules/SearchService.jsm:777

[Expected Result:]

No search warnings or errors are listed.

[Note:]

The search engines are correctly changed for this scenario.

This is being handled in bug 1758730

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.