Commit Graph

1009 Commits

Author SHA1 Message Date
Francisco Jordano
222b9cee51 Bug 1188797 - Create a new permission to allow opening hidden popups in B2G. r=fabrice 2015-08-04 14:13:53 +02:00
Sean Lin
1da14adfbd Bug 1069230 - Presentation API implementation. Part 1 - WebIDL Bindings. r=smaug 2015-03-19 15:48:28 +08: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
Junior Hsu
5f5fb8b360 Bug 1043110 - Part 3: test case for widget navigation issue, and a little refactor. r=fabrice
Refactor detail
1. s/'/"/
2. change the script in |loadFrameScript| to let it have syntax highlight
3. Remove irrelative datastore things

--HG--
extra : rebase_source : 40fbcc96a9d3fc304a7e13298195e29546900fb9
2015-04-13 15:06:23 +08:00
Alastor Wu
a5596f5a1e Bug 1142933 - New audio channel type for system usages. r=baku
--HG--
extra : histedit_source : e60291f5b488d9e004698a6336456c80200751ab
2015-03-16 12:01:50 +08:00
Carsten "Tomcat" Book
6a7e108e0a Backed out changeset 35c6e7e9c205 (bug 1135261) for test failures in gij in bookmark_edit_test.js on a CLOSED TREE 2015-07-22 08:13:08 +02:00
Myk Melez
9d936dfa4a Bug 1135261 - return new window from window.open in desktop runtime; r=marco,smaug,junior,wesj 2015-07-21 19:15:38 -07:00
Paul Rouget
dfe7fcd341 Bug 1174733 - Browser API: iframe.executeScript. r=kanru, r=bholley 2015-07-16 03:56:00 -04:00
Michael Layzell
017f50b6d7 Bug 1172080 - Part 2: Use ^ instead of ! to delimit originAttributes from the URI in nsIPrincipal.origin, r=bholley 2015-07-16 14:50:07 -04: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
Wes Kocher
ff2f0d32cf Backed out 24 changesets (bug 1173523, bug 1172080, bug 817007, bug 1165263) for android reftest bustage CLOSED TREE
Backed out changeset 84fe04b2e7d1 (bug 1172080)
Backed out changeset 0ff004760a1f (bug 1172080)
Backed out changeset af147585ad55 (bug 1165263)
Backed out changeset c3af8ebb6db0 (bug 1165263)
Backed out changeset cd3f33a888fe (bug 1165263)
Backed out changeset e5db39044a1e (bug 1165263)
Backed out changeset c01c9ed77061 (bug 1165263)
Backed out changeset fb723aaa4267 (bug 1165263)
Backed out changeset f754e52e74dc (bug 1165263)
Backed out changeset c6bda3a0afd6 (bug 817007)
Backed out changeset bfa100253349 (bug 817007)
Backed out changeset b787b3f9aadc (bug 1173523)
Backed out changeset 4a0676b73f77 (bug 1173523)
Backed out changeset 82034a4560c5 (bug 1173523)
Backed out changeset 4bdb91114c7a (bug 1173523)
Backed out changeset 72406261eccc (bug 1173523)
Backed out changeset 541b6faf7196 (bug 1173523)
Backed out changeset 1caac4569616 (bug 1173523)
Backed out changeset 0d4f9f9e1b4e (bug 1173523)
Backed out changeset 2d5661eb966c (bug 1173523)
Backed out changeset 89833c0bb0cd (bug 1173523)
Backed out changeset ea64d70eacfe (bug 1173523)
Backed out changeset a8e4f1c0c445 (bug 1173523)
Backed out changeset cf498d466b85 (bug 1173523)
2015-07-14 14:00:32 -07:00
Michael Layzell
52f1ea5402 Bug 1172080 - Part 2: Use ^ instead of ! to delimit originAttributes from the URI in nsIPrincipal.origin, r=bholley 2015-07-14 15:06:42 -04:00
James Cheng
64cbe25e51 Bug 1037329 - Part 1: Implement SystemUpdate API. r=baku 2015-07-12 22:06:00 -04:00
Geoff Brown
52d4e225a0 Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Fabrice Desré
f6b50310fc Bug 1178606 - [Hackerplace] "Error exporting app" when uploading addon r=ferjm 2015-07-08 08:01:51 -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
Carmen Jimenez Cabezas
e64fa23f32 Bug 1175154 - Unit tests for IAC on 3.0. r=ferjm 2015-07-05 09:54:00 -04:00
Carmen Jimenez
79aa5bcaae Bug 1169344 - Allow server apps to restrict access to their IAC ports. r=ferjm 2015-07-01 04:43:00 -04:00
Carmen Jimenez
40689d1f3d Bug 1173666 - Expose the URL of the page that calls mozApps.connect to the app exposing the port. r=ferjm, r=baku 2015-07-05 08:45:00 -04: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
William Chen
e2a8b6bfa3 Bug 1178513 - Add <extapp> element and interfaces to be used by ACL. r=khuey
--HG--
extra : rebase_source : 988379e48f84c04bcac181a6fc4c71325e3f0b02
2015-06-30 11:27:57 -07:00
Yoshi Huang
94fb90e9cf Bug 1168300 - notify clear-cookiejar-data. r=sicking 2015-05-27 16:10:42 +08:00
Fernando Jimenez
d192d7e4a3 Bug 1174110 - The service worker still remains registered when uninstalling the service-worker-enabled application. r=fabrice 2015-06-17 11:50:24 +02: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
Fabrice Desré
0c44af0c9e Bug 1170836 - Importing certified themes in dev mode doesn't work r=ferjm a=ryanvm 2015-06-09 11:22:07 -07:00
Fernando Jimenez
b0b4524945 Bug 1168783 - Expose principal in mozIApplication. r=fabrice 2015-06-08 14:02:09 +02:00
Motohiro Takayama
afbd5b35e3 Bug 1167503 - Remove |popPermissions| from test case. r=fabrice
--HG--
extra : rebase_source : 72b64ea08b68af746a32e160dc44876c7d7ddd52
2015-06-01 22:21:00 +02: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
Nick Desaulniers
d2b470167d Bug 1152597 - Icons are shown for some apps. r=marco 2015-05-19 11:43:39 -07:00
Ryan VanderMeulen
d29552d114 Merge m-c to inbound. a=merge
CLOSED TREE

--HG--
rename : browser/devtools/performance/test/browser_perf-aaa-run-first-leaktest.js => browser/devtools/performance/test/browser_aaa-run-first-leaktest.js
extra : rebase_source : bf83892460e8f9a98a8e08220593f9815cfecffb
2015-05-22 14:18:25 -04:00
Cervantes Yu
55152ad9d9 Backout change 39e167bbd14c, a80140872ea5, adae9be2294d and b71ccef9c674 (bug 970307). 2015-05-19 14:31:25 +08:00
Fabrice Desré
4eee1d8be4 Bug 1162791 - Add-ons should be enabled by default when installed r=ferjm 2015-05-20 23:06:03 -07:00
Fabrice Desré
33e745b3d3 Bug 1150106 - Async loadSubscript - Part 1, add async to loadSubscriptWithOptions r=bholley,mcrr8 2015-05-20 22:14:49 -07: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
Carsten "Tomcat" Book
005c5ce415 Backed out changeset 4d2839eea957 (bug 970307) 2015-05-19 11:44:27 +02:00
Cervantes Yu
a12ce249b1 Backout change 39e167bbd14c, a80140872ea5, adae9be2294d and b71ccef9c674 (bug 970307).
--HG--
extra : rebase_source : 829e80228e07440285383316d2c4fea017828529
2015-05-19 14:31:25 +08:00
Andrea Marchesini
3aa189b5ff Bug 1163388 - patch 2 - get rid of nsIDOMFile, r=ehsan
--HG--
rename : dom/base/nsIDOMFile.idl => dom/base/nsIDOMBlob.idl
2015-05-18 14:52:26 +01:00
Andrew McCreight
9e8f4b219e Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Andrew McCreight
da5ed6f5cd 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
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é
0c39156de8 Bug 1154864 - Fix getScopeByLocalId use in PushService.jsm r=nsm 2015-04-16 18:15:18 -07:00
Ms2ger
f1fc41b0e5 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
a94613d29b Bug 1152114 - Ignore webapps with localId 0 (r=fabrice) 2015-04-13 18:11:49 -07: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
James Cheng
d7b40ea760 Bug 1026350 - Part 1: Inputport API implementation. r=baku 2015-04-08 03:07:00 -04:00
Antonio M. Amaya
7b8d83c748 Bug 1144689 - Allow setting manually a fetch time and modified time for cache entries. r=fabrice
--HG--
extra : rebase_source : 022e7f4a0273a540bcafa5848bc28a9498f6e80b
2015-04-06 06:14:00 +02:00
Fabrice Desré
d100562c21 Bug 1150199 - Langpacks should not have to be privileged r=ferjm 2015-04-06 14:22:26 -07:00
Fabrice Desré
2ecc956f0f Bug 1150160 - Support import of apps as memory blobs. r=marco 2015-04-03 16:11:31 -07:00
Phil Ringnalda
842dda2a22 Back out 557609749a57 (bug 1150160) for Windows bustage 2015-04-03 21:37:14 -07:00
Fabrice Desré
abe18e1309 Bug 1150160 - Support import of apps as memory blobs. r=marco 2015-04-03 16:11:31 -07:00
Junior Hsu
31a87b0dc5 Bug 1097468 - Part 2: Test for permission |homescreen-webapps-manage|. r=fabrice
--HG--
extra : rebase_source : 23d6e91d421e20823427a3b391cb50a59caf0a59
2015-03-16 15:03:09 +08: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
Bevis Tseng
90b1f53ab1 Bug 1114935 - Part 6.5: Migration in OperatorApps.jsm. r=fabrice
--HG--
extra : histedit_source : af9fd222ff684a06952f5f4ba896694cbb8006fe
2015-01-15 18:36:29 +08: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
Ben Francis
77ff8e4486 Bug 1087469 - Add support for a start_url property in app manifests r=fabrice 2015-03-18 21:25:51 -07:00
Gregor Wagner
fa698fe8a9 Backout Bug 1114935 for causing bug 1144567. 2015-03-18 11:48:52 -07:00
Bevis Tseng
c679fa9bab Bug 1114935 - Part 6.5: Migration in OperatorApps.jsm. r=fabrice
--HG--
extra : rebase_source : bf497fe361cd3d1e4d95245206c69b32198e16b9
extra : histedit_source : aa1ec9e77bbfbb7e942a89304f0212b815ba4e25
2015-01-15 18:36:29 +08:00
Ryan VanderMeulen
ee67ad0d8d Merge inbound to m-c. a=merge 2015-03-12 18:05:45 -04:00
Ted Clancy
5915828861 Bug 1137498 - Prevent updates changing short_name. r=fabrice 2015-03-12 10:53:14 -04:00
Jonathan Griffin
d1c61bc9b6 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08: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
Anish
4063a569ed 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
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
Mike Conley
a80a4c4077 Bug 1077168 - Have Webapps.js pass up the outerWindowID of the top window with each message. r=felipe.
--HG--
extra : rebase_source : 814d149f2c8e59c00d6f623895fabbc2430a6954
2015-02-11 12:03:12 -05:00
Staś Małolepszy
8d44eacbd6 Bug 1133725 - Rename Langpack's version property to revision. r=fabrice, r=sicking 2015-02-18 10:39:20 +01:00
Anish
45de248a8b 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
c0d53e2918 Backed out changeset 6885e993936a (bug 1056851) for crashtest failures 2015-02-19 15:02:05 +01:00
Anish
e7006d8a59 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
b283080cb6 Bug 879861 - Part 1a: Add new permission 'secureelement-manage'. r=ehsan 2015-02-11 03:35:00 -05:00
Ryan VanderMeulen
74f80ff51c Merge inbound to m-c. a=merge
CLOSED TREE
2015-02-10 16:03:15 -05:00
Ted Clancy
bee6f6bd32 Bug 1000305 - Part 2 - imported patch bug-1000305-fix-part2. r=mcmanus
--HG--
extra : rebase_source : 980af8e81cc0358a04073d3cc98d90c3a98c5228
2015-02-09 08:39:07 -05:00
Fabrice Desré
65dc93617f Bug 1130900 - langpacks making testing noisy r=ferjm 2015-02-10 00:46:07 -08:00
Chris Peterson
009c1a2bcb Bug 1129325 - Remove nonstandard let blocks from dom. r=mrbkap 2015-01-24 23:38:46 -08: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
Markus Nilsson
dfb7fb4437 Bug 1084505 - Fix explicit permission lookup for trusted hosted apps r=fabrice 2015-01-31 11:10:50 -08:00
Fabrice Desré
2d57baeb48 Bug 1128065 - Add missing requestsync-manager permission to the permission table. r=me 2015-01-30 15:27:09 -08:00
Fabrice Desré
b6a8e00e73 Bug 1126047 - Imported apps that specify an origin are not correctly installed r=marco 2015-01-28 17:24:38 -08:00
KuoE0
349e8f5dde Bug 1123622 - add trusted attribute to complete the permission table of tv. r=fabrice 2015-01-22 22:25:00 +01:00
Jan Varga
f514a5ed5b Bug 1123637 - Remove all code relevant to quota prompts; r=bent,ehsan 2015-01-22 09:40:42 +01:00
Fabrice Desré
ff4dd4c94a Bug 1113779 - UserCustomizations.jsm spams desktop mochitest test logs r=mccr8 2015-01-16 14:16:03 -08:00
Kyle Machulis
4202f2bf99 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
09a9226f53 Merge mozilla-central to mozilla-inbound 2015-01-13 15:29:02 +01: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