Open Bug 1752402 Opened 4 years ago Updated 1 year ago

Move VPNSubStatus to BrowserUtils and use in shouldShowVPNPromo and maybe expose as targeting criterion

Categories

(Firefox :: Messaging System, enhancement, P3)

Desktop
Unspecified
enhancement

Tracking

()

People

(Reporter: mviar, Unassigned)

References

(Depends on 1 open bug)

Details

Follow up to bug 1747149

  • Move VPNSubStatus (found here) to BrowserUtils and rename shouldShowVPN.

The following can be moved to a separate, follow-up bug if needed:

  • Expose shouldShowVPN as a targeting criterion for ASRouter. Currently, we're just looking for connected OAuth tokens using attachedFxAOAuthClients (found here).
  • Update shouldShowVPN logic to default to showing the VPN if there's an OAUTH token, but the subscription can't be verified.
Priority: -- → P3
Summary: Move VPNSubStatus to BrowserUtils and expose as targeting criterion → Move VPNSubStatus to BrowserUtils and use in shouldShowVPN and maybe expose as targeting criterion
Summary: Move VPNSubStatus to BrowserUtils and use in shouldShowVPN and maybe expose as targeting criterion → Move VPNSubStatus to BrowserUtils and use in shouldShowVPNPromo and maybe expose as targeting criterion
See Also: → 1765899

Note that code shouldShowVPNPromo currently does not attempt to check subscription status for VPN, and is currently used in (at least) the More from Mozilla prefs pane, so if we do something like what is proposed in this bug, it would change the behavior for MfM and any other current users, unless we specifically designed a way to opt-out of that check.

Depends on: 1968089
You need to log in before you can comment on or make changes to this bug.