Testing safe mode

Ehsan Akhgari ehsan.akhgari at gmail.com
Thu Dec 29 18:06:02 UTC 2016


Another example of something we would have found if we were testing safe
mode: we don't handle safe mode at all in the child process in e10s mode
(bug 1326245).

On Wed, Dec 28, 2016 at 6:37 PM, Ehsan Akhgari <ehsan.akhgari at gmail.com>
wrote:

> I'm not sure what the bug should say...   I filed bug 1326126 mostly as a
> placeholder.  If someone knows the right people, please CC them and move
> the bug where it makes more sense.
>
> Thanks!
> Ehsan
>
> On Sat, Dec 24, 2016 at 1:40 PM, Robert Helmer <rhelmer at rhelmer.org>
> wrote:
>
>> 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/ma
>> rionette/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
>>
>
>
>
> --
> Ehsan
>



-- 
Ehsan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/firefox-dev/attachments/20161229/d68bbe11/attachment.html>


More information about the firefox-dev mailing list