Commit Graph

366 Commits

Author SHA1 Message Date
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
Gregor Wagner
86c7e3b40a Bug 823397 - Installing a privileged app from marketplace dev - appStatus should be privileged, but ends up being web. r=fabrice 2012-12-20 10:52:33 -08:00
Fabrice Desré
8ccef7c9b4 Bug 821211 - Information presented to the user from the mini-manifest is not verified to exactly match the information in the manifest within the JAR file [r=ferjm] 2012-12-19 11:37:13 -08:00
Fernando Jiménez
59274e0501 Bug 819974 - [Apps] Allow to cancel hosted app download; r=fabrice 2012-12-18 22:43:13 +01:00
Antonio M. Amaya
67ebce3ce6 Bug 812289 - PermissionSettings doesn't enforce any restriction on permissions operations [r=sicking] 2012-12-15 02:32:30 +01:00
Fabrice Desré
013fb8db14 Bug 821925 - Update the appcache of non-removable hosted apps. [r=ferjm] 2012-12-17 11:11:05 -08:00
Ed Morley
7f6dad0ae0 Backout c56a4fcc3acc (bug 812289) for failures in test_permission_basics.html 2012-12-17 13:17:20 +00:00
Antonio M. Amaya
0840f3bbd4 Bug 812289 - PermissionSettings doesn't enforce any restriction on permissions operations (edit); r=sicking 2012-12-15 02:32:30 +01:00
Fabrice Desré
427848c3c5 Bug 820456 - Installing a big packaged app could kill the homescreen and make the phone unresponsive [r=ferjm] 2012-12-14 11:29:25 -08:00
Ed Morley
2070770784 Merge mozilla-inbound to mozilla-central on a CLOSED TREE 2012-12-14 15:28:22 +00:00
Brian Smith
84a41131c1 Bug 772365, Part 4: Check JAR signature during packaged app installation, r=anygregor
--HG--
extra : rebase_source : 022a85cdb5b14ff03e65b2e16f2b723da8981e40
extra : amend_source : 2140858e32614316cde30e473a6957c09aad3058
2012-12-13 20:35:58 -08:00
Fabrice Desré
880a9e50e0 Bug 820160 - b2g desktop builds sometimes show black screen [r=gwagner] 2012-12-11 13:45:37 -08:00
Fernando Jiménez
c2c94e0ab3 Bug 820366 - UNSUFFICIENT_STORAGE error is not triggered correctly at restart; r=fabrice 2012-12-11 21:58:38 +01:00
Gene Lian
ef07f2b80f Bug 819136 - Check application types when granting audio-* permissions (part 2). r=sicking, a=blocking-basecamp 2012-12-11 16:09:40 +08:00
Fabrice Desré
24badda529 Bug 796198 - Use the right cookie jar when downloading package and minimanifest for packaged apps - Part 2 : use cookie jars [r=sicking] 2012-12-10 15:49:02 -08:00
Fabrice Desré
eef1bc7e77 Bug 796198 - Use the right cookie jar when downloading package and minimanifest for packaged apps - Part 1: move the xhr to Webapps.jsm [r=sicking] 2012-12-10 15:48:59 -08:00
Ehsan Akhgari
0007546a40 Backed out changeset 8a2d8c34d905 (bug 796198) because of mochitest-chrome failures 2012-12-10 20:56:28 -05:00
Ehsan Akhgari
db122057e9 Backed out changeset 9f29dda59ef7 (bug 796198) 2012-12-10 20:56:06 -05:00
Gregor Wagner
a4c443cec4 Bug 819218 - Permissions Installer - Fix desktop-notification permission. r=sicking 2012-12-10 17:17:51 -08:00