From 9ddcc64cdb74647cdab270a6eb2d466abc4769a3 Mon Sep 17 00:00:00 2001 From: "edward.lee%engineering.uiuc.edu" Date: Sat, 22 Mar 2008 01:55:51 +0000 Subject: [PATCH] Bustage fix for bug 416683 git-svn-id: svn://10.0.0.236/trunk@248390 18797224-902f-48f8-a5cc-f745e15eee43 --- .../downloads/tests/browser/browser_basic_functionality.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mozilla/toolkit/mozapps/downloads/tests/browser/browser_basic_functionality.js b/mozilla/toolkit/mozapps/downloads/tests/browser/browser_basic_functionality.js index 530a549a5be..ffe9fd0a855 100644 --- a/mozilla/toolkit/mozapps/downloads/tests/browser/browser_basic_functionality.js +++ b/mozilla/toolkit/mozapps/downloads/tests/browser/browser_basic_functionality.js @@ -42,6 +42,7 @@ dmFile.append("dmuitest.file"); dmFile.createUnique(Ci.nsIFile.NORMAL_FILE_TYPE, 0666); var gTestPath = ios.newFileURI(dmFile).spec; +// Downloads are sorted by endTime, so make sure the end times are distinct const DownloadData = [ /* Active states first */ { name: "381603.patch", @@ -118,8 +119,8 @@ const DownloadData = [ { name: "381603.patch", source: "https://bugzilla.mozilla.org/attachment.cgi?id=266520", target: gTestPath, - startTime: 1180493839859230, - endTime: 1180493839859231, + startTime: 1180493839859229, + endTime: 1180493839859229, state: Ci.nsIDownloadManager.DOWNLOAD_BLOCKED_POLICY, currBytes: 0, maxBytes: -1, preferredAction: 0, autoResume: 0 } ];