Open Bug 2098773 Opened 1 day ago Updated 1 day ago

Remove the WidgetManager version check shim from ExtensionWidgetsFeed

Categories

(Firefox :: New Tab Page, task)

task

Tracking

()

ASSIGNED

People

(Reporter: mconley, Assigned: mconley)

References

Details

Attachments

(1 external file)

Bug 2074341 added isWidgetManagerSupported() to lib/Widgets/ExtensionWidgetsFeed.sys.mjs, which checks for Firefox 160 because WidgetManager is a host module that is missing when New Tab train-hops onto an older Firefox. It is marked @backward-compat { version 160 }.

Now that 160 is on Release, we can remove isWidgetManagerSupported() and the branches that call it, and update any tests that stub the version.

Firefox 160 is on Release, so WidgetManager is always present on hosts New Tab train-hops onto. Remove the @backward-compat { version 160 } isWidgetManagerSupported() guard, its call sites, and the now-unused AppConstants import.

Assignee: nobody → mconley
Status: NEW → ASSIGNED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: