Closed Bug 1365244 Opened 3 years ago Closed 3 years ago

Autophone - use mozprofile.Profile and set required preferences explicitly

Categories

(Testing :: Autophone, enhancement)

enhancement
Not set

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bc, Assigned: bc)

References

Details

Attachments

(1 file)

bug 1356826 changed how extensions are installed. We now need to set additional preferences in order for the quitter and spider extensions to be successfully installed on trunk.

Currently we already have 
https://github.com/mozilla/autophone/blob/master/phonetest.py#L401

'extensions.autoDisableScopes': 0,
'extensions.enabledScopes': 5,

but do not have

'extensions.startupScanScopes': 5, 

to scan the user profile and application for extension changes at startup.

While looking into this I realized that using FirefoxProfile to create the profile makes it more difficult to guarantee that we are setting the preferences we actually want in phonetest.py. This patch changes to using Profile to create the profile without default preferences, carries over the preferences we left behind and adds the startup scan preference.
Attachment #8868121 - Flags: review?(jmaher)
Attachment #8868121 - Flags: review?(jmaher) → review+
https://github.com/mozilla/autophone/commit/1ee4f294ea9f2012a0cbf6b548da1e08388208f9
deployed 2017-05-19 21:15
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.