Closed
Bug 819974
Opened 12 years ago
Closed 12 years ago
[Apps] Allow to cancel hosted app download
Categories
(Core Graveyard :: DOM: Apps, defect, P1)
Core Graveyard
DOM: Apps
Tracking
(blocking-basecamp:+, firefox19 fixed, firefox20 fixed, b2g18 fixed)
People
(Reporter: ferjm, Assigned: ferjm)
References
Details
(Keywords: feature)
Attachments
(1 file, 2 obsolete files)
(deleted),
patch
|
fabrice
:
review+
|
Details | Diff | Splinter Review |
We need the ability to cancel hosted app installations in order to fully implement the Gaia app install specs.
More info in Bug 816128.
Assignee | ||
Comment 1•12 years ago
|
||
Blocker of a blocker, so I guess this one should be bb+ too.
Assignee | ||
Updated•12 years ago
|
Summary: [Apps] Allow to cancel hosted app installations → [Apps] Allow to cancel hosted app download
blocking-basecamp: ? → +
Assignee | ||
Comment 2•12 years ago
|
||
I'd like to do more tests before asking for r?
Assignee | ||
Comment 3•12 years ago
|
||
It seems to be working properly. I'm just updating the patch to remove some trailing white spaces.
This patch won't land until Bug 819971 does.
Attachment #691327 -
Attachment is obsolete: true
Attachment #691389 -
Flags: review?(fabrice)
Comment 4•12 years ago
|
||
Comment on attachment 691389 [details] [diff] [review]
v1
Review of attachment 691389 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/apps/src/Webapps.jsm
@@ +866,5 @@
> return;
> }
> +
> + if (download.cacheUpdate) {
> + // Cancell hosted app download.
Nit: Cancel
@@ +869,5 @@
> + if (download.cacheUpdate) {
> + // Cancell hosted app download.
> + download.cacheUpdate.cancel();
> + } else if (download.channel) {
> + // Cancell packaged app download.
ditto
Attachment #691389 -
Flags: review?(fabrice) → review+
Assignee | ||
Comment 5•12 years ago
|
||
I had to modify the patch because of the changes that I've made for Bug 819971. Now we don't use the nsIOfflineCacheUpdateObserver::STATE_CANCELLED state, but we reuse the STATE_ERROR one.
Fabrice, I won't ask you for r? again to not spam your request queue, but feel free to take a look at the patch again :).
Attachment #691389 -
Attachment is obsolete: true
Updated•12 years ago
|
Attachment #692279 -
Flags: review?(fabrice)
Updated•12 years ago
|
Attachment #692279 -
Flags: review?(fabrice) → review+
Comment 8•12 years ago
|
||
Driver retriage: QA, please ensure scenario in bug 816128 is covered. They are 100% identical, but want to ensure we're not missing anything.
Also, can this land now?
Assignee | ||
Comment 9•12 years ago
|
||
We have to wait for Bug 819971 to land. Hopefully that will happen today.
Assignee | ||
Comment 10•12 years ago
|
||
Comment 11•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 12•12 years ago
|
||
Comment 13•12 years ago
|
||
Verified - I've confirmed I cancel a hosted app download preloading appcache.
Status: RESOLVED → VERIFIED
Keywords: verifyme
Updated•7 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•