Closed
Bug 809947
Opened 12 years ago
Closed 12 years ago
Implement app.checkForUpdate for hosted apps
Categories
(Core Graveyard :: DOM: Apps, defect, P1)
Tracking
(blocking-basecamp:+, firefox18 fixed, firefox19 fixed, firefox20 fixed)
People
(Reporter: sicking, Assigned: fabrice)
References
Details
(Keywords: feature, Whiteboard: [qa-])
Attachments
(1 file)
4.82 KB,
patch
|
ferjm
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #796045 +++
The remaining work here is:
* Hook up the checkForUpdate function to the API added in bug 751754.
Reporter | ||
Updated•12 years ago
|
Assignee: nobody → jonas
Comment 1•12 years ago
|
||
Marking for C2, given this meets the criteria of known P1/P2 bugs at the end of C1.
Target Milestone: --- → B2G C2 (20nov-10dec)
Assignee | ||
Comment 2•12 years ago
|
||
Fernando, I tested with a local version of http://owapps.cloudfoundry.com/
Please double check that it's also working for you.
Assignee: jonas → fabrice
Attachment #687966 -
Flags: review?(ferjmoreno)
Comment 3•12 years ago
|
||
Comment on attachment 687966 [details] [diff] [review]
patch
Review of attachment 687966 [details] [diff] [review]:
-----------------------------------------------------------------
I've tested and works for me too.
::: dom/apps/src/Webapps.jsm
@@ +1041,5 @@
> + aMm.sendAsyncMessage("Webapps:CheckForUpdate:Return:OK", aData);
> + }
> + }
> + let updateSvc = Cc["@mozilla.org/offlinecacheupdate-service;1"]
> + .getService(Ci.nsIOfflineCacheUpdateService);
I think you can use here the 'updateSvc' that you got from the lazy getter in line 46.
@@ +1042,5 @@
> + }
> + }
> + let updateSvc = Cc["@mozilla.org/offlinecacheupdate-service;1"]
> + .getService(Ci.nsIOfflineCacheUpdateService);
> + updateSvc.checkForUpdate(Services.io.newURI(aData.manifestURL, null, null),
At some point we would need to clean this file from lines longer than 80 chars :)
Attachment #687966 -
Flags: review?(ferjmoreno) → review+
Assignee | ||
Comment 4•12 years ago
|
||
Comment 5•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 6•12 years ago
|
||
Updated•12 years ago
|
Whiteboard: [qa-]
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
•