Commit Graph

384 Commits

Author SHA1 Message Date
Fabrice Desré
941057d6bf Bug 842698 - Properly register activities when installing and updating packaged apps r=ferjm 2013-02-28 11:22:31 -08:00
Gregory Szorc
f0b7e3972c Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Gregory Szorc
e2966f651c Bug 784841 - Part 18k: Convert /dom; f=Ms2ger rs=khuey 2013-02-25 12:47:20 -08:00
Fernando Jiménez
7e87ab61d5 Bug 844243 - Installing a packaged app in which the mini-manifest app name is different than the webapp manifest app name is allowed, but should not be; r=fabrice 2013-02-27 12:39:15 +01:00
Fernando Jiménez
76eaeb3566 Bug 841631 - [Intermittent] Large Packaged App Downloads on Weak Connections can have HTTP requests stopped in the middle of download, which results in a corrupted package download; r=fabrice 2013-02-19 09:39:53 +01:00
Fernando Jiménez
478faddbcd Bug 839071 - We're resetting some states when we shouldn't for hosted+appcache apps; r=fabrice 2013-02-19 09:37:49 +01:00
Fabrice Desré
97c0cb8702 Bug 838308 - mozKeyboard should require a permission to use r=vingtetun a=tef+ 2013-02-15 12:35:18 -08:00
Fernando Jiménez
acf59c4a4c Bug 839435 - [Packaged apps] Only allow numbers in the 'size' manifest field; r=fabrice 2013-02-15 19:13:02 +01:00
Marco Castelluccio
75e33d8f84 Bug 836016 - Cannot reinstall an app after uninstalling it. r=fabrice 2013-02-15 08:39:31 -05:00
Alexandre Poirot
8c333fdec4 Bug 834515 - Updating to a packaged app with a new name via introducing a locale override allows changing the app name r=fabrice 2013-02-14 09:23:58 -08:00
Fernando Jiménez
d147712b9e Bug 840078 - onerror callback is never triggered over the DOMRequest returned by mozIDOMApplication.launch; r=fabrice 2013-02-14 11:56:30 +01:00
Fabrice Desré
8983c2c85b Bug 839810 - Race condition installing apps on linux r=ferjm 2013-02-13 11:55:45 -08:00
Fabrice Desré
1b606c7897 Bug 840698 - Activities are broken r=cjones 2013-02-12 15:19:50 -08:00
Julien Wajsberg
352a909178 Bug 830463 - Download/update notification is showing up late on a weak connection in some cases. r=fabrice 2013-02-11 09:38:51 +01:00
Fabrice Desré
1965b263d7 Bug 838102 - activities are saved in the manifest with a modified href after an update r=julienw 2013-02-10 10:54:13 -08:00
Julien Wajsberg
d483422d17 Bug 838823 - Restarting a stopped install of an app fails with NO_DOWNLOAD_AVAILABLE. r=fabrice 2013-02-08 11:07:46 +01:00
Julien Wajsberg
757ee4fc1d Bug 838561 - If we try to start a download or check for updates but we are already downloading, ignore the call. r=fabrice 2013-02-08 10:40:52 +01:00
Julien Wajsberg
bad7dafa7c Bug 838337 - Set downloading to true when we get an appcache progress event. r=fabrice 2013-02-07 20:36:14 +01:00
Fabrice Desré
be582ce72a Bug 836605 - Use prototype to speed up cloneAsMozIApplication r=genelian 2013-02-06 15:21:15 -08:00
Vivien Nicolas
2e6ec8c647 Bug 835799 - Add a timestamp property to the observer sent when an application has been called by app.launch(). r=fabrice 2013-02-05 13:05:56 -05:00
Gene Lian
35a471c24e Bug 837572 - Cannot access any property by the manifest of app object. r=fabrice 2013-02-05 13:57:36 +08:00
Julien Wajsberg
805b871ccd Bug 834618 - Catch any error thrown from resolveFromOrigin. r=fabrice 2013-02-04 14:59:32 +01:00
Myk Melez
9221e7497d bug 797613 - identify Fennec via MOZ_FENNEC var and use MOZ_B2G to simplify Webapps.js ifdefs; r=fabrice, khuey
--HG--
extra : rebase_source : d6f223797f3acad6d06ec035aaf3b7edf50cb0a0
2013-02-01 15:47:24 -08:00
Fabrice Desré
b1763cd29e Bug 836909 - Trying and failing to update a 3rd party app update due to an error - cannot launch the app anymore r=ferjm 2013-02-01 11:17:32 -08:00
Fabrice Desré
79b8a03cc9 Bug 836859 - Trying download an update for the maps packaged app fails with INVALID_SIGNATURE r=ferjm 2013-02-01 11:17:32 -08:00
Fabrice Desré
8d3b575fc4 Bug 834999 - followup to remove useless dump() r=me a=tef+ 2013-01-31 14:34:39 -08:00
Fabrice Desré
a5716c082e Bug 835013 - AppProtocolHandler.js and related code taking ~50ms on the critical startup path r=cjones 2013-01-31 13:35:13 -08:00
Fabrice Desré
79018cb702 Bug 836538 - Catch exceptions when we have no etag headers on packages r=ferjm 2013-01-31 13:35:11 -08:00
Fabrice Desré
ac2b7e3b8b Bug 834999 - WebappsApplication.prototype.manifest getter takes 25-30ms on critical startup path r=ferjm 2013-01-30 22:50:28 -08:00
Fabrice Desré
3b94e5456b Bug 835596: Speed up getAppByLocalId from O(n) to O(1) r=ferjm 2013-01-30 22:50:28 -08:00
Fabrice Desré
b7bf881fd8 Bug 834371 - Applying a packaged app update and immediately losing power to the phone - app update is lost r=julienw 2013-01-30 22:50:28 -08:00
Ryan VanderMeulen
5965597c28 Backed out changeset bd0fc79d7a8b (bug 835548), changeset b8d1949eeb05 (bug 834999), changeset 3d90fdbf38a4 (bug 835596), and changeset ba7ffb02dc3f (bug 834371) for mochitest-4 failures on a CLOSED TREE. 2013-01-30 18:20:40 -05:00
Fabrice Desré
5cb641850f Bug 834999 - WebappsApplication.prototype.manifest getter takes 25-30ms on critical startup path r=ferjm 2013-01-30 14:22:54 -08:00
Fabrice Desré
fd09493d6d Bug 835596: Speed up getAppByLocalId from O(n) to O(1) r=ferjm 2013-01-30 14:22:54 -08:00
Fabrice Desré
e6a5b7f2a2 Bug 834371 - Applying a packaged app update and immediately losing power to the phone - app update is lost r=julienw 2013-01-30 14:22:54 -08:00
Gene Lian
20d50f0b1f Bug 830258 - [Webapps] .uninstall() should return "Webapps:Uninstall:Return:KO" when uninstalling a non-removable app (part 1, fix .uninstall()). r=fabrice 2013-01-30 11:54:05 +08:00
Fabrice Desré
34f7f84329 Bug 836045 - Update Webapps code to use the new deviceStorage stat() support r=djf 2013-01-29 18:24:43 -08:00
Reuben Morais
39c2cfbb13 Bug 793204 - Add remove() API to PermissionSettings. r=sicking 2013-01-26 12:56:23 -05:00
Fabrice Desré
c54f4a57f1 Bug 833659 - REINSTALL_FORBIDDEN error isn't triggering when installing a packaged app with a mini-manifest off of X origin when a hosted app was already installed from X origin r=ferjm 2013-01-24 18:24:17 -08:00
Fabrice Desré
05d9b40845 Bug 833587 - Updating a packaged app to a new version that is too large to fit in the phone fails, but the original packaged app is lost (no longer launches) r=ferjm 2013-01-24 18:24:17 -08:00
Fabrice Desré
650cb07377 Bug 832408 - Notifications stick around after a failed 3rd party app update r=ferjm 2013-01-24 18:24:17 -08:00
Fabrice Desré
e49f5c656b Bug 831644 - Uninstalling an app while it's currently being downloading leaves Gaia's homescreen and download progress in a corrupted, out of sync state with the webapps registry r=julienw 2013-01-24 18:24:17 -08:00
Gregor Wagner
08ee5fe34a Backout bug 793204. r=me 2013-01-23 10:17:33 -08:00
Reuben Morais
6fa679b10a Bug 793204 - Add remove() API to PermissionSettings. r=sicking 2013-01-22 23:34:26 -08:00
Myk Melez
a518dc891a bug 833531 - define installOrigin in argument to aApp parameter of DOMApplicationRegistry.downloadPackage(); r=fabrice
---
 dom/apps/src/Webapps.jsm | 1 +
 1 file changed, 1 insertion(+)
2013-01-22 14:01:42 -08:00
Fabrice Desré
c92e08bc7d Bug 821288 - Strange behavior when installing multiple hosted apps from the same origin r=julienw a=nonlibxul 2013-01-21 11:13:35 -08:00
Fabrice Desré
ea10912246 Bug 814226 - Permission checks for "webapps-manage" could probably be friendlier r=sicking 2013-01-19 08:56:29 -08:00
Phil Ringnalda
ebc1570f2e Back out fdeb0c833138 (bug 814226) for Linux bc failures in browser_webapps_permissions.js
CLOSED TREE
2013-01-18 19:10:47 -08:00
Fabrice Desré
e474b8092b Bug 814226 - Permission checks for "webapps-manage" could probably be friendlier r=sicking 2013-01-18 16:29:12 -08:00
Fabrice Desré
b86548b61f Bug 829934 - Implement a hash verifier for webapp/mini manifest r=ferjm 2013-01-18 09:54:06 -08:00
Fabrice Desré
009043843c Bug 830835 - update a app, cancel the download, check for update => does not send a downloadavailable event r=julienw 2013-01-18 09:01:40 -08:00
Fabrice Desré
d348b12398 Bug 830294 - Can't launch an app after canceling its update r=ferjm 2013-01-16 16:55:50 -08:00
Fabrice Desré
59be7f3e7a Bug 829679 - Package installation without // on the manifest URL causes webapps.json corruption r=ferjm a=tef+ 2013-01-14 11:41:24 -08:00
Phil Ringnalda
26bed435ec Back out acecf63268be (bug 829679) for the same mochitest-chrome orange it had the last time it landed
CLOSED TREE
2013-01-14 20:16:10 -08:00
Fabrice Desré
1b2cac18be Bug 829679 - Package installation without // on the manifest URL causes webapps.json corruption r=ferjm a=tef+ 2013-01-14 11:41:24 -08:00
Fabrice Desré
7c39a9ad6c Bug 829522 - Check for updates never finds app update notifications until after you restart the phone due to hosted+appcache app check for updates failure r=gwagner 2013-01-14 18:47:55 +01:00
Marco Bonardo
7f4f2d35a7 Backout 66c886b7d927 (bug 827715),2c7287304555 (bug 829679) for bustage 2013-01-14 22:53:34 +01:00
Fabrice Desré
5de29a3793 Bug 829679 - Package installation without // on the manifest URL causes webapps.json corruption r=ferjm 2013-01-14 11:40:46 -08:00
Fabrice Desré
17be7e418e Bug 828944 - downloadavailable flag is removed if you reboot after stopping the download r=ferjm 2013-01-11 07:32:06 -08:00
Alexandre Poirot
ddc670b04f Bug 828280 - (packaged) App won't install without developer field in its manifest. r=fabrice
--HG--
extra : rebase_source : f179e027514f6dcf1bfabfbae29bd12d9d78ea0e
2013-01-11 06:47:00 +01:00
Gene Lian
df3e584f03 Bug 820206 - Validate "Webapps:*" message parameters in the parent process (part 1, move .uninstall() from mozIDOMApplication to mozIDOMApplicationMgmt). r=sicking, a=blocking-basecamp 2013-01-11 20:50:46 +08:00
Alexandre Poirot
4528f3fecb Bug 826555 - Ensure that updates can't rename an app r=fabrice 2013-01-11 15:08:12 +01:00
Fabrice Desré
e44cc0e793 Bug 829572 - The storage permission should be ALLOW for all kinds of apps r=sicking 2013-01-11 05:59:22 -08:00
Fernando Jiménez
24e40878ab Bug 829052 - progress is NaN when doing appcache update; r=fabrice 2013-01-11 11:58:33 +01:00
Fernando Jiménez
9498b959c9 Bug 824697 - Installing a Hosted App that Preloads the Appcache, updating the appcache, manual syncing the app - no updates found; r=fabrice 2013-01-10 18:06:59 +01:00
Patrick Wang
d28076e20c Bug 828835 - Return form installPreinstalledApp when coreAppsDir dosen't exist. r=fabrice 2013-01-10 15:53:17 +08:00
Alexandre Poirot
347c1b9aeb Bug 813797 - Completely remove apps developer mode (dom.mozApps.dev_mode) in release builds. r=fabrice 2013-01-09 17:34:13 -05:00
Fabrice Desré
889c720567 Bug 828267 - Installing a packaged app, lose connection during download, remove it, install it again - network error doesn't fire and app infinitely spins trying to download resources r=jst 2013-01-09 07:51:28 -08:00
Fabrice Desré
946b30d3d9 Bug 828190 - Support updates of preinstalled hosted apps r=ferjm 2013-01-09 07:06:07 -08:00
Andrea Marchesini
fd59052d04 Bug 827050 - Clear cookies and stored data in the browser clears remember my choice permissions for PROMPT_ACTION WebAPIs, r=mounir
--HG--
rename : dom/tests/mochitest/localstorage/frame_clear_browser_data.html => extensions/cookie/test/frame_clear_browser_data.html
rename : extensions/cookie/test/test_app_uninstall_permissions.html => extensions/cookie/test/test_app_cleardata_permissions.html
2013-01-07 18:37:01 +01:00
Etienne Segonzac
b02959b0d1 Bug 827750 - Inhibiting HTTP cache for app updates. r=fabrice 2013-01-09 02:02:08 -08:00
Fabrice Desré
88feeaf040 Bug 819061 - [Apps] Remove workaround from Bug 813468 once Bug 815523 is done r=ferjm 2013-01-08 14:22:13 -08:00
Gene Lian
ffd825f5f5 Bug 828161 - Firefox OS cannot start up due to an exception: "Webapps.jsm: non-relative URI passed to resolveFromOrigin". r=mounir 2013-01-09 15:35:52 +08:00
Margaret Leibovic
7574c57b0a Bug 827502 - When trying to reinstall a packaged app, get the id from the manifestURL. r=fabrice 2013-01-08 13:18:47 +01:00
Dale Harvey
0c7e4cdd01 Bug 827047 - Send checkForUpdate messages to all registered listeners. r=fabrice 2013-01-08 20:00:01 -05:00
Cameron McCormack
50bfceebf9 Backout 119105935766 for crash during test_install_receipts.xul. 2013-01-09 10:50:01 +11:00
Fabrice Desré
19c60bef1b Bug 819061 - [Apps] Remove workaround from Bug 813468 once Bug 815523 is done r=ferjm 2013-01-08 14:22:13 -08:00
Bobby Holley
f2ec324849 Bug 824670 - Validate Activity and Message hrefs during manifest parsing. r=mounir 2013-01-08 10:39:45 -08:00
Fabrice Desré
7d87f695ec Bug 827772 - Followup to the patch in Bug 824695 r=jst 2013-01-08 09:02:21 -08:00
Fabrice Desré
1da28e32f7 Bug 827023 r=vingtetun 2013-01-08 09:02:17 -08:00
Gregor Wagner
61e37ea807 Bug 827806 - 'geolocation' permission should be set to prompt for certified apps. r=sicking a=blocking-basecamp 2013-01-08 16:20:15 +01:00
Brian Smith
cffe474fd8 Bug 821207: Only allow signed apps to be installed from the Firefox Marketplace, and require all Firefox Marketplace apps to be signed, r=sicking
--HG--
extra : rebase_source : 746392a666bf23c43d309bf9546d2a4bb4d68f27
2012-12-21 14:49:10 -08:00
Phil Ringnalda
a1a5fe2151 Back out fef358e6d5e6 (bug 827050) for Linux/Windows xpcshell orange in test_cache_jar_wrap.js 2013-01-07 22:01:41 -08:00
Philipp von Weitershausen
ea3ddeb49d bug 826470 - NS_ERROR_FAILURE in nsIProperties.get(), file: resource://gre/modules/Webapps.jsm line: 2290; r=fabrice
--HG--
extra : rebase_source : 51ff08bed65bba70ce092a6c10af526fba2eb96a
2013-01-07 14:30:11 -08:00
Fabrice Desré
8b9b890e85 Bug 826940 - after updating preloaded packaged app, starting app shows old version until the phone is restarted [r=myk] 2013-01-07 13:19:22 -08:00
Andrea Marchesini
72c8687e50 Bug 827050 - Clear cookies and stored data in the browser clears remember my choice permissions for PROMPT_ACTION WebAPIs, r=mounir
--HG--
rename : dom/tests/mochitest/localstorage/frame_clear_browser_data.html => extensions/cookie/test/frame_clear_browser_data.html
rename : extensions/cookie/test/test_app_uninstall_permissions.html => extensions/cookie/test/test_app_cleardata_permissions.html
2013-01-07 18:37:01 +01:00
Fabrice Desré
926c765c53 Bug 826948 - preloaded external packaged app requires hard-to-determine package_path property [r=myk] 2013-01-07 09:10:32 -08:00
Margaret Leibovic
35ca3faf61 Bug 826589 - (Part 1) Pass manifest to activity picker instead of pre-translated title. r=ttaubert a=bb+ 2013-01-07 15:48:56 +01:00
Myk Melez
57d757b97b bug 826935 - ensure app.installState is defined in DOMApplicationRegistry.loadCurrentRegistry(); r=fabrice
---
 dom/apps/src/Webapps.jsm | 5 +++++
 1 file changed, 5 insertions(+)
2013-01-06 15:56:40 -08:00
Bobby Holley
aadfd2e0dc Bug 826146 - Add a pref-controlled install confirmation override for automation. r=sicking 2013-01-04 10:21:31 -08:00
Ehsan Akhgari
9ff55aff3b Backed out changeset 1024e72d4ef9 (bug 826146) because of test failures 2013-01-03 22:59:44 -05:00
Bobby Holley
dccc2cdfef Bug 826146 - Add a pref-controlled install confirmation override for automation. r=sicking 2013-01-03 18:27:43 -08:00
Alexandre Poirot
5cc5a6189c Bug 824949 - Add support for FALLBACK appcache entries for pre-installed 3rd party apps. r=vingtetun 2013-01-03 17:18:43 -05:00
Julien Wajsberg
697ad5f023 Bug 825237: Don't save etag if package doesn't pass error checks. r=sicking a=basecamp-blocker 2012-12-31 00:32:14 -08:00
Mark Banner
4518a37209 Bug 824695: Fix Etag handling when downloading app packages by making us bail if the app package is lacking an etag, rather than go into an inconsistent state. r=sicking a=basecamp-blocker 2012-12-31 00:29:31 -08:00
Etienne Segonzac
93d05c663e Bug 823150 - The ondownloadavailable callback is not triggered on all the instances of the app. r=vingtetun 2012-12-28 12:57:35 -05:00
Jason Duell
2968749a62 Bug 815523 - Remote the app: and jar: protocols. r=fabrice,mwu,jdm 2012-12-22 05:56:21 -08:00
Fabrice Desré
0b60cf2ff2 Bug 820630 - Allow preinstalled packaged apps to specify the etag of the update manifest and package file [r=ferjm] 2012-12-21 10:28:58 -08:00
Fabrice Desré
bb5a0b3318 Bug 818848 - We should keep a small space on storage during download/install [r=ferjm] 2012-12-21 10:28:55 -08:00
Fabrice Desré
b2a6150016 Bug 823040 - we should update the app's manifest during update (for hosted apps with appcache) [r=ferjm] 2012-12-20 12:08:58 -08:00