Andrew Swan b8e80aa938 Bug 1359558 Part 2 Pass appropriate bootstrap reasons when temporarily installing an addon on top of an existing one r=kmag
Prior to this patch we always passed APP_SHUTDOWN as the reason when
shutting down and uninstall a temporary addon, even if the same addon
was installed permanently.  Now we send an appropriate reason.

Also untangled a bunch of stuff that had been added to the test case
for temporary-addon-installed-over-permanently-installed-addon and
then extended the basic test to cover this scenario.

MozReview-Commit-ID: 7rgfpiRYcFu

--HG--
extra : rebase_source : e916e040000838b22d6f30ac226115e953f2a3a9
2017-07-31 15:21:57 -07:00
..