Closed Bug 1733883 Opened 3 years ago Closed 3 years ago

Allow tests to import more modules from ExtensionStorageSyncKinto.jsm

Categories

(WebExtensions :: General, task, P3)

task

Tracking

(firefox95 fixed)

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: mathew.hodson, Assigned: mathew.hodson)

References

Details

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1733871 +++

In order to stop using ChromeUtils.import with null as the second parameter, ExtensionStorageSyncKinto.jsm needs to be refactored so tests can import more modules from it.

It's used in these tests:

  • services/sync/tests/unit/test_extension_storage_engine_kinto.js
  • services/sync/tests/unit/test_extension_storage_migration_telem.js
  • services/sync/tests/unit/test_extension_storage_tracker_kinto.js
  • toolkit/components/extensions/test/xpcshell/test_ExtensionStorageSync_migration_kinto.js
  • toolkit/components/extensions/test/xpcshell/test_ext_storage_sync_kinto.js
  • toolkit/components/extensions/test/xpcshell/test_ext_storage_sync_kinto_crypto.js
Blocks: 1531368
Assignee: nobody → mathew.hodson

Changing severity to N/A because this is a task.

Severity: -- → N/A
Priority: -- → P3

ExtensionStorageSyncKinto.jsm is deprecated and may be removed eventually. So unlike the other bugs, I'm willing to accept a patch that adds a bunch of extra names to EXPORTED_SYMBOLS here.

Attachment #9244134 - Attachment description: WIP: Bug 1733883 - Allow tests to import more modules from ExtensionStorageSyncKinto.jsm → Bug 1733883 - Allow tests to import more modules from ExtensionStorageSyncKinto.jsm. r?robwu
Pushed by rob@robwu.nl:
https://hg.mozilla.org/integration/autoland/rev/1f9e27d95626
Allow tests to import more modules from ExtensionStorageSyncKinto.jsm. r=robwu
Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: