Commit Graph

928 Commits

Author SHA1 Message Date
Motohiro Takayama
2af7e21684 Bug 1167503 - Remove |popPermissions| from test case. r=fabrice 2015-06-01 22:21:00 +02:00
Junior Hsu
6eadf8b63d Bug 1167603 - use string to replace nsIURI in aApps.widgetPages. r=fabrice 2015-05-27 00:59:00 +02:00
Nick Desaulniers
f3fc2d8bc9 Bug 1152597 - Icons are shown for some apps. r=marco 2015-05-19 11:43:39 -07:00
Ryan VanderMeulen
68db6db2d8 Merge m-c to inbound. a=merge
CLOSED TREE
2015-05-22 14:18:25 -04:00
Cervantes Yu
a5bfba878f Backout change 39e167bbd14c, a80140872ea5, adae9be2294d and b71ccef9c674 (bug 970307). 2015-05-19 14:31:25 +08:00
Fabrice Desré
10cf613c05 Bug 1162791 - Add-ons should be enabled by default when installed r=ferjm 2015-05-20 23:06:03 -07:00
Fabrice Desré
9b2bb554be Bug 1150106 - Async loadSubscript - Part 1, add async to loadSubscriptWithOptions r=bholley,mcrr8 2015-05-20 22:14:49 -07:00
Christoph Kerschbaumer
459f85fe51 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
e8ffc95969 Bug 1167053 - Convert NetUtil.newChannel2 callsites to use new API - update asyncFetch2 (r=sicking,paolo) 2015-05-21 19:51:40 -07:00
Carsten "Tomcat" Book
f5f5b9ee8f Backed out changeset 4d2839eea957 (bug 970307) 2015-05-19 11:44:27 +02:00
Cervantes Yu
3898d7c9f0 Backout change 39e167bbd14c, a80140872ea5, adae9be2294d and b71ccef9c674 (bug 970307). 2015-05-19 14:31:25 +08:00
Andrea Marchesini
6ce7c91736 Bug 1163388 - patch 2 - get rid of nsIDOMFile, r=ehsan 2015-05-18 14:52:26 +01:00
Andrew McCreight
aeff7c99ee Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Andrew McCreight
10aa3c7467 Bug 1152551, part 1 - Remove leading tabs in dom/. r=baku
Also, remove trailing whitespace in nsXMLContentSink.cpp
2015-05-03 15:32:33 -04:00
Antonio M. Amaya
e2b44557a1 Bug 1155245 - Set the app status correctly for hosted certified apps in developer mode. r=fabrice 2015-04-23 06:33:00 -04:00
Fabrice Desré
88354716d2 Bug 1154864 - Fix getScopeByLocalId use in PushService.jsm r=nsm 2015-04-16 18:15:18 -07:00
Ms2ger
82c2faeae3 Bug 949614 - Use === for SimpleTest.is; r=Waldo
This is more likely to be correct, and a necessary step in case we ever want
to move to Object.is.

This keeps ise as an alias for is, and introduces is_loosely for the old
behaviour.
2015-04-14 15:28:13 +02:00
Bill McCloskey
010114fc40 Bug 1152114 - Ignore webapps with localId 0 (r=fabrice) 2015-04-13 18:11:49 -07:00
Fabrice Desré
fb17960d4e Bug 1111961 - Developer mode support r=ferjm,pauljt 2015-04-13 09:49:50 -07:00
Rex Hung
3cdad42232 Bug 1115619 - Use a preference to guarantee app permission loading to permissions.sqlite. r=fabrice 2015-04-02 14:21:52 +08:00
James Cheng
a1db2ad471 Bug 1026350 - Part 1: Inputport API implementation. r=baku 2015-04-08 03:07:00 -04:00
Antonio M. Amaya
ffd9c6817a 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é
307a5e670b Bug 1150199 - Langpacks should not have to be privileged r=ferjm 2015-04-06 14:22:26 -07:00
Fabrice Desré
9170db1c9b Bug 1150160 - Support import of apps as memory blobs. r=marco 2015-04-03 16:11:31 -07:00
Phil Ringnalda
897e1f1ec7 Back out 557609749a57 (bug 1150160) for Windows bustage 2015-04-03 21:37:14 -07:00
Fabrice Desré
a4ec215f73 Bug 1150160 - Support import of apps as memory blobs. r=marco 2015-04-03 16:11:31 -07:00
Junior Hsu
52344afc49 Bug 1097468 - Part 2: Test for permission |homescreen-webapps-manage|. r=fabrice 2015-03-16 15:03:09 +08:00
Bill McCloskey
ed096863ce Bug 1150660 - Fix sendAsyncMessage() uses to not trigger warnings in dom/apps r=fabrice 2015-04-02 13:53:27 -07:00
Bevis Tseng
048d9738ca Bug 1114935 - Part 6.5: Migration in OperatorApps.jsm. r=fabrice 2015-01-15 18:36:29 +08:00
Phil Ringnalda
ef13837525 Merge b-i to m-c, a=merge 2015-03-21 12:35:46 -07:00
Bill McCloskey
8fb0643e63 Bug 1145394 - Remove exec bit on js files (r=fabrice,gavin) 2015-03-20 11:57:38 -07:00
Fabrice Desré
f7f44db9b8 Bug 1142758 - Use the getLocalizedValue language when falling back to manifest values r=ferjm 2015-03-19 10:06:32 -07:00
Ryan VanderMeulen
519b14d37a 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
48e51b8ede 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é
e0e241e7b2 Bug 1142758 - Use the getLocalizedValue language when falling back to manifest values r=ferjm 2015-03-19 10:06:32 -07:00
Ben Francis
fc2562a107 Bug 1087469 - Add support for a start_url property in app manifests r=fabrice 2015-03-18 21:25:51 -07:00
Gregor Wagner
f8527dd881 Backout Bug 1114935 for causing bug 1144567. 2015-03-18 11:48:52 -07:00
Bevis Tseng
0c177850d7 Bug 1114935 - Part 6.5: Migration in OperatorApps.jsm. r=fabrice 2015-01-15 18:36:29 +08:00
Ryan VanderMeulen
fd511a4b5b Merge inbound to m-c. a=merge 2015-03-12 18:05:45 -04:00
Ted Clancy
9ef96c1da9 Bug 1137498 - Prevent updates changing short_name. r=fabrice 2015-03-12 10:53:14 -04:00
Jonathan Griffin
84011a87cc Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Junior Hsu
211ae977d0 Bug 1061116 - Make the comparison query/hash insensitive for validity widget. r=fabrice 2014-11-18 19:28:41 +08:00
Fabrice Desré
cc74d2cd41 Bug 1118946 - API to provide localized properties r=ferjm,sicking 2015-03-05 22:43:57 -08:00
Anish
b9d3be97ea 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
3e118befc1 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
3a981f348e 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
6e48160179 Bug 1133725 - Rename Langpack's version property to revision. r=fabrice, r=sicking 2015-02-18 10:39:20 +01:00
Anish
48094b2951 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
b6ef20bdf0 Backed out changeset 6885e993936a (bug 1056851) for crashtest failures 2015-02-19 15:02:05 +01:00
Anish
bbc6a8a249 Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher 2015-02-19 07:26:41 -05:00