Created attachment 616408 [details] [diff] [review]
This would be very helpful during tests of other parts of the api (bug 741549) as to not worry about waiting for the actual installation to happen, and possible garbage left in the slave in case a test fails and does not do proper clean-up.
Created attachment 616412 [details] [diff] [review]
(missed closed paren in previous patch)
Comment on attachment 616412 [details] [diff] [review]
nit: I kind of prefer just a getBoolPref call in a try/catch, since it's a little easier to read. Alternatively, use a local variable for the pref name so you can re-wrap the if statement onto only two lines.
Looks like an internal code change. Is there anything from an end-user perspective I can verify here?
You can set the pref to confirm that the app doesn't get installed.
Verified on Win 7 64-bit on Nightly.