Closed Bug 982256 Opened 12 years ago Closed 12 years ago

Telemetry experiments: test extension

Categories

(Firefox Health Report Graveyard :: Client: Desktop, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: gfritzsche, Assigned: glind)

References

Details

We need a test extension for at least: * testing experiment enable/disable * testing data collection via FHR * testing addon manager UI behavior
This should be part of our build, but we may need to short-cut here with a packaged extension if we are short on time.
Will do! Proposed plan: 1. Jetpack enabled addon 2. (writes to fhr? not sure how to do this) 3. Self uninstalls after <x> period. Where in tree should this go?
Assignee: nobody → glind
I don't think we need to test *addon* data collection here; just make sure that the builtin data collection around experiment activation is working. We already have a set of test extensions at http://mxr.mozilla.org/mozilla-central/source/toolkit/mozapps/extensions/test/xpinstall/ could we just use restartless.xpi from there or copy it, give it a new ID and use it?
If we don't need to test addon data collection (or defer it) then we should be fine with copying restartless.xpi. I don't think we actually need to support self uninstalls from the addon in addition to uninstalling from experiment manager code? If it would be required for some reason i assume the addon could still use the API from bug 974009 to disable itself.
(In reply to Georg Fritzsche [:gfritzsche] from comment #4) > I don't think we actually need to support self uninstalls from the addon No, we don't - see bug 974009, comment 12. Closing for now as i'm just copying restartless.xpi, but thanks Gregg!
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Georg, I need some more spec'ing here. https://github.com/gregglind/telemetry-experiments-test-addons Built: - donothing: does nothing, sits around. Could build: 1. Do you want an addon that waits for signal to uninstall? (through system/event or the like?) If so, what signal? 2. Tell me about FHR interaction you want?
Never mind then :) (It might be useful to add a 'die on message' to restartless. Ask if you want that.)
Product: Firefox Health Report → Firefox Health Report Graveyard
You need to log in before you can comment on or make changes to this bug.