Closed Bug 1940816 Opened 1 month ago Closed 14 hours ago

Put newtab chrome and resource assets under chrome://newtab and resource://newtab

Categories

(Firefox :: New Tab Page, task, P1)

task

Tracking

()

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

People

(Reporter: pdahiya, Assigned: pdahiya, NeedInfo)

References

(Blocks 2 open bugs, Regressed 1 open bug)

Details

(Whiteboard: [hnt-trainhop])

Attachments

(1 file)

For historical reasons, about:welcome, ASRouter, New Tab have often shared the activity-stream namespace for chrome:// for image assets.
https://searchfox.org/mozilla-central/search?q=chrome%3A%2F%2Factivity-stream%2F&path=&case=false&regexp=false
e.g.
chrome://activity-stream/content/data/content/assets/glyph-modal-delete-20.svg
chrome://activity-stream/content/data/content/assets/glyph-webextension-16.svg
chrome://activity-stream/content/data/content/assets/mr-settodefault.svg

https://searchfox.org/mozilla-central/source/browser/components/aboutwelcome/jar.mn#40
https://searchfox.org/mozilla-central/source/browser/components/asrouter/jar.mn#40

To build newtab as an extension, we should decouple this common mapping and update packaged assets inside of newtab folder to use chrome://newtab and resource://newtab

Blocks: 1937151

Noticed in newtab as an extension early prototype chrome://activity-stream url mapping is impacting both newtab and outside newtab image assets. Clarifying if this fix should be blocking https://mozilla-hub.atlassian.net/browse/HNT-297 .

Priority: -- → P2
Flags: needinfo?(mconley)
Summary: Remove chrome://activity-stream mapping from assets outside of newtab → Put newtab chrome and resource assets under chrome://newtab and resource://newtab
No longer blocks: 1937151
Whiteboard: [hnt-trainhop]
Assignee: nobody → pdahiya
Iteration: --- → 137.1 - Feb 3 - Feb 14
Component: Messaging System → New Tab Page
Priority: P2 → P1
Attachment #9464090 - Attachment description: WIP: Bug 1940816 - Put newtab chrome and resource assets under chrome://newtab and resource://newtab → Bug 1940816 - Put newtab chrome and resource assets under chrome://newtab and resource://newtab
Blocks: 1946262
Blocks: 1946597
Depends on: 1946458
Pushed by pdahiya@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5785f202084e Put newtab chrome and resource assets under chrome://newtab and resource://newtab r=home-newtab-reviewers,omc-reviewers,mconley,credential-management-reviewers,marco,emcminn,valentin,dimi
Regressions: 1947352

Backed out for causing Bpgo bustage

Backout link

Push with failures

Failure log

Edit: Relanded since the failure seems to be caused by something else.

Flags: needinfo?(pdahiya)
Pushed by nfay@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/321052fb2ab5 Put newtab chrome and resource assets under chrome://newtab and resource://newtab r=home-newtab-reviewers,omc-reviewers,mconley,credential-management-reviewers,marco,emcminn,valentin,dimi CLOSED TREE
Flags: needinfo?(pdahiya)
Status: NEW → RESOLVED
Closed: 14 hours ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: