Closed Bug 518342 Opened 16 years ago Closed 16 years ago

[mozmill] Verify download manager list is cleared when switching in/out of Private Browsing mode (window closed)

Categories

(Mozilla QA Graveyard :: Mozmill Tests, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: whimboo, Assigned: whimboo)

Details

Attachments

(1 file, 3 obsolete files)

Attached patch WIP v1 (obsolete) — Splinter Review
That test works so far. I only have to check how I have to remove the downloaded files after the test.
Attached patch WIP v1.1 (obsolete) — Splinter Review
Attachment #402348 - Attachment is obsolete: true
Attached patch WIP v1.2 (obsolete) — Splinter Review
Third try. Now it should be the correct one. Aakash, it would be great when you could have a test-run and check in-front if the test works for you too.
Attachment #402349 - Attachment is obsolete: true
Attachment #402350 - Flags: review?(adesai)
Shawn, what is the best way to track the downloaded files and to remove them at the end of the test? I tried to add a listener but that only produced a lot of JS errors. I have also asked in the newsgroup md.platform and Robert mentioned that there is no enumerator for all downloads.
You have to use SQL to get all the downloads.
Comment on attachment 402350 [details] [diff] [review] WIP v1.2 I haven't taken a look at the code syntax because you just wanted to check if the test was working.... but its failing for me on osx with the following error: http://pastebin.mozilla.org/672612 It passes/runs fine on xp through.
Attachment #402350 - Flags: review?(adesai) → review-
Attached patch Patch v1Splinter Review
Ok, I was able to implement the SQL stuff so we can delete all the downloaded files from disk after the test has been finished. I have also enhanced the DownloadsAPI so we can use it for more tests. The problem with your given error is probably a timing error. Did it happen all the time or only once on OS X? I cannot see it on my box when running the test a couple of times.
Attachment #402350 - Attachment is obsolete: true
Attachment #402834 - Flags: review?(adesai)
Comment on attachment 402834 [details] [diff] [review] Patch v1 Looks great and it passes across OSX and Win XP.
Attachment #402834 - Flags: review?(adesai) → review+
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Mass move of Mozmill Test related project bugs to newly created components. You can filter out those emails by using "Mozmill-Tests-to-MozillaQA" as criteria.
Component: Private Browsing → Mozmill Tests
Product: Firefox → Mozilla QA
QA Contact: private.browsing → mozmill-tests
Version: Trunk → unspecified
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: