Labs/Test Pilot/ExperimentAPI: Difference between revisions

Line 2: Line 2:


Test Pilot experiments and surveys are implemented as Javascript Securable Modules.  They will be loaded using Cuddlefish.  They are expected to export objects with certain specific names.
Test Pilot experiments and surveys are implemented as Javascript Securable Modules.  They will be loaded using Cuddlefish.  They are expected to export objects with certain specific names.
Test Pilot experiments run with full chrome privileges and can do everything that extensions do.  With great power comes great responsibility!


Test pilot experiments and surveys are hosted on https://testpilot.mozillalabs.com.  This URL is hard-coded into the Test Pilot extension.  Note that the experiments and surveys are served exclusively over SSL to reduce the possibility that a man-in-the-middle could substitute malicious code.
Test pilot experiments and surveys are hosted on https://testpilot.mozillalabs.com.  This URL is hard-coded into the Test Pilot extension.  Note that the experiments and surveys are served exclusively over SSL to reduce the possibility that a man-in-the-middle could substitute malicious code.


== The Index files ==
== The Index files ==
1,007

edits