Closed Bug 1858584 Opened 2 years ago Closed 2 years ago

update region lists for deciding whom to show VPN promos to

Categories

(Firefox :: Messaging System, task, P1)

task
Points:
3

Tracking

()

VERIFIED FIXED
121 Branch
Iteration:
121.2 - Nov 6 - Nov 17
Tracking Status
firefox121 --- verified

People

(Reporter: dmosedale, Assigned: hanna_a)

References

(Blocks 1 open bug)

Details

(Whiteboard: [omc])

Attachments

(1 file)

This is a spin-off from bug 1857903. There are several lists in BrowserUtils.shouldShowPromo that are not up-to-date with the latest canonical bedrock lists.

https://searchfox.org/mozilla-central/rev/2a286f214c783ff919d802c23a92e54bbf7411b9/browser/app/profile/firefox.js#2042 links to where the most current lists can be found.

It would be good to update the two normal lists in the prefs:

browser.vpn_promo.disallowed_regions
browser.contentblocking.report.vpn_regions

along with all three lists in BrowserUtils.sys.mjs

Iteration: --- → 120.2 - Oct 9 - Oct 20
Priority: -- → P1
Assignee: nobody → halemu

Hi @dmose, which list is more accurate (which should we update the prefs and lists to?) -> There's 33 supported regions listed on the moz.org site and there are 44 regions listed on the bedrock github

Also noticed that 'ua' (ukraine) is in the disallowed list pref but not in the bedrock list, is this ok to keep?

Flags: needinfo?(dmosedale)

For the list accuracy, ask in #mozilla-vpn-marketing, partly because I suspect those should not be different, so it would be good if marketing found out about it.

I don't know what the current theory about 'ua' is, but I suspect it's changed since it was first implemented in https://bugzilla.mozilla.org/show_bug.cgi?id=1741741#c12.

I'd start by reaching out to mfeldman from Legal. That said, if there's not a quick answer, I think it would be fine to leave it in place for now (since that's the more conservative plan and doesn't change current behavior) and spin off a separate bug to handle what to do about Ukraine.

Flags: needinfo?(dmosedale)
Points: --- → 3
Iteration: 120.2 - Oct 9 - Oct 20 → 121.1 - Oct 23 - Nov 3
Whiteboard: [omc]
Iteration: 121.1 - Oct 23 - Nov 3 → 121.2 - Nov 6 - Nov 17
Attachment #9362167 - Attachment description: WIP: Bug 1858584 - update region lists for deciding whom to show VPN promos to → Bug 1858584 - update region lists for deciding whom to show VPN promos to
Attachment #9362167 - Attachment description: Bug 1858584 - update region lists for deciding whom to show VPN promos to → WIP: Bug 1858584 - update region lists for deciding whom to show VPN promos to
Attachment #9362167 - Attachment description: WIP: Bug 1858584 - update region lists for deciding whom to show VPN promos to → Bug 1858584 - update region lists for deciding whom to show VPN promos to
Attachment #9362167 - Attachment description: Bug 1858584 - update region lists for deciding whom to show VPN promos to → Bug 1858584 - update region lists for deciding whom to show VPN promos to r=dmose
Pushed by dmosedale@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a53c4356e8d1 update region lists for deciding whom to show VPN promos to r=omc-reviewers,dmose
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch

I have verified this task and I can confirm that the VPN Promo is displayed on the "about:preferences#moreFromMozilla" page if the browser region is set to one of the following: bg,cy,cz,dk,ee,hr,hu,je,lu,lt,lv,mt,pl,pt,ro,si,sk.

Verified using the latest Firefox Nightly 121.0a1 (Build ID: 20231115214519) installed on Windows 10 x64, macOS 14.1.1, and Ubuntu 22.04 x64.

Status: RESOLVED → VERIFIED
Duplicate of this bug: 1880295
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: