mozilla / doh-rollout

DEPRECATED - Add on for initial DoH rollout
Mozilla Public License 2.0
7 stars 4 forks source link

Fixed #190 - Added logic to enable add-on based on local storage migration values #191

Closed maxxcrawford closed 4 years ago

maxxcrawford commented 4 years ago

To verify:

Scenarios

1. Setup v1.0.4 Add-on

2. Remove v1.0.4 Add-on

Expected responses:

Scenario Response
A { "doh-rollout.previous.trr.mode": 2, doneFirstRun: true, skipHeuristicsCheck: false }
B { "doh-rollout.doorhanger-decision": "UIOk", "doh-rollout.doorhanger-ping-sent": true, "doh-rollout.doorhanger-shown": true, "doh-rollout.previous.trr.mode": 2, doneFirstRun: true, skipHeuristicsCheck: false }
C { "doh-rollout.doorhanger-decision": "UIOk", "doh-rollout.doorhanger-ping-sent": true, "doh-rollout.doorhanger-shown": true, "doh-rollout.previous.trr.mode": 0, doneFirstRun: true, skipHeuristicsCheck: false }
D { "doh-rollout.disable-heuristics": true, "doh-rollout.doorhanger-decision": "UIDisabled", "doh-rollout.doorhanger-ping-sent": true, "doh-rollout.doorhanger-shown": true, "doh-rollout.previous.trr.mode": 5, doneFirstRun: true, skipHeuristicsCheck: false }

*If the above does not work, do the following:

3. Install v1.2.0rc1 Add-on

Scenario Prefs Doorhanger Behavior
A doh-rollout.balrog-migration-done;true
doh-rollout.doneFirstRun;true
doh-rollout.previous.trr.mode;2
doh-rollout.self-enabled;true
doh-rollout.skipHeuristicsCheck;false
Should be visible
B doh-rollout.balrog-migration-done;true
doh-rollout.doneFirstRun;true
doh-rollout.doorhanger-decision;UIOk
doh-rollout.doorhanger-shown;true
doh-rollout.previous.trr.mode;2
doh-rollout.self-enabled;true
doh-rollout.skipHeuristicsCheck;false
Should be hidden
C doh-rollout.balrog-migration-done;true
doh-rollout.doneFirstRun;true
doh-rollout.doorhanger-decision;UIOk
doh-rollout.doorhanger-shown;true
doh-rollout.previous.trr.mode;2
doh-rollout.self-enabled;true
doh-rollout.skipHeuristicsCheck;false
Should be hidden
D doh-rollout.balrog-migration-done;true
doh-rollout.disable-heuristics;true
Should be hidden