Testing safe mode
rhelmer at rhelmer.org
Sat Dec 24 05:13:36 UTC 2016
On Fri, Dec 23, 2016 at 12:43 PM, Ehsan Akhgari <ehsan.akhgari at gmail.com> wrote:
> On Fri, Dec 23, 2016 at 3:40 PM, Ryan VanderMeulen
> <rvandermeulen at mozilla.com> wrote:
>> 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
> Sure, we can extend this check for that purpose I think
> (I haven't tested this, we may need to change more things, but we do control
> all ends here.)
How are these add-ons loaded now, do they use the temporary
installation feature? If so then they should work now in safe mode.
If not - one easy way to do this that would require no code change
would be to load automated test harness add-ons as system add-ons. For
beta/release they would need to be signed using the system add-on key.
>> On Dec 23, 2016 2:38 PM, "Lawrence Mandel" <lmandel at mozilla.com> wrote:
>>> That does seem bad as safe mode is our mitigation strategy for a number
>>> of issues.
>>> What tests do we need to execute for safe mode to prove that the env is
>>> correct and functional? Are there existing tests that we can use in the safe
>>> mode configuration?
>>> On Fri, Dec 23, 2016 at 3:34 PM, Ehsan Akhgari <ehsan.akhgari at gmail.com>
>>>> About 3 weeks ago I heavily broke basic browsing safe mode on Nightly
>>>> (sorry about that!) and today we got a bug report that led to investigation
>>>> (bug 1325651).
>>>> Have we ever thought about running automated tests on safe mode, at
>>>> least periodically? We currently don't even run automatic smoketests to
>>>> make sure you can load web pages in safe mode, which seems bad for a mode
>>>> that is supposed to be working with a higher probability than normal mode.
>>>> firefox-dev mailing list
>>>> firefox-dev at mozilla.org
>>> firefox-dev mailing list
>>> firefox-dev at mozilla.org
> firefox-dev mailing list
> firefox-dev at mozilla.org
More information about the firefox-dev