Support new Downloads.jsm API in Firefox 26+.