Closed Bug 1817182 Opened 3 years ago Closed 3 years ago

Avoid re-exporting AccountState from sync's utils.sys.mjs

Categories

(Firefox :: Sync, task)

task

Tracking

()

RESOLVED FIXED
112 Branch
Tracking Status
firefox112 --- fixed

People

(Reporter: standard8, Assigned: standard8)

Details

Attachments

(1 file)

re-exports AccountState.

However, that seems to be from the days when it had to be accessed via the backstage pass.

I think it would be simpler to import AccountState where it is actually used, especially as this is test-only.

Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/62fe2f589efe Avoid re-exporting AccountState from sync's utils.sys.mjs. r=markh

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)

Well, that's a shame, we could have probably avoided all of these being backed out if I'd been asked first. Will re-land the unaffected patches.

Flags: needinfo?(standard8)
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/345598ecdf13 Avoid re-exporting AccountState from sync's utils.sys.mjs. r=markh
Status: NEW → RESOLVED
Closed: 3 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: