Closed Bug 1946458 Opened 8 days ago Closed 6 days ago

New Tab wallpaper thumbnails are referenced by about:welcome

Categories

(Firefox :: Messaging System, task, P1)

task

Tracking

()

RESOLVED FIXED
137 Branch
Iteration:
137.1 - Feb 3 - Feb 14
Tracking Status
firefox137 --- fixed

People

(Reporter: mconley, Assigned: pdahiya)

References

(Blocks 1 open bug)

Details

(Whiteboard: [hnt-trainhop])

Attachments

(1 file)

It looks like we statically reference New Tab's wallpaper thumbnails from about:welcome: https://searchfox.org/mozilla-central/rev/d1fbe983fb7720f0a4aca0e748817af11c1a374e/browser/components/aboutwelcome/content-src/aboutwelcome.scss#1683-1733

If both about:welcome and about:newtab need to know about wallpapers, then we should make it so that New Tab exposes some stable method for about:welcome to get that information, or we should maybe factor our the wallpaper logic into a shared module that lives outside of browser/extensions/newtab. I'm not entirely sure which is best at the moment.

See Also: → 1916836

I think with wallpaper graduated to newtab, simplest will be to remove custom logic added with https://phabricator.services.mozilla.com/D205658 to support showing wallpapers in a spotlight ( as desired in Bug 1916836) . I will submit a patch.

Assignee: nobody → pdahiya
Iteration: --- → 137.1 - Feb 3 - Feb 14
Priority: -- → P1
Blocks: 1940816

Marking fix of this bug blocking Bug 1940816 as wallpaper chrome path in aboutwelcome.scss causes browser_parsable_css.js to complain with chrome://newtab mappings

Pushed by pdahiya@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f3a00e2cc95a Remove wallpaper select custom handling in aboutwelcome bundle r=amy,omc-reviewers,emcminn,fluent-reviewers,bolsson
Status: NEW → RESOLVED
Closed: 6 days ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
Duplicate of this bug: 1916836
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: