web-ext-experiments / about

Please see the documentation here: https://webextensions-experiments.readthedocs.io
Other
9 stars 15 forks source link

My experiment API is undefined on Beta #29

Closed leplatrem closed 5 years ago

leplatrem commented 5 years ago

I wrote a small addon to help the Firefox product-integrity team validate the Remote Settings feature. It basically exposes some Gecko internal stuff to the addon.

It exposes the RemoteSettings.get() and RemoteSettings.onSync() API available in Gecko https://firefox-source-docs.mozilla.org/services/common/services/RemoteSettings.html

It works like a charm on Nightly when I load it via about:debugging.

On Beta, the experiments.remotesettings is undefined.

Note: the addon is not signed.

I would like to know why (I think @rpl told me already but I forgot). Maybe an entry in the FAQ would be helpful.

Thanks!!

aswan commented 5 years ago

On Nightly and Dev Edition, you can install unsigned experiments if you flip two preferences: xpinstall.signatures.required and extensions.legacy.enabled. Unsigned experiments cannot be installed on beta or release regardless of any preference settings.