canmove, Confirmed users
1,220
edits
Ptheriault (talk | contribs) |
Ptheriault (talk | contribs) |
||
| Line 53: | Line 53: | ||
# Call updatable.download [http://mxr.mozilla.org/gaia/source/apps/system/js/update_manager.js#103] | # Call updatable.download [http://mxr.mozilla.org/gaia/source/apps/system/js/update_manager.js#103] | ||
# Calls download on the app object itself [http://mxr.mozilla.org/gaia/source/apps/system/js/updatable.js#32] | # Calls download on the app object itself [http://mxr.mozilla.org/gaia/source/apps/system/js/updatable.js#32] | ||
# Enter app.download function, which just | # Enter app.download function, which just sends message to WebApps.jsm [http://mxr.mozilla.org/mozilla-central/source/dom/apps/src/Webapps.js#386] | ||
# WebApps.jsm catches the message and calls startDownload(manifestURL) [http://mxr.mozilla.org/mozilla-central/source/dom/apps/src/Webapps.jsm#915] | # WebApps.jsm catches the message and calls startDownload(manifestURL) [http://mxr.mozilla.org/mozilla-central/source/dom/apps/src/Webapps.jsm#915] | ||
# WebApps,jsm loads the app object for that Manifest, does some checks, then: | # WebApps,jsm loads the app object for that Manifest, does some checks, then: | ||