Commit Graph

907 Commits

Author SHA1 Message Date
Antonio M. Amaya
b7663278dd Bug 1144689 - Allow setting manually a fetch time and modified time for cache entries. r=fabrice 2015-04-06 06:14:00 +02:00
Fabrice Desré
7f7b867e48 Bug 1150199 - Langpacks should not have to be privileged r=ferjm 2015-04-06 14:22:26 -07:00
Fabrice Desré
2348914a39 Bug 1150160 - Support import of apps as memory blobs. r=marco 2015-04-03 16:11:31 -07:00
Phil Ringnalda
ec54508366 Back out 557609749a57 (bug 1150160) for Windows bustage 2015-04-03 21:37:14 -07:00
Fabrice Desré
77861692d0 Bug 1150160 - Support import of apps as memory blobs. r=marco 2015-04-03 16:11:31 -07:00
Junior Hsu
de4f6c38bd Bug 1097468 - Part 2: Test for permission |homescreen-webapps-manage|. r=fabrice 2015-03-16 15:03:09 +08:00
Bill McCloskey
d3587c7c05 Bug 1150660 - Fix sendAsyncMessage() uses to not trigger warnings in dom/apps r=fabrice 2015-04-02 13:53:27 -07:00
Bevis Tseng
6fea81b98b Bug 1114935 - Part 6.5: Migration in OperatorApps.jsm. r=fabrice 2015-01-15 18:36:29 +08:00
Phil Ringnalda
d3a3f31ca8 Merge b-i to m-c, a=merge 2015-03-21 12:35:46 -07:00
Bill McCloskey
7c16d0b8dd Bug 1145394 - Remove exec bit on js files (r=fabrice,gavin) 2015-03-20 11:57:38 -07:00
Fabrice Desré
b5a022f401 Bug 1142758 - Use the getLocalizedValue language when falling back to manifest values r=ferjm 2015-03-19 10:06:32 -07:00
Ryan VanderMeulen
7702d8c72f 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
5e6e115584 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é
cd1feed755 Bug 1142758 - Use the getLocalizedValue language when falling back to manifest values r=ferjm 2015-03-19 10:06:32 -07:00
Ben Francis
07b435bfe3 Bug 1087469 - Add support for a start_url property in app manifests r=fabrice 2015-03-18 21:25:51 -07:00
Gregor Wagner
8824e5f4f3 Backout Bug 1114935 for causing bug 1144567. 2015-03-18 11:48:52 -07:00
Bevis Tseng
f3a6268917 Bug 1114935 - Part 6.5: Migration in OperatorApps.jsm. r=fabrice 2015-01-15 18:36:29 +08:00
Ryan VanderMeulen
347d41d8f5 Merge inbound to m-c. a=merge 2015-03-12 18:05:45 -04:00
Ted Clancy
4ddb03e24f Bug 1137498 - Prevent updates changing short_name. r=fabrice 2015-03-12 10:53:14 -04:00
Jonathan Griffin
8873726f67 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Junior Hsu
b219ff0c11 Bug 1061116 - Make the comparison query/hash insensitive for validity widget. r=fabrice 2014-11-18 19:28:41 +08:00
Fabrice Desré
43cf332b60 Bug 1118946 - API to provide localized properties r=ferjm,sicking 2015-03-05 22:43:57 -08:00
Anish
9b39f2745a Bug 958147 - Choose one of run-if or skip-if and get rid of the other.r=jmaher, mwargers 2015-03-03 08:46:37 -05:00
Mike Conley
9c2406f932 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.
2015-02-10 13:18:47 -05:00
Mike Conley
d41da12228 Bug 1077168 - Have Webapps.js pass up the outerWindowID of the top window with each message. r=felipe. 2015-02-11 12:03:12 -05:00
Staś Małolepszy
ddaafa2ca6 Bug 1133725 - Rename Langpack's version property to revision. r=fabrice, r=sicking 2015-02-18 10:39:20 +01:00
Anish
d6962a9b5b Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher,mwargers 2015-02-19 11:53:01 -05:00
Carsten "Tomcat" Book
24df8222d0 Backed out changeset 6885e993936a (bug 1056851) for crashtest failures 2015-02-19 15:02:05 +01:00
Anish
e982da177f Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher 2015-02-19 07:26:41 -05:00
Siddartha Pothapragada
5ac5773ca4 Bug 879861 - Part 1a: Add new permission 'secureelement-manage'. r=ehsan 2015-02-11 03:35:00 -05:00
Ryan VanderMeulen
256333e4b8 Merge inbound to m-c. a=merge
CLOSED TREE
2015-02-10 16:03:15 -05:00
Ted Clancy
8141cc96f9 Bug 1000305 - Part 2 - imported patch bug-1000305-fix-part2. r=mcmanus 2015-02-09 08:39:07 -05:00
Fabrice Desré
db20238eee Bug 1130900 - langpacks making testing noisy r=ferjm 2015-02-10 00:46:07 -08:00
Chris Peterson
6c6aceb1db Bug 1129325 - Remove nonstandard let blocks from dom. r=mrbkap 2015-01-24 23:38:46 -08:00
Ted Clancy
3852ba3695 Bug 1000305 - Part 1 - Add a getIcon() method. r=fabrice r=ehsan 2014-12-18 17:40:41 -05:00
Chris Peterson
9186f895f2 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
97c8cf1d3c Bug 1087728: Make JS callers of ios.newChannel call ios.newChannel2 in dom/apps (r=fabrice) 2015-02-05 12:53:56 -08:00
Markus Nilsson
409fb23d1b Bug 1084505 - Fix explicit permission lookup for trusted hosted apps r=fabrice 2015-01-31 11:10:50 -08:00
Fabrice Desré
b69af112bf Bug 1128065 - Add missing requestsync-manager permission to the permission table. r=me 2015-01-30 15:27:09 -08:00
Fabrice Desré
afc8528918 Bug 1126047 - Imported apps that specify an origin are not correctly installed r=marco 2015-01-28 17:24:38 -08:00
KuoE0
a7c247dee4 Bug 1123622 - add trusted attribute to complete the permission table of tv. r=fabrice 2015-01-22 22:25:00 +01:00
Jan Varga
5a3f83f395 Bug 1123637 - Remove all code relevant to quota prompts; r=bent,ehsan 2015-01-22 09:40:42 +01:00
Fabrice Desré
0e53b87ffa Bug 1113779 - UserCustomizations.jsm spams desktop mochitest test logs r=mccr8 2015-01-16 14:16:03 -08:00
Kyle Machulis
3736253d7b Bug 1107674 - Change settings:wallpaper.image permission from PROMPT to ALLOW for privileged apps; r=fabrice 2015-01-15 14:56:11 -08:00
Carsten "Tomcat" Book
37849e6fe9 Merge mozilla-central to mozilla-inbound 2015-01-13 15:29:02 +01:00
Fabrice Desré
dff16cb177 Bug 1108096 - Langpack support for b2g/gaia r=ferjm,sicking 2015-01-10 15:00:27 -08:00
Carsten "Tomcat" Book
130ce3d4f2 Backed out changeset df960e299bcd (bug 1108096) for m1 test failures 2015-01-12 09:02:13 +01:00
Fabrice Desré
c7af489b53 Bug 1108096 - Langpack support for b2g/gaia r=ferjm,sicking 2015-01-10 15:00:27 -08:00
Markus Nilsson
28148c018c Bug 1090820 - OTA update check never clears status. r=fabrice 2015-01-09 13:32:47 -08:00
Fernando Jimenez Moreno
cced55dfb5 Bug 1101029 - Overlay iframe on top of front-most app. r=roc, sicking 2015-01-09 09:55:18 +01:00