modules/download-manager.js: make check for Downloads.jsm more robust
commitc5e640d874c65762c082430b42207bcafb58fda6
authorJeremy Maitin-Shepard <jeremy@jeremyms.com>
Mon, 19 May 2014 17:15:46 +0000 (19 10:15 -0700)
committerJeremy Maitin-Shepard <jeremy@jeremyms.com>
Mon, 19 May 2014 17:16:38 +0000 (19 10:16 -0700)
tree8e001f5f2de90187589f6137abd264bd2e1494f3
parent6cbee35ca1a6b4f68e2e96c94da05dee68f60fd7
modules/download-manager.js: make check for Downloads.jsm more robust

Just checking for the presence of Downloads.jsm is not enough, as
Firefox 24.5.0esr has the module but is missing the getList function.
Now we check for getList as well.
modules/download-manager.js