Reviews/B2G/AppUpdates: Difference between revisions

no edit summary
No edit summary
Line 75: Line 75:


For further on these steps see [http://mxr.mozilla.org/mozilla-central/source/dom/apps/src/Webapps.jsm#1718 Webapps.jsm#1718].
For further on these steps see [http://mxr.mozilla.org/mozilla-central/source/dom/apps/src/Webapps.jsm#1718 Webapps.jsm#1718].
===Applying App Updates===
For app updates, the update is applied as soon as it is downloaded, unless the app is running in front. If it is the case, we wait that it is hidden (most probably the user will press "home") to apply the update.
Note that this differs from the system updates, we have an additional prompt when it is downloaded, to let the user choose to apply it now (the phone will reboot) or later (when the phone is rebooted next time).


==Threat Analysis==
==Threat Analysis==
Line 98: Line 103:


* An old update get applied (perhaps introducing a security vulnerability)
* An old update get applied (perhaps introducing a security vulnerability)
* Active MITM attack against an app, forcing a update




canmove, Confirmed users
1,220

edits