Testing safe mode

Robert Helmer rhelmer at rhelmer.org
Sat Dec 24 18:40:36 UTC 2016

Yes these should work if you use temporary installation after starting
Firefox in Safe Mode, so you should be all set.

Before the end of 2017 we need to figure out how removing support for
non-WebExtensions might impact this, and possibly make adjustments -
can someone please file a bug in the appropriate automation component
in Bugzilla and CC: me?

On Sat, Dec 24, 2016 at 5:17 AM, Andreas Tolfsen <ato at mozilla.com> wrote:
> Ryan VanderMeulen <rvandermeulen at mozilla.com> writes:
>> Most if not all of our automated test harnesses rely on add-ons to
>> grant extra privileges and such. Would it even be possible to use
>> them in safe mode?
> Due to add-on signing, we currently install relevant test harness add-
> ons at runtime using Marionette and the AddonManager:
>         https://github.com/mozilla/gecko-dev/blob/master/testing/marionette/addon.js#L32
> I’m not sure when the canRunInSafeMode function Ehsan linked to is run,
> but it definitely seems possible to bypass the safe mode tests to allow
> this testing.
> I also notice that it is assumed temporary add-ons are allowed to run
> in safe-mode by default.  Unsure if automation add-ons are installed
> this way, but I suspect they are, which means they would pass the
> canRunInSafeMode check.
> _______________________________________________
> firefox-dev mailing list
> firefox-dev at mozilla.org
> https://mail.mozilla.org/listinfo/firefox-dev

More information about the firefox-dev mailing list