Closed Bug 937116 Opened 12 years ago Closed 12 years ago

[Download Manager] Create a utility library for common DOM Download operations

Categories

(Firefox OS Graveyard :: Gaia, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
1.3 Sprint 5 - 11/22

People

(Reporter: arcturus, Assigned: borjasalguero)

References

Details

(Whiteboard: [systemsfe][qa-])

Attachments

(1 file)

We have realised that we are doing some operations one and again in different part of the code with the DOM Download objects. Some of those operations will be reused across the notifications and the download list. There we should be able to: - Get the file name from the URL. - Deal with time operations. - Deal with size operations. - Deal with percentage of the download.
Blocks: 935070
No longer blocks: 935088, 935094, 935098
No longer depends on: 935070, 936941
Assignee: nobody → borja.bugzilla
Target Milestone: --- → 1.3 Sprint 5 - 11/22
Summary: [Download Manager] Create library for common DOM Download operations → [Download Manager] Create a utility library for common DOM Download operations
Icons will be shared between the download list and notifications * getIcon() Titles like 'download failed', 'download completed', bla bla could be shared between both of them as well, are you agree? * getTitle() ???
Status: NEW → ASSIGNED
Attached file Pull request
Attachment #830893 - Flags: review?(kaze)
Attachment #830893 - Flags: review?(crdlc)
This library is based on the structure defined https://etherpad.mozilla.org/vYG4E1G6HE
Comment on attachment 830893 [details] [review] Pull request It looks good although please review some comment on Github. After addressing them, please ask again for a new review. Thanks a lot mate! Good job
Attachment #830893 - Flags: review?(crdlc)
Comment on attachment 830893 [details] [review] Pull request For me, it is r+ right now, thanks for your great work!
Attachment #830893 - Flags: review+
Hi Kaze! This patch is only adding tests to Settings, because there we will have the 'Downloads' panel. We need to land this asap for moving forward with following patches, could you take a look? It would be awesome if we can land this today! THanks!! Gracias! :)
Flags: needinfo?(kaze)
Comment on attachment 830893 [details] [review] Pull request LGTM
Attachment #830893 - Flags: review?(kaze) → review+
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Flags: needinfo?(kaze)
Resolution: --- → FIXED
Whiteboard: [systemsfe]
Blocks: 942424
Whiteboard: [systemsfe] → [systemsfe][qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: