Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

during user uninstall, isn't firing survey #194

@gregglind

Description

@gregglind

To Repro:

  1. in a study (such as example/small-study), the user about:addons and user-disables the addon.

What does happen:

  1. OK: Telemetry (for user-disable, and exit is sent
  2. NOT OK: the onEndStudy signal is NOT received.

Implications:

  1. If we want to open surveys for 'user-disable', we have to do it at the 'Dangerous' layer, and not at the 'webExtension' layer.

Possible Causes

  1. getApi is no longer available.

What next?

  1. Option 1: Use Services.wm to FORCE OPEN a tab for the survey.
  • this is different than other behaviour, where the webExt does that tab opening work, OPTIONALLY. It requires documentation to explain this, and how it's weird.
  • it's hard to test.
  1. Option 2: Accept it as is. Benefits: no weird coding.
  2. Option 3: (Preferred, Pie in the sky). Make it that addon uninstalls come with a 'reason' code.

A curveball

GL

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions