Closed Bug 1997287 Opened 1 year ago Closed 1 year ago

Firefox VPN “Upgrade” button redirects to production while in stage

Categories

(Firefox :: IP Protection, defect)

Firefox 146
Desktop
Windows 10
defect

Tracking

()

VERIFIED FIXED
147 Branch
Tracking Status
firefox146 --- verified
firefox147 --- verified

People

(Reporter: vvalentina, Assigned: baku)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fx-vpn])

Attachments

(2 external files)

[Affected versions]:

  • Firefox Nightly 146.0a1 (10/29/25)

[Affected Platforms]:

  • Windows 11 x64;

[Prerequisites]:

  • Be enrolled into the IP Concealment (Alpha) experiment.
  • Have a Mozilla stage account without subscription;
  • Have the environment set to stage (user.js/prefs)

[Steps to reproduce]:

  1. Finalize log into Firefox VPN with the Mozilla account from prerequisites;
  2. Open Firefox VPN;
  3. Click the “Upgrade” button;

[Expected result]:

  • The user is redirected to stage Mozilla VPN homepage - www-dev.allizom.org/en-US/products/vpn/

[Actual result]:

The product URL is not dynamic. It's written here: https://searchfox.org/firefox-main/rev/6abddcb0a5076c3b888686ede6f4cf7d082460d3/browser/components/ipprotection/content/ipprotection-constants.mjs#9

But I don't see why we should make it dynamic, mainly for staging testing. I would close this bug as WONTFIX.

Assignee: nobody → amarchesini
Attachment #9526334 - Attachment description: WIP: Bug 1997287 - IPProtection: support stage product endpoint, → Bug 1997287 - IPProtection: support stage product endpoint,
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 147 Branch

The patch landed in nightly and beta is affected.
:baku, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(amarchesini)

We verified this while using Firefox Nightly 147.0a1 (2025-11-17) on Windows 10.
The "Upgrade" button from Firefox VPN main panel still loads the production corresponding URL.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---

firefox-beta Uplift Approval Request

  • User impact if declined: QA will be unable to test the feature in beta and that is a serious blocker for us.
  • Code covered by automated testing: no
  • Fix verified in Nightly: yes
  • Needs manual QE test: no
  • Steps to reproduce for manual QE testing:
  • Risk associated with taking this patch: low
  • Explanation of risk level: This patch checks if there is a QA-only pref set to switch a few links to our staging env. Without that pref (normal scenario) nothing will change.
  • String changes made/needed: n/a
  • Is Android affected?: no
Attachment #9527188 - Flags: approval-mozilla-beta?
Flags: needinfo?(amarchesini)

Hi :baku, I need some clarification.
My read from https://bugzilla.mozilla.org/show_bug.cgi?id=1997287#c6 is that the issue was not fixed. I'm not sure if this requires a fixed patch, or if this can only be tested in beta?
Thank you!

Flags: needinfo?(amarchesini)

The patch introduces a new pref browser.ipProtection.productVpn.endpoint to change the mozilla website endpoint. By default (if this pref is not set), https://www.mozilla.org is used. You can use a different staging endpoint to test the upgrade button.

Flags: needinfo?(amarchesini) → needinfo?(vvirlics)

Thanks, Baku for this!
Verified this on Firefox Nightly 147.0a1 (20-11-25).
Creating this pref as string and adding the value of "https://www-dev.allizom.org/en-US/products/vpn/pricing" to it will make the stage redirection when clicking the "Upgrade" button from the Firefox VPN main panel.
Will this be uplifted in Beta?

Flags: needinfo?(vvirlics)
Flags: needinfo?(amarchesini)
Status: REOPENED → RESOLVED
Closed: 1 year ago → 1 year ago
Resolution: --- → FIXED
Attachment #9527188 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Verified this on Firefox Beta 146.0b7 while on Windows 10.
Creating the mentioned pref as string and adding the value of "https://www-dev.allizom.org/en-US/" to it will make the stage redirection when clicking the "Upgrade" button from the Firefox VPN main panel.

Flags: needinfo?(amarchesini)
Status: RESOLVED → VERIFIED
Whiteboard: [fx-vpn]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: