Closed Bug 600052 Opened 14 years ago Closed 14 years ago

Add function that waits for a download to complete in the new Add-ons API

Categories

(Mozilla QA Graveyard :: Mozmill Tests, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: aaronmt, Assigned: whimboo)

References

Details

(Whiteboard: [lib])

Attachments

(2 files, 1 obsolete file)

Adding a function that waits for a download to complete in the new Add-ons API would make things much easier than having to use a timeout timer in tests. This bug might depend on bug 600051
No longer blocks: 569813
Depends on: 569813
No longer depends on: 600051
Lets wait until bug 569813 has been checked in. Otherwise it's too much hassle to review. Please add the tests to the blocking list which make use of this progress meter.
Summary: [shared module] Add function that waits for a download to complete in the new Add-ons API → Add function that waits for a download to complete in the new Add-ons API
Blocks: 599867
Blocks: 599865
Blocks: 599868
Blocks: 599866
Depends on: 600502
Attached patch Patch v1 (obsolete) (deleted) — Splinter Review
So I had some trouble to get the install button and the install status elements. As given by Dave, those are located below another binding. That's why we have to search twice. It needed a little refactoring of the collector class too, which I will have to backport to older branches. Otherwise you will now have an installAddon, undo, and waitForDownloaded helper function.
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Attachment #480130 - Flags: review?(anthony.s.hughes)
Attached patch Patch v1.1 [checked-in] (deleted) — Splinter Review
Attachment #480130 - Attachment is obsolete: true
Attachment #480131 - Flags: review?(anthony.s.hughes)
Attachment #480130 - Flags: review?(anthony.s.hughes)
Attachment #480131 - Flags: review?(anthony.s.hughes) → review+
Landed on default as: http://hg.mozilla.org/qa/mozmill-tests/rev/62551d70805a I will leave it open until we have landed the backport patch.
Attached patch Backport DomUtils patch (deleted) — Splinter Review
This patch simply backports the changes for the DOMUtilsAPI to the older branches.
Attachment #480267 - Flags: review?(anthony.s.hughes)
Attachment #480131 - Attachment description: Patch v1.1 → Patch v1.1 [checked-in]
Attachment #480267 - Flags: review?(anthony.s.hughes) → review+
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
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.
Product: Testing → Mozilla QA
Version: Trunk → unspecified
Component: Mozmill Tests → Mozmill Shared Modules
Component: Mozmill Shared Modules → Mozmill Tests
Whiteboard: [shared module] → [lib]
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: