Autophone - use mozprofile.Profile and set required preferences explicitly

RESOLVED FIXED

Status

Testing
Autophone
RESOLVED FIXED
a year ago
a year ago

People

(Reporter: bc, Assigned: bc)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

a year ago
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.
(Assignee)

Comment 1

a year ago
Created attachment 8868121 [details] [diff] [review]
bug-1365244-v1.patch
Attachment #8868121 - Flags: review?(jmaher)
Attachment #8868121 - Flags: review?(jmaher) → review+
(Assignee)

Comment 2

a year ago
https://github.com/mozilla/autophone/commit/1ee4f294ea9f2012a0cbf6b548da1e08388208f9
deployed 2017-05-19 21:15
Blocks: 1157427
Status: ASSIGNED → RESOLVED
Last Resolved: a year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.