Closed Bug 1815898 Opened 2 years ago Closed 6 months ago

Remove built-in colorways and inform their remaining users about colorways on AMO

Categories

(Firefox :: Theme, task)

task

Tracking

()

RESOLVED FIXED
139 Branch
Tracking Status
firefox139 --- fixed

People

(Reporter: dao, Assigned: baku)

References

(Blocks 2 open bugs, Regressed 1 open bug, )

Details

(Whiteboard: [addons-jira])

Attachments

(3 files)

As we roll out bug 1808589, we'll want to stop shipping built-in colorways sometime soon.

Depends on: 1820736
Summary: Remove built-in colorways → Remove built-in colorways and inform their remaining users about colorways on AMO
Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Whiteboard: [addons-jira]
Attachment #9475343 - Attachment description: Bug 1815898 - Inform users about Colorway theme is removed - part 1 - notification bar, r?dao → Bug 1815898 - Inform users about Colorway theme removal - part 1 - notification bar, r?dao
Attachment #9475370 - Attachment description: Bug 1815898 - Inform users about Colorway theme is removed - part 2 - about:addons, r?dao → Bug 1815898 - Inform users about Colorway theme removal - part 2 - about:addons, r?dao
Assignee: dao+bmo → amarchesini
Attachment #9475397 - Attachment description: Bug 1815898 - Inform users about Colorway theme removal - part 3 - remote colorways themes, r?dao → Bug 1815898 - Inform users about Colorway theme removal - part 3 - remove colorways themes, r?dao
Pushed by amarchesini@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f9d76f720e1a Inform users about Colorway theme removal - part 1 - notification bar, r=fluent-reviewers,bolsson,rpl https://hg.mozilla.org/integration/autoland/rev/642ddfbde81f Inform users about Colorway theme removal - part 2 - about:addons, r=fluent-reviewers,bolsson,rpl https://hg.mozilla.org/integration/autoland/rev/dc30f3911c99 Inform users about Colorway theme removal - part 3 - remove colorways themes, r=dao,desktop-theme-reviewers,emilio,rpl

Backed out for causing bc failures @browser_BuiltInThemes_installs.js.

Flags: needinfo?(amarchesini)

Hey Andrea, it looks like the reason for the browser_BuiltInThemes_installs.js failure is just the fact that the test setup callback was stubbing with sinon a method that the part 3 patch is removing, removing that sinon stub seems to be enough to fix that failure, the following is the diff I applied locally to make the test to pass:

diff --git a/browser/themes/test/browser/browser_BuiltInThemes_installs.js b/browser/themes/test/browser/browser_BuiltInThemes_installs.js
--- a/browser/themes/test/browser/browser_BuiltInThemes_installs.js
+++ b/browser/themes/test/browser/browser_BuiltInThemes_installs.js
@@ -29,10 +29,6 @@ add_setup(() => {
       info(`Got AddonManager.maybeInstallBuiltinAddon call: ${args}`);
       maybeInstallBuiltinAddonCallArgs.push(args);
     });
-
-  // Stub BuiltInThemes method called from ensureBuiltInThemes to
-  // make it a no-op.
-  sandbox.stub(Object.getPrototypeOf(BuiltInThemes), "_uninstallExpiredThemes");
 });
 
 add_task(async function test_maybeInstallActiveBuiltInTheme() {

would you mind to roll that into part 3 patch?

Flags: needinfo?(amarchesini)
Pushed by amarchesini@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b6571fe9eb73 Inform users about Colorway theme removal - part 1 - notification bar, r=fluent-reviewers,bolsson,rpl https://hg.mozilla.org/integration/autoland/rev/764d7b27fa86 Inform users about Colorway theme removal - part 2 - about:addons, r=fluent-reviewers,bolsson,rpl https://hg.mozilla.org/integration/autoland/rev/8c5612805e02 Inform users about Colorway theme removal - part 3 - remove colorways themes, r=dao,desktop-theme-reviewers,emilio,rpl
Regressions: 1962239
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 139 Branch

Is this something we wanted to call out in the Fx139 relnotes?

Flags: needinfo?(amarchesini)

No. We already migrated users to the AMO colorway themes. This is just the final cleanup.

Flags: needinfo?(amarchesini)
QA Whiteboard: [qa-triage-done-c140/b139]
Blocks: 1990883
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: