Closed Bug 1946564 Opened 6 months ago Closed 5 months ago

Invalidate the about:home startup cache when the New Tab built-in addon detects a pending update

Categories

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

task

Tracking

()

RESOLVED FIXED
138 Branch
Tracking Status
firefox138 --- fixed

People

(Reporter: mconley, Assigned: mconley)

References

(Blocks 1 open bug, Regressed 1 open bug)

Details

(Whiteboard: [hnt-trainhop])

Attachments

(2 files)

The New Tab built-in add-on will not update at runtime. Instead, pending updates will be applied after a restart. We need to ensure that any pre-existing about:home cache is also blown away when an update download is detected (prior to restarting), and prevent any further caching until the next restart.

Depends on: 1916469
Assignee: nobody → mconley

This also makes it so that we remove the shutdown blocker if we uninit.

Pushed by mconley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/39bf84ed573e Part 1: Add AboutHomeStartupCache.clearCacheAndUninit method and test. r=home-newtab-reviewers,nbarrett https://hg.mozilla.org/integration/autoland/rev/9438672eeffd Part 2: Call AboutHomeStartupCache.clearCacheAndUninit if the newtab built-in addon gets updated. r=willdurand,home-newtab-reviewers,nbarrett
Regressions: 1954404
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch
Regressions: 1955646
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: