Bug 1074117 - Use expected conditions where appropriate and optimise element lookups in cost control app object. r=fstrugariu
Merge pull request #26226 from davehunt/bug1074117-costcontrol

Bug 1074117 - Use expected conditions and optimise element lookups in cost control app object