Bug 957592. Expose download API properties based on permission. r=bz