☠☠ backed out by e98e65fd7203 ☠ ☠ | |
author | Andy Wingo <wingo@igalia.com> |
Tue, 03 Dec 2013 19:04:25 +0100 | |
changeset 158646 | 4cbb184bf6cb68fb252af668d9fe4efdda5c374c |
parent 158645 | 2572592c326dc2c632351877fa517f3f67c2ffcb |
child 158647 | 582c563a8e1a7fa3520fce76c31226aaeeabca7a |
push id | 25752 |
push user | cbook@mozilla.com |
push date | Wed, 04 Dec 2013 08:35:03 +0000 |
treeherder | mozilla-central@8187818246ad [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | luke |
bugs | 945828, 945756 |
milestone | 28.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
toolkit/components/jsdownloads/test/unit/test_DownloadList.js | file | annotate | diff | comparison | revisions |
--- a/toolkit/components/jsdownloads/test/unit/test_DownloadList.js +++ b/toolkit/components/jsdownloads/test/unit/test_DownloadList.js @@ -357,19 +357,18 @@ add_task(function test_history_expiratio yield promiseExpirableDownloadVisit(); yield promiseExpirableDownloadVisit(httpUrl("interruptible.txt")); // After clearing history, we can add the downloads to be removed to the list. yield list.add(downloadOne); yield list.add(downloadTwo); // Force a history expiration. - let expire = Cc["@mozilla.org/places/expiration;1"] - .getService(Ci.nsIObserver); - expire.observe(null, "places-debug-start-expiration", -1); + Cc["@mozilla.org/places/expiration;1"] + .getService(Ci.nsIObserver).observe(null, "places-debug-start-expiration", -1); // Wait for both downloads to be removed. yield deferred.promise; cleanup(); }); /**