Closed
Bug 787380
Opened 13 years ago
Closed 13 years ago
B2G Updates: Show a prompt to confirm or defer downloading an update
Categories
(Toolkit :: Application Update, defect)
Tracking
()
People
(Reporter: marshall, Assigned: marshall)
References
Details
Attachments
(1 file)
|
4.17 KB,
patch
|
fabrice
:
review+
|
Details | Diff | Splinter Review |
This is the initial work for a basic download prompt, more work will need to be done in follow-ups to satisfy UX requirements.
| Assignee | ||
Comment 1•13 years ago
|
||
Attachment #657261 -
Flags: review?(fabrice)
Comment 2•13 years ago
|
||
Comment on attachment 657261 [details] [diff] [review]
updater download events - v1
Review of attachment 657261 [details] [diff] [review]:
-----------------------------------------------------------------
r=me with comments addressed.
::: b2g/components/UpdatePrompt.js
@@ +38,5 @@
>
> + getUpdateService: function UP_getUpdateService() {
> + return Cc["@mozilla.org/updates/update-service;1"].
> + getService(Ci.nsIApplicationUpdateService);
> + },
Use a lazy service getter instead.
@@ +47,5 @@
> // updates when on a billed pipe. Initially, opt-in for 3g, but
> // that doesn't cover all cases.
> checkForUpdates: function UP_checkForUpdates() { },
> +
> + showUpdateAvailable: function UP_showUpdateAvailable(update) {
s/update/aUpdate, and same prefixing on all other methods.
Attachment #657261 -
Flags: review?(fabrice) → review+
| Assignee | ||
Comment 3•13 years ago
|
||
Comment 4•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
Updated•12 years ago
|
blocking-basecamp: ? → +
You need to log in
before you can comment on or make changes to this bug.
Description
•