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)
Mozilla QA Graveyard
Mozmill Tests
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: whimboo, Assigned: whimboo)
Details
Attachments
(1 file, 3 obsolete files)
|
13.02 KB,
patch
|
aakashd
:
review+
|
Details | Diff | Splinter Review |
This Mozmill test will cover the following Litmus tests:
https://litmus.mozilla.org/show_test.cgi?id=7434
https://litmus.mozilla.org/show_test.cgi?id=9178
| Assignee | ||
Comment 1•16 years ago
|
||
That test works so far. I only have to check how I have to remove the downloaded files after the test.
| Assignee | ||
Comment 2•16 years ago
|
||
Attachment #402348 -
Attachment is obsolete: true
| Assignee | ||
Comment 3•16 years ago
|
||
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)
| Assignee | ||
Comment 4•16 years ago
|
||
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.
Comment 5•16 years ago
|
||
You have to use SQL to get all the downloads.
Comment 6•16 years ago
|
||
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-
| Assignee | ||
Comment 7•16 years ago
|
||
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 8•16 years ago
|
||
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+
| Assignee | ||
Comment 9•16 years ago
|
||
Landed as:
http://hg.mozilla.org/qa/mozmill-tests/rev/67fd86ccd050
http://hg.mozilla.org/qa/mozmill-tests/rev/6a330bdfe0c2
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 10•15 years ago
|
||
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
Updated•6 years ago
|
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•