gecko-dev/toolkit/components/cleardata/tests
Andrea Marchesini b057c3c17c Bug 1522874 - Fix test_downloads.js, r=johannh
test_downloads.js is broken in many ways:

1. the file: URI download can finish before the end of the test because
everything is async. Checking that we have active downloads is wrong.

2. Download API doesn't offer a promise-based or callback-based way to know
when something is removed. This means that Services.clearData.deleteData*
methods return before the end of the operation.
2019-02-01 13:06:06 +01:00
..
unit Bug 1522874 - Fix test_downloads.js, r=johannh 2019-02-01 13:06:06 +01:00