Closed Bug 1923868 Opened 4 months ago Closed 3 months ago

Support setting Firefox as default based on installer attribution campaign

Categories

(Firefox :: Messaging System, enhancement, P1)

enhancement
Points:
3

Tracking

()

RESOLVED FIXED
135 Branch
Iteration:
134.2 - Nov 11 - Nov 22
Tracking Status
firefox134 --- fixed
firefox135 --- fixed

People

(Reporter: mviar, Assigned: mviar)

References

(Blocks 1 open bug)

Details

Attachments

(2 files, 1 obsolete file)

This bug is for implementing a means of setting Firefox as the default browser based on the presence of a set_default_browser attribution campaign.

See brief for related experiment.

Type: task → enhancement
No longer depends on: 1920375
See Also: → 1920375
Assignee: nobody → mviar
Attachment #9430147 - Attachment is obsolete: true
Iteration: --- → 133.1 - Sep 30 - Oct 11
Priority: -- → P1
Attachment #9430149 - Attachment description: WIP: Bug 1923868 - Support setting Firefox as default based on installer attribution campaign → Bug 1923868 - Support setting Firefox as default based on installer attribution campaign
Iteration: 133.1 - Sep 30 - Oct 11 → 133.2 - Oct 14 - Oct 25

[Tracking Requested - why for this release]: We'd like to land this patch to support an experiment in Fx132. Because it's gated behind an attribution campaign, it should be relatively low risk.

Attachment #9430149 - Attachment description: Bug 1923868 - Support setting Firefox as default based on installer attribution campaign → WIP: Bug 1923868 - Support setting Firefox as default based on installer attribution campaign
Attachment #9430149 - Attachment description: WIP: Bug 1923868 - Support setting Firefox as default based on installer attribution campaign → Bug 1923868 - Support setting Firefox as default based on installer attribution campaign

To allow time for review, we'll target Fx133.

Iteration: 133.2 - Oct 14 - Oct 25 → 134.1 - Oct 28 - Nov 8
Points: --- → 3
Attachment #9430149 - Attachment description: Bug 1923868 - Support setting Firefox as default based on installer attribution campaign → WIP: Bug 1923868 - Support setting Firefox as default based on installer attribution campaign
Attachment #9430149 - Attachment description: WIP: Bug 1923868 - Support setting Firefox as default based on installer attribution campaign → Bug 1923868 - Support setting Firefox as default based on installer attribution campaign
Iteration: 134.1 - Oct 28 - Nov 8 → 134.2 - Nov 11 - Nov 22
Pushed by mviar@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/893b697b0ad7 Support setting Firefox as default based on installer attribution campaign r=firefox-desktop-core-reviewers ,nalexander,omc-reviewers,pdahiya
Regressions: 1932781
Regressions: 1932782

Backed out for causing bc failures @nsMacDockSupport.mm.

Flags: needinfo?(mviar)
Backout by amarc@mozilla.com: https://hg.mozilla.org/mozilla-central/rev/60b9a1ba2d2e Backed out changeset 893b697b0ad7 for causing bc failures @nsMacDockSupport.mm. CLOSED TREE
Attachment #9430149 - Attachment description: Bug 1923868 - Support setting Firefox as default based on installer attribution campaign → Bug 1923868 - [Mock screens for CA test] - Support setting Firefox as default based on installer attribution campaign
Attachment #9430149 - Attachment description: Bug 1923868 - [Mock screens for CA test] - Support setting Firefox as default based on installer attribution campaign → Bug 1923868 - Support setting Firefox as default based on installer attribution campaign
Pushed by mviar@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a2435b289727 Support setting Firefox as default based on installer attribution campaign r=firefox-desktop-core-reviewers ,nalexander,omc-reviewers,pdahiya

Thanks for flagging the failure, I've updated the tests and have a green run on try so am attempting to re-land.

Flags: needinfo?(mviar)

Backed out for causing bc failures @ browser_aboutwelcome_multistage_languageSwitcher.js

TEST-UNEXPECTED-FAIL | browser/components/aboutwelcome/tests/browser/browser_aboutwelcome_multistage_languageSwitcher.js | Uncaught exception in test bound test_aboutwelcome_languageSwitcher_accept - Should render .screen.AW_LANGUAGE_MISMATCH in Live language switching (waiting for languages) - timed out after 50 tries.

————————————————————————————

Assertion failure: aAppPath != aAppToReplacePath || !aAppPath.IsEmpty(), at /builds/worker/checkouts/gecko/widget/cocoa/nsMacDockSupport.mm:396
Flags: needinfo?(mviar)

Ah, sorry about that. Appears I was playing a bit of test failure whack-a-mole. I think I have a final fix, verifying on try now.

Flags: needinfo?(mviar)

I was able to address the test failure and will land after 134 Nightly merges and request uplift into early beta (try run).

Pushed by mviar@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/29ac96cd10ee Support setting Firefox as default based on installer attribution campaign r=firefox-desktop-core-reviewers ,nalexander,omc-reviewers,pdahiya

[Tracking Requested - why for this release]: We'll be seeking uplift into early 134 beta to support the related experiment and to match the current release schedule we're working towards with the marketing team.

This patch adds an startup idle task that sets the browser as default if an attribution campaign id of "set_default_browser" is present on first run. This works supports an upcoming experiment where users will have the option to "download as default" via [[ https://www.mozilla.org/en-US/firefox/new/ | the stub installer marketing page ]].

Original Revision: https://phabricator.services.mozilla.com/D225212

Attachment #9439806 - Flags: approval-mozilla-beta?

beta Uplift Approval Request

  • User impact if declined: Users will be unable to participate in the upcoming experiment allowing them to set Firefox as default from the marketing page where they download the stub installer
  • Code covered by automated testing: yes
  • Fix verified in Nightly: no
  • Needs manual QE test: yes
  • Steps to reproduce for manual QE testing: See test plan below
  • Risk associated with taking this patch: Low
  • Explanation of risk level: Fairly low as the behavior in this patch is only triggered when the relevent campaign attribution is present
  • String changes made/needed: No
  • Is Android affected?: no
Flags: qe-verify+
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 135 Branch
Attachment #9439806 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [qa-triaged]
Performance Impact: --- → ?
relnote-firefox: --- → ?

Please don't change random bug flags. This is the second time now and interferes with people trying to get their work done.

Performance Impact: ? → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: