You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 14, 2020. It is now read-only.
in a study (such as example/small-study), the user about:addons and user-disables the addon.
What does happen:
OK: Telemetry (for user-disable, and exit is sent
NOT OK: the onEndStudy signal is NOT received.
Implications:
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
getApi is no longer available.
What next?
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.
Option 2: Accept it as is. Benefits: no weird coding.
Option 3: (Preferred, Pie in the sky). Make it that addon uninstalls come with a 'reason' code.
To Repro:
example/small-study), the userabout:addonsand user-disables the addon.What does happen:
user-disable, andexitis sentonEndStudysignal is NOT received.Implications:
Possible Causes
getApiis no longer available.What next?
Services.wmto FORCE OPEN a tab for the survey.A curveball
GL