Open Bug 1040066 Opened 6 years ago Updated 6 years ago
_profile argument is not currently used
As far as I can tell, the clean_profile argument is not currently used in mozrunner. According to the docstring for the various Runner classes: > clean_profile: If True, restores profile back to original state. However, it would appear that other than assigning this as a property on the Runner objects, it's not used. I would expect that it would at least be used when cleaning up a B2GDeviceRunner instance to restore the original profile: http://hg.mozilla.org/mozilla-central/file/f6912a8e9ccc/testing/mozbase/mozrunner/mozrunner/devices/base.py#l235 This appears to be a regression from bug 997244. Previously, clean_profile was used here: http://hg.mozilla.org/mozilla-central/file/a7088551f8b6/testing/mozbase/mozrunner/mozrunner/base.py#l186
You need to log in before you can comment on or make changes to this bug.