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)
Firefox
New Tab Page
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.
Comment 1•1 day ago
|
||
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.
Updated•1 day ago
|
Assignee: nobody → mconley
Status: NEW → ASSIGNED
You need to log in
before you can comment on or make changes to this bug.
Description
•