Closed Bug 551716 Opened 10 years ago Closed 9 years ago

Need a way to remote-kill studies


(Mozilla Labs Graveyard :: Test Pilot, defect, P1)



(Not tracked)



(Reporter: jono, Assigned: jono)


(Whiteboard: extension-core, security, api, needs-integration)


(1 file, 1 obsolete file)

Right now, we can take a study out of index.json, and that will stop giving it to new users, but users who already started that study will keep running it until it is finished.

If an emergency ever arises where we discover a security or privacy hole in a study and need to stop it immediately, we'll need a remote-kill switch: something we can put on the server which will tell all the copies of the extension to stop running study id X.

So, index.json can basically be in one of three states vis-a-vis a particular study:
1. Give this study to new users
2. Don't give it to new users, but it can still run for people who have it
3. Terminate this study for all users.
Priority: -- → P1
Whiteboard: extension-core, security, api
Target Milestone: 0.1 → 1.0
Target Milestone: 1.0 → 1.1
Done in

New behavior is:

- If study is removed from index, it will be killed for all users as soon as they update.
- To maintain a study for people who already have it, without distributing it to new users, add the js file name to the "maintain_experiments" section of the index file.
Attached patch Patch fixing bug (obsolete) — Splinter Review
Attachment #511064 - Flags: review?(dtownsend)
Whiteboard: extension-core, security, api → extension-core, security, api, needs-integration
Oops, I had a 'this' where I meant 'self'.  Redid the patch to fix that.
Attachment #511064 - Attachment is obsolete: true
Attachment #511104 - Flags: review?(dtownsend)
Attachment #511064 - Flags: review?(dtownsend)
Attachment #511104 - Flags: review?(dtownsend)
Attachment #511104 - Flags: review+
Attachment #511104 - Flags: approval2.0+
Closed: 9 years ago
Resolution: --- → FIXED
Product: Mozilla Labs → Mozilla Labs Graveyard
You need to log in before you can comment on or make changes to this bug.