Closed Bug 1816934 Opened 2 years ago Closed 2 years ago

Convert most of services/settings to ES modules

Categories

(Firefox :: Remote Settings Client, task)

task

Tracking

()

RESOLVED FIXED
112 Branch
Tracking Status
firefox112 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

Details

(Whiteboard: [esmification-timeline])

Attachments

(2 files)

As we're doing elsewhere, we should update the remote settings client code to use ES modules.

However, currently we can't migrate all of it because some of it relies on workers which can't yet import modules (coming soon). There's also a case where a test would need to be rewritten, which I'll file a separate bug for.

Blocks: 1816935
Blocks: 1816938

Convert everything apart from items used in workers.

Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d6c1d4c0d2a0 Convert most of services/settings to ES modules. r=leplatrem https://hg.mozilla.org/integration/autoland/rev/7f8a7865868b Update consumers of services/settings to import ES modules directly. r=leplatrem,extension-reviewers,settings-reviewers,credential-management-reviewers,sgalich,mconley,robwu

Backed out for causing dt failures in browser_jsterm_autocomplete_null.js

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: TEST-UNEXPECTED-FAIL | devtools/client/webconsole/test/browser/browser_jsterm_autocomplete_null.js | Got error "ReferenceError: URI is not defined init resource://services-settings/remote-settings.sys.mjs:579 RemoteSettingsInit resource:///modules/BrowserGlue.sys.mjs:2963 _scheduleBestEffortUserIdleTasks resource:///modules/BrowserGlue.sys.mjs:3018 ChromeUtils::IdleDispatch handler*_scheduleBestEffortUserIdleTasks resource:///mo
Flags: needinfo?(standard8)
Blocks: 1817460
Flags: needinfo?(standard8)
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ff399bdca57c Convert most of services/settings to ES modules. r=leplatrem https://hg.mozilla.org/integration/autoland/rev/ae6ba90f918a Update consumers of services/settings to import ES modules directly. r=leplatrem,extension-reviewers,settings-reviewers,credential-management-reviewers,sgalich,mconley,robwu
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 112 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: