Skip to content

Update now that all builtin Firefox modules are eslint modules#151

Merged
mhammond merged 2 commits into
mainfrom
push-kprknpzkvsks
Feb 20, 2025
Merged

Update now that all builtin Firefox modules are eslint modules#151
mhammond merged 2 commits into
mainfrom
push-kprknpzkvsks

Conversation

@mhammond
Copy link
Copy Markdown
Collaborator

Includes a couple of fixes found by npm audit and lists that it's only available for 136 and up.

@mhammond mhammond requested a review from skhamis February 20, 2025 21:27
Comment thread ext_bootstrap.js Outdated
const { Weave } = ChromeUtils.importESModule("resource://services-sync/main.sys.mjs");
const WeaveConstants = ChromeUtils.importESModule("resource://services-sync/constants.sys.mjs");
const { XPCOMUtils } = ChromeUtils.importESModule("resource://gre/modules/XPCOMUtils.sys.mjs");
const { XPCOMUtilsrg } = ChromeUtils.importESModule("resource://gre/modules/XPCOMUtils.sys.mjs");
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: remove the rg as it causes XPCOM to not load

Copy link
Copy Markdown
Collaborator

@skhamis skhamis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for making these changes -- code look good to me, and testing it locally allows the addon to work again!

@mhammond mhammond merged commit 66e161b into main Feb 20, 2025
@mhammond mhammond deleted the push-kprknpzkvsks branch February 20, 2025 22:19
Comment thread ext_bootstrap.js
@@ -2,6 +2,8 @@ const { Log } = ChromeUtils.importESModule("resource://gre/modules/Log.sys.mjs")
const { Weave } = ChromeUtils.importESModule("resource://services-sync/main.sys.mjs");
const WeaveConstants = ChromeUtils.importESModule("resource://services-sync/constants.sys.mjs");
Copy link
Copy Markdown
Member

@willdurand willdurand Feb 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you still need this since you de-structured the exported symbols on L5? (I caught this while reviewing the new version to be signed).

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, no, you are correct, thanks. Should I remove it for "this" release, or is it fine to include it for the "next" release?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's fine for next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants