mozregression icon indicating copy to clipboard operation
mozregression copied to clipboard

launchers: add support for policy overrides (bug 1777554)

Open zzzeid opened this issue 3 years ago • 1 comments

This is a work in progress, do not merge.

  • add --policy command line argument
  • add policy method to return loaded policy file
  • remove _disableUpdateByPolicy from MozRunnerLauncher class
  • add _install_policy method to FirefoxLauncher class
  • override FirefoxLauncher.init so that it stores policy overrides
  • update FirefoxLauncher._install to use new _install_policy method
  • update TestRunner to use generic install params when creating launcher

TODO:

  • add tests to cover new functionality
  • add UI support

zzzeid avatar Jul 12 '22 15:07 zzzeid

Coverage Status

Coverage decreased (-0.3%) to 91.051% when pulling b2063359ced6a1411f08269c650c38c8f27d88ec on zeid/bug-1777554-policy-overrides into a81c1538410f4738aacce82e7c53d4505344c4c6 on main.

coveralls avatar Jul 12 '22 15:07 coveralls