Граф коммитов

123 Коммитов

Автор SHA1 Сообщение Дата
Fabrice Desré 4bccca4c8b Bug 1190995 - backout 0450f02a2b3b for M1 failures 2015-08-14 17:57:34 -07:00
Fabrice Desré 5d3a70a764 Bug 1191619 - Backed out changeset 2a5669be7ee3 for M1 failures 2015-08-14 17:54:59 -07:00
Fabrice Desré 1b3883dc86 Bug 1191619 - Support extensions with no packaged manifest.webapp r=ferjm 2015-08-14 16:55:14 -07:00
Fabrice Desré dc4738feca Bug 1190995 - Support the new extension model in b2g r=billm 2015-08-14 16:55:09 -07:00
Fabrice Desré a3cecb5ae0 Bug 1191579 - Remove useless getAll() implementation in Webapps.jsm 2015-08-06 07:43:59 -07:00
Ryan VanderMeulen 23397eecde Backed out changeset 58f71d9d0de7 (bug 1191579) for various webapp/webide test failures across different suites. 2015-08-06 12:25:54 -04:00
Fabrice Desré 2e9751583b Bug 1191579 - Remove useless getAll() implementation in Webapps.jsm 2015-08-06 07:43:59 -07:00
Fabrice Desré 6562c0ee10 Bug 1181930 - Refactoring: move the message broadcaster out of Webapps.jsm r=ferjm 2015-08-05 20:30:55 -07:00
Bobby Holley 23aa464074 Bug 1182347 - Migrate existing code away from .cookieJar. r=sicking,r=allstars.chh 2015-07-14 19:56:33 -07:00
Fernando Jimenez ba4d31cead Bug 1176712 - Cannot have two activities with same name and different filters. r=fabrice 2015-07-02 07:56:14 +02:00
Wes Kocher d3e671fb87 Backed out 2 changesets (bug 1176712) for gip f5 permafail CLOSED TREE
Backed out changeset 52fd1c8b0fcb (bug 1176712)
Backed out changeset 6baeaddb32cc (bug 1176712)

--HG--
extra : amend_source : eef1548405404b8646214c0d10a63ebee0b39f58
2015-07-02 09:21:23 -07:00
Fernando Jimenez b58c6bea88 Bug 1176712 - Cannot have two activities with same name and different filters. r=fabrice 2015-07-02 07:56:14 +02:00
Yoshi Huang 94fb90e9cf Bug 1168300 - notify clear-cookiejar-data. r=sicking 2015-05-27 16:10:42 +08:00
Eugen Sawin fce9fdde80 Bug 1171013 - Extend defineLazyModuleGetter to support user-defined proxy objects. r=mfinkle 2015-06-15 19:16:00 +02:00
Carsten "Tomcat" Book d94b17a5a2 Backed out changeset 55698478f5ba (bug 1168300) for mochitest-1 testfailures in test_bug_795164.html
--HG--
extra : rebase_source : 83f8feda825d911220e593b1d8eb4d01f4cf20d0
2015-06-11 15:05:24 +02:00
Yoshi Huang 71b168bf76 Bug 1168300 - notify clear-cookiejar-data. r=sicking 2015-05-27 16:10:42 +08:00
Junior Hsu cd5369751f Bug 1167603 - use string to replace nsIURI in aApps.widgetPages. r=fabrice
--HG--
extra : rebase_source : 360a7a7bf40a3c5753342d333f90ee12d9d1bca2
2015-05-27 00:59:00 +02:00
Phil Ringnalda de00e3b6b4 Back out ffb94ee54752 (bug 1162281) for build and test bustage
CLOSED TREE
2015-05-24 13:59:43 -07:00
Fernando Jimenez 0757750631 Bug 1162281 - Invalid system message handler in an App Manifest can break the entire system. r=fabrice 2015-05-24 21:28:15 +02:00
Christoph Kerschbaumer 6b24d4a573 Bug 1167053 - Convert NetUtil.newChannel2 callsites to use new API - update newChannel2 (r=sicking,paolo) 2015-05-21 19:52:03 -07:00
Christoph Kerschbaumer 3a846e95d6 Bug 1167053 - Convert NetUtil.newChannel2 callsites to use new API - update asyncFetch2 (r=sicking,paolo) 2015-05-21 19:51:40 -07:00
Antonio M. Amaya c12b5220b7 Bug 1155245 - Set the app status correctly for hosted certified apps in developer mode. r=fabrice
--HG--
extra : rebase_source : fd925aa980e0677d0ec2a0a7c987285b168533c7
2015-04-23 06:33:00 -04:00
Fabrice Desré 8ca7e9e653 Bug 1111961 - Developer mode support r=ferjm,pauljt 2015-04-13 09:49:50 -07:00
Rex Hung 2143843975 Bug 1115619 - Use a preference to guarantee app permission loading to permissions.sqlite. r=fabrice 2015-04-02 14:21:52 +08:00
Fabrice Desré d100562c21 Bug 1150199 - Langpacks should not have to be privileged r=ferjm 2015-04-06 14:22:26 -07:00
Bill McCloskey 61ad988f3a Bug 1150660 - Fix sendAsyncMessage() uses to not trigger warnings in dom/apps r=fabrice 2015-04-02 13:53:27 -07:00
Phil Ringnalda 68e0914567 Merge b-i to m-c, a=merge 2015-03-21 12:35:46 -07:00
Bill McCloskey 2cbf53b22f Bug 1145394 - Remove exec bit on js files (r=fabrice,gavin) 2015-03-20 11:57:38 -07:00
Fabrice Desré ccfe46fbe6 Bug 1142758 - Use the getLocalizedValue language when falling back to manifest values r=ferjm 2015-03-19 10:06:32 -07:00
Ryan VanderMeulen 30a9149d8b Backed out changeset 0a53b2d44e77 (bug 1142758) for apps/verticalhome/test/marionette/grid_layout_test.js failures. 2015-03-19 16:33:19 -04:00
Kyle Machulis 8c752250b5 Bug 1001757 - Add ability to store core apps outside of profile on desktop b2g; r=fabrice 2015-03-19 11:07:07 -07:00
Fabrice Desré 1c219c3073 Bug 1142758 - Use the getLocalizedValue language when falling back to manifest values r=ferjm 2015-03-19 10:06:32 -07:00
Junior Hsu 2737f4fe92 Bug 1061116 - Make the comparison query/hash insensitive for validity widget. r=fabrice 2014-11-18 19:28:41 +08:00
Fabrice Desré df56e4d957 Bug 1118946 - API to provide localized properties r=ferjm,sicking 2015-03-05 22:43:57 -08:00
Mike Conley 448f596abf Bug 1077168 - Cancel in-flight Webapp install jobs from windows that change location. r=myk.
Installing a Webapp is an asynchronous job, and there is a pocket of time
between when web content requests to install an app and before the browser
displays an installation prompt that the outer window of the content can
browse away. This pocket of time is typically used by XHR to request the
web app resources and verify their contents.

This pocket of time is, essentially, bug 771294, and is a bit of a security
problem.

This problem was originally patched over on Desktop by checking in the parent
process that the outer window was still at the same URI as it had been when it
made the request. I'm not entirely sure if Android / B2G made similar checks.

With separated content processes, however, the browser front-end can no longer
performantly check to ensure that the outer window is at the same URI.

We solve this problem by sending up a message in the content process when
the location of an outer window making use of navigator.mozApps changes.
We hold a Map of "actions" mapping to in-flight installs mapped by the
outer window ID of the requesting content. When we notice a location
change, we mark those actions as cancelled. When the XHR returns, we have
it check the state of its actions, and if they're cancelled, it aborts
further action.

Normally, this wouldn't be necessary, since any XHR initiated by the
content window would be cancelled once the location changed, but in
this case, the XHR is occurring in Webapps.jsm, and is not influenced
by the outer window of the content.

--HG--
extra : rebase_source : 5f95002a21c96c5cbf3dca8ca265400448251b43
2015-02-10 13:18:47 -05:00
Ted Clancy 09e95882bb Bug 1000305 - Part 1 - Add a getIcon() method. r=fabrice r=ehsan
--HG--
extra : rebase_source : 59392a01a983bf1dbbdfad5c06d3e3e4a5facf8a
2014-12-18 17:40:41 -05:00
Chris Peterson fb9a27f3f9 Bug 1093721 - Avoid ReferenceError when trying to instantiate Components.classes['@mozilla.org/app-migrator;1']. r=qdot 2015-02-08 13:48:29 -08:00
Christoph Kerschbaumer 26cde7af39 Bug 1087728: Make JS callers of ios.newChannel call ios.newChannel2 in dom/apps (r=fabrice) 2015-02-05 12:53:56 -08:00
Fabrice Desré 2440b76622 Bug 1108096 - Langpack support for b2g/gaia r=ferjm,sicking 2015-01-10 15:00:27 -08:00
Carsten "Tomcat" Book 248d09bf46 Backed out changeset df960e299bcd (bug 1108096) for m1 test failures 2015-01-12 09:02:13 +01:00
Fabrice Desré 10b13ff557 Bug 1108096 - Langpack support for b2g/gaia r=ferjm,sicking 2015-01-10 15:00:27 -08:00
Markus Nilsson af1b4ca6e0 Bug 1090820 - OTA update check never clears status. r=fabrice 2015-01-09 13:32:47 -08:00
Sean Lin d8cb1c1960 Bug 1078115 - Make the transaction of app update atomic. r=fabrice 2014-12-18 18:13:31 +08:00
Antonio M. Amaya 5b33913d44 Bug 1110119 - At first boot time, check that the app being preinstalled doesn't already exist by manifestURL. r=fabrice 2014-12-11 08:00:00 -05:00
Fabrice Desré 130be9050a Bug 923897 - Extensibility support for b2g r=ferjm,bholley 2014-12-16 15:32:28 -08:00
Antonio M. Amaya 835a566bb7 Bug 1096971 - Update the minimanifest etag and hash correctly on resume. r=fabrice 2014-11-21 10:45:00 +01:00
Antonio M. Amaya f748c30af9 Bug 1096971 - Don't propagate an error when the package downloaded was the same we had. r=fabrice 2014-11-17 02:01:00 +01:00
Zoran Jovanovic 15395488a6 Bug 1066013 - Initialize appCache path r=fabrice 2014-11-12 11:36:36 -08:00
Antonio M. Amaya 4086676d8a Bug 1022791 - Keep previous values for PROMPT permissions on system updates. r=fabrice 2014-11-03 02:24:00 -05:00
Antonio M. Amaya acef08daa0 Bug 1092152 - Don't calculate the downloaded file hash if we didn't download it. r=fabrice 2014-10-31 10:36:00 -04:00
Markus Nilsson 62bb2772cc Bug 1084501 - Set proper permissions for pre-installed trusted apps. r=fabrice
When trusted hosted apps were installed from a preloaded
offline cache their permissions were not correctly set
due to information on 'kind' of application being missing
on pre-install.
---
 dom/apps/Webapps.jsm | 2 ++
 1 file changed, 2 insertions(+)
2014-11-03 11:08:06 -08:00
Ted Clancy e47c829183 Bug 1000313 - Adding homescreen-webapps-manage permission. r=sicking 2014-11-02 14:04:08 -05:00
Fabrice Desré ede3c227e9 Bug 1083454 - Aborting marionette tests is causing bootup failure r=gwagner 2014-10-27 17:40:13 -07:00
Fabrice Desré 3c4d11e817 Bug 1072090 - Add a way to enable and disable an app. r=myk,sicking 2014-10-23 16:40:08 -07:00
Wes Kocher 1864a13f49 Backed out changeset 556dc4f97e08 (bug 1072090) for m-oth orange 2014-10-23 18:21:11 -07:00
Fabrice Desré 7e4662b2bd Bug 1072090 - Add a way to enable and disable an app. r=myk,sicking 2014-10-23 16:40:08 -07:00
Fabrice Desré bac34b231b Bug 982874 - Import / export API for apps : Part 2: dom/webapps implementation r=marco,sicking 2014-10-14 22:55:14 -07:00
Zoran Jovanovic 3d1f9cf2fc Bug 1077529 - Update Trusted Hosted Apps r=fabrice
Verify manifest of trusted hosted app on update instead
of just overwriting it.
---
 dom/apps/TrustedHostedAppsUtils.jsm |  8 ++++----
 dom/apps/Webapps.jsm                | 26 +++++++++++++++++++++-----
 2 files changed, 25 insertions(+), 9 deletions(-)
2014-10-14 12:28:16 -07:00
Junior Hsu 50235aed2f Bug 1074086 - Save widgetPages in UpdateAppHandlers and remove redundant saving. r=fabrice 2014-10-07 18:23:00 +02:00
Alexandre Lissy fbfcc287e9 Bug 993011 - Update eisting Gaia apps fields. r=fabrice
When performing an update, whether OTA or FOTA, some already existing
Gaia apps field may have changed. This happened in the past with bug
989876 where we lacked a proper updateTime value, and this may bite us
later. So we update all field, except some that we now must not be
changing.
2014-10-01 08:37:00 +02:00
Fabrice Desré 38972332f5 Bug 1070932 - Updates error handling code can fail r=marco 2014-09-26 10:23:21 -07:00
Ryan VanderMeulen cde3e01598 Merge fx-team to m-c. a=merge 2014-09-24 15:58:32 -04:00
Kyle Machulis 64b49e97a2 Bug 1058180 - Only create app migrator when absolutely needed; r=fabrice 2014-09-23 13:22:54 -07:00
Kyle Machulis 1ca472946f Backing out 6d28e030fd7b (bug 1058180) due to causing crashes on desktop on a CLOSED TREE 2014-09-22 16:01:50 -07:00
Kyle Machulis 5a5d76a631 Bug 1058180 - Only create app migrator when absolutely needed; r=fabrice 2014-09-22 14:45:39 -07:00
Vlatko Markovic cb9c35ec9f Bug 1059216 - Verification of Trusted Hosted Apps manifest signature, part 2. r=sicking 2014-09-22 07:59:00 -07:00
Vlatko Markovic 8818f4947f Bug 1059216 - Verification of Trusted Hosted Apps manifest signature, part 1. r=dkeeler,rlb 2014-09-22 07:58:59 -07:00
Zoran Jovanovic 1c124be1f8 Bug 1059202 - CSP and CA verfication for Trusted Hosted Apps r=fabrice,sicking,rlb 2014-09-19 14:58:34 -07:00
Fabrice Desrï¿© c3c5629dc0 Bug 902165 - System JS : ERROR resource://gre/modules/BrowserElementParent.jsm:219 ReferenceError: DOMApplicationRegistry is not defined in green B2G mochitest-3 runs r=bent 2014-09-24 16:14:54 +10:00
Vlatko Markovic 892881d00d Bug 1059194 - Trusted Hosted Apps, part 2: CSP infrastructure changes. r=sicking 2014-09-16 13:14:02 -07:00
Vlatko Markovic 21eb50d0cc Bug 1059194 - Trusted Hosted Apps, part 1: App installation & Run. r=fabrice 2014-09-16 13:14:02 -07:00
Fabrice Desré 12c324bdd8 Bug 1056424 - Stuck at loading screen during power cut off test r=myk 2014-09-05 16:41:24 -07:00
Birunthan Mohanathas b09d89b288 Bug 1058101 - Flatten dom/apps/src/ into parent directory. r=mccr8
--HG--
rename : dom/apps/src/AppDownloadManager.jsm => dom/apps/AppDownloadManager.jsm
rename : dom/apps/src/AppsService.js => dom/apps/AppsService.js
rename : dom/apps/src/AppsService.manifest => dom/apps/AppsService.manifest
rename : dom/apps/src/AppsServiceChild.jsm => dom/apps/AppsServiceChild.jsm
rename : dom/apps/src/AppsUtils.jsm => dom/apps/AppsUtils.jsm
rename : dom/apps/src/FreeSpaceWatcher.jsm => dom/apps/FreeSpaceWatcher.jsm
rename : dom/apps/src/InterAppComm.cpp => dom/apps/InterAppComm.cpp
rename : dom/apps/src/InterAppComm.h => dom/apps/InterAppComm.h
rename : dom/apps/src/InterAppComm.manifest => dom/apps/InterAppComm.manifest
rename : dom/apps/src/InterAppCommService.js => dom/apps/InterAppCommService.js
rename : dom/apps/src/InterAppCommService.jsm => dom/apps/InterAppCommService.jsm
rename : dom/apps/src/InterAppConnection.js => dom/apps/InterAppConnection.js
rename : dom/apps/src/InterAppMessagePort.js => dom/apps/InterAppMessagePort.js
rename : dom/apps/src/OfflineCacheInstaller.jsm => dom/apps/OfflineCacheInstaller.jsm
rename : dom/apps/src/OperatorApps.jsm => dom/apps/OperatorApps.jsm
rename : dom/apps/src/PermissionsInstaller.jsm => dom/apps/PermissionsInstaller.jsm
rename : dom/apps/src/PermissionsTable.jsm => dom/apps/PermissionsTable.jsm
rename : dom/apps/src/ScriptPreloader.jsm => dom/apps/ScriptPreloader.jsm
rename : dom/apps/src/StoreTrustAnchor.jsm => dom/apps/StoreTrustAnchor.jsm
rename : dom/apps/src/Webapps.js => dom/apps/Webapps.js
rename : dom/apps/src/Webapps.jsm => dom/apps/Webapps.jsm
rename : dom/apps/src/Webapps.manifest => dom/apps/Webapps.manifest
2014-08-27 10:12:06 -07:00