Commit Graph

2670 Commits

Author SHA1 Message Date
Andrew Swan
e8c3e2138f bug 1287125 Lock down mozAddonManager.install() r=rhelmer
MozReview-Commit-ID: 7wLqVme2Yzi

--HG--
extra : rebase_source : 870ddfc2a92599b3ce6f8ab1b850f8bde944575e
2016-07-15 11:40:45 -07:00
Chris Manchester
5d733ce029 Bug 1286016 - Re-organize browser.ini manifests to reflect support files needed by tests in toolkit/mozapps/extensions/test/browser/browser.ini r=erahm
MozReview-Commit-ID: Kfn3ApOTXOk

--HG--
extra : rebase_source : 6be4c04f05ec917e571fc6a4a41eec1f87c6a095
2016-07-20 11:47:22 -07:00
Mark Hammond
98d7b727d9 Bug 1286785 - treat a corrupt addons.json as though it was missing. r=rhelmer
MozReview-Commit-ID: 3CmGaQ2MxPg

--HG--
extra : rebase_source : 8549ab7557ebcd40909e733b59132baa34a5bf62
2016-07-18 09:55:00 +10:00
Carsten "Tomcat" Book
14a7e12166 Backed out changeset fbf164ef9e70 (bug 1287125) for perma failing in browser_webapi_install.js after merged 2016-07-18 09:06:42 +02:00
Andrew Swan
741c775523 bug 1287125 Lock down mozAddonManager.install() r=rhelmer
MozReview-Commit-ID: 7wLqVme2Yzi

--HG--
extra : rebase_source : 1eeee0567b7977e00c68467546cf77e5c4f3577c
2016-07-15 11:40:45 -07:00
Robert Helmer
25e5792baa Bug 1284564 - correct update behavior section of system add-on spec r=mkelly
MozReview-Commit-ID: JtncY5gvcN7

--HG--
extra : rebase_source : 1b31d2fc6ba095a2944e51901471baad5c2bcbb8
2016-07-05 09:59:22 -07:00
Benjamin Smedberg
be3857f963 Bug 1277905 - Remove in-product links to plugincheck. Also remove support for startup prompting about outdated plugins, since that's annoying to users. r=Gijs r=mconley
MozReview-Commit-ID: 69tMivPVxuW

--HG--
extra : rebase_source : bd4d2979beff0f460a20156b0f954e2f1a2a5e85
2016-07-01 11:01:07 -04:00
Luca Greco
114e6cb097 Bug 1285289 - Use the URL of the addon sourceBundle as the sourceURI of temporary addon. r=aswan
MozReview-Commit-ID: KKeIFOMN3yo

--HG--
extra : transplant_source : %5C%8D%AFG%B1%3E%3B%07%D0%1B.%96%83%CF%10%FF%5D%15%27%FC
2016-07-07 21:25:35 +02:00
Benjamin Smedberg
b8f122617a Bug 1285618 - Move support files to browser-common.ini so that running individual addon manager tests installs them properly. r=gps
MozReview-Commit-ID: FRslpRvJFK9

--HG--
extra : rebase_source : 95279fa5acf2ca3b0566d84f8adbf79868d1d5cb
2016-07-08 16:04:57 -04:00
Carsten "Tomcat" Book
1e5237c994 merge mozilla-inbound to mozilla-central a=merge 2016-07-07 11:41:27 +02:00
Robert Helmer
303a44d1f7 Bug 1283897 - flush JAR cache before loading temporary add-on, r=kmag
MozReview-Commit-ID: 2wBKzvP6a4g

--HG--
extra : rebase_source : 9937dc681215ac404881f899e56a090c06b781e1
2016-07-01 13:08:19 -07:00
Bill McCloskey
c952246316 Bug 1214824 - Forbid CPOW usage if add-on declares it is multiprocessCompatible (r=mrbkap) 2016-07-05 13:59:36 -07:00
Robert Helmer
c1ac013c11 Bug 1281077 - do not allow hidden add-ons to be user disabled. r=aswan
MozReview-Commit-ID: JUtKsYZLJTV

--HG--
extra : rebase_source : c2d0cd8cfbbafe22d81192bd1185bbd64c52c7c6
2016-06-29 17:14:41 -07:00
Nomis101
f1831ab523 Bug 1279731 - "Fix typos in AddonRepository.jsm and PluginProvider.jsm". r=rhelmer 2016-06-11 10:41:45 +02:00
Andy McKay
991102e916 bug 1282568 sign add-ons in browser_update tests r=aswan
MozReview-Commit-ID: 6kF005zOosv

--HG--
extra : source : 63c1aecb37ac17e88cc993c9b78f366f214fe130
extra : amend_source : f2f1a1eb6a10914a8d10df49d80cda313987b8b4
2016-06-27 14:52:57 -07:00
Andrew Swan
ba6d7750b6 Bug 1279034 Add Addon.setEnabled() for a.m.o r=rhelmer,smaug
MozReview-Commit-ID: 6mvHMWinkle

--HG--
extra : rebase_source : 6d6f564d50dbcea8850c3fd6117351c2efe2cb6c
2016-06-24 12:54:18 -07:00
Andrew Swan
97f5aada1f Bug 1277295 Remove obsolete reference to storage service r=gps,kmag
MozReview-Commit-ID: 27BEb2XGQkZ

--HG--
extra : rebase_source : 4abfe29abfb7b8e8b7a11fcbf68ce12f8419be40
2016-06-24 13:14:35 -07:00
Andrew Swan
6528b7ae63 Bug 1279046 Expose onOperationCancelled to a.m.o r=rhelmer
MozReview-Commit-ID: 2QTjGi8tnjT

--HG--
extra : rebase_source : c01c7649105a47e83339186bfc4d4a0b8b74a2dc
2016-06-24 10:16:50 -07:00
Robert Helmer
18bcdedb45 Bug 1281547 - add-on compatibility check should log underlying reason r=aswan
MozReview-Commit-ID: GzfIN4DNTt9

--HG--
extra : rebase_source : fd8915018009846d5991f2a46826ab42c9addd18
2016-06-22 10:36:40 -07:00
Andrew Swan
ad06bce348 Bug 1270359 Make MockRegistry a common test-only module r=kmag
MozReview-Commit-ID: DiLa3vfAh3R

--HG--
extra : rebase_source : 6e909f87b786affc3c476c85b758259321c31e41
2016-06-14 05:27:36 -07:00
Chris Pearce
ac07135594 Bug 1276132 - Rename media.gmp-*.forcevisible to media.gmp-*.visible, and set it when keysystems are enabled. r=spohl
Repurpose the media.gmp-*.forcevisible pref to control whether the
corresponding GMP is visible in the addons manager UI. The pref has to be true
for the GMP to be usable.

The pref is enabled and not hidden when the corresponding EME keysystem is
enabled in the mozconfig.

This means users can turn on EME without needing to recompile their build; they
just need to create a hidden pref. This will be useful for CDM developers, and
users on platforms where we've not enabled EME yet but users want to test it
(Linux).

We also need to change the GMPUtils.isPluginHidden() accessor so that plugins
are considered hidden if the "visible" pref is false OR we're on an unsupported
platform. This ensures that we must be on a supported OS and the visibility
pref is true before GMPs appear in the addon list.

A consequence of the isPluginHidden() change is that we also need to add a
"force-supported" pref to override the checks that refuse to load the GMPs on
various platform versions, so that the unit tests pass.

MozReview-Commit-ID: h6CwLDkvFW

--HG--
extra : rebase_source : d09b952cc12da6f46b404439781b62784e4f54b3
2016-05-31 10:59:44 +12:00
Phil Ringnalda
7270ed519a Back out 4 changesets (bug 1276132) for browser_gmpProvider.js failures
CLOSED TREE

Backed out changeset 511a2389ca48 (bug 1276132)
Backed out changeset 91b3cdd0640a (bug 1276132)
Backed out changeset 09b9972e36f9 (bug 1276132)
Backed out changeset 69052d4e3dbb (bug 1276132)
2016-06-08 20:36:22 -07:00
Wes Kocher
590b78cd79 Merge m-c to inbound, a=merge 2016-06-08 17:09:04 -07:00
Chris Pearce
42f36f9788 Bug 1276132 - Rename media.gmp-*.forcevisible to media.gmp-*.visible, and set it when keysystems are enabled. r=spohl
Repurpose the media.gmp-*.forcevisible pref to control whether the
corresponding GMP is visible in the addons manager UI. The pref has to be true
for the GMP to be usable.

The pref is enabled and not hidden when the corresponding EME keysystem is
enabled in the mozconfig.

This means users can turn on EME without needing to recompile their build; they
just need to create a hidden pref. This will be useful for CDM developers, and
users on platforms where we've not enabled EME yet but users want to test it
(Linux).

We also need to change the GMPUtils.isPluginHidden() accessor so that plugins
are considered hidden if the "visible" pref is false OR we're on an unsupported
platform. This ensures that we must be on a supported OS and the visibility
pref is true before GMPs appear in the addon list.

A consequence of the isPluginHidden() change is that we also need to add a
"force-supported" pref to override the checks that refuse to load the GMPs on
various platform versions, so that the unit tests pass.

MozReview-Commit-ID: h6CwLDkvFW

--HG--
extra : rebase_source : 2c077e577352e356aceeda000d873bad1439f242
2016-05-31 10:59:44 +12:00
Andrew Swan
899a59dbd6 Bug 1278530 Sanity check ids derived from signatures r=kmag
MozReview-Commit-ID: Afb7fSwlvVe

--HG--
extra : rebase_source : 759f359ac5b98c42f30626e2631c6dd604f0d22e
2016-06-08 14:38:35 -07:00
Kumar McMillan
b349539a68 Bug 1273229 - auto-generate IDs for temp installs from dir path. r=kmag
MozReview-Commit-ID: JFuEVUZs2Ci

--HG--
extra : transplant_source : W%7B%3D%11%90%19%BE1%3C%1Fp%0A%27%F9%C3G0%9C%0D%B8
2016-06-03 16:43:45 -05:00
Carsten "Tomcat" Book
6439e7004c merge mozilla-inbound to mozilla-central a=merge 2016-06-08 11:57:53 +02:00
Kris Maglione
c98153037d Bug 1276025: Stop using injectInDocShell to tag docShells with types. r=billm
MozReview-Commit-ID: 7h5PI2birY4

--HG--
extra : source : 99b213f494e1a9e20629e936681faedec16d22a3
extra : amend_source : d70ffaecbc11445a5bddeb52c9c940a866934347
2016-06-02 20:53:41 -07:00
Robert Helmer
c131308082 Bug 1231172 - provide API for add-ons to delay restartless updates r=aswan
MozReview-Commit-ID: 9nzqEdx4h3p

--HG--
extra : rebase_source : 131201c80532c44a12cd59ee9d7616f6c79cf33e
2016-06-07 15:57:14 -07:00
Robert Helmer
5355ae0ee7 Bug 1231172 - instanceID should be passed to add-ons present at startup too r=aswan
MozReview-Commit-ID: DB66gshqFhS

--HG--
extra : rebase_source : 581c02b8cafd830596305a554c8e86d271a6418f
2016-06-07 15:56:19 -07:00
Andrew Swan
f7bfa3bd44 Bug 1277695 Add sanity checks for addons with no id r=kmag
The patch for bug 1277965 (enable ADDON_SIGNING by default) fixes
the actual problem here but this patch adds a series of sanity
checks in the add-on manager and the test case, so any similar
problem in the future should be easier to troubleshoot.

MozReview-Commit-ID: JGQk9yCVFkQ

--HG--
extra : rebase_source : 114256f3ffc9d2c7a2d5fbcae4c46e7a86e11303
2016-06-07 16:23:17 -07:00
Andrew Swan
cac4af48b7 Bug 1273958 Fix suppression of search box for disco pane r=kmag,rhelmer
Hiding the header was causing some problems so instead restructure the
XUL to put the discovery pane in the top-level deck alongside a vbox
with the header and a deck with all the other panes that have the header.

MozReview-Commit-ID: 2PnW1F9aYgt

--HG--
extra : rebase_source : 758e8560c88801e65ae7e0d1152bd5b75e013b70
2016-05-20 16:42:48 -07:00
Carsten "Tomcat" Book
4aea0165dc merge mozilla-inbound to mozilla-central a=merge 2016-06-06 11:55:56 +02:00
Kris Maglione
f27623ec26 Bug 1269877: Fix timing issue in options browser resizing code. r=aswan
MozReview-Commit-ID: 9aV8QH7w8R8

--HG--
extra : rebase_source : 449ba79bbd5376541c0206af172bd9b67b16a229
extra : histedit_source : 3917ad5e12f2603733c8447e599633e77b7a3813
2016-06-02 19:06:42 -07:00
Robert Helmer
6cb8ad8742 Bug 1277898 - start documenting add-on manager code, starting with system add-on spec r=gps
MozReview-Commit-ID: 7lX5NBTahkv

--HG--
extra : rebase_source : a59323d17ff22cccfd2a6b1384b7b8a3aeccc8da
2016-06-03 09:53:46 -07:00
Andrew Swan
e5744b11cf Bug 1268077: expose AddonListener through mozAddonManager r=rhelmer,smaug
MozReview-Commit-ID: Klw4o0qIvCE

--HG--
extra : rebase_source : 4968810209d80e31e854417b30ac4129299bed4e
2016-05-27 15:43:05 -07:00
Andrew Swan
c6df55acec Bug 1268077: Fix up MockInstall AddonListener events r=rhelmer
MozReview-Commit-ID: JDStiM2GZIu

--HG--
extra : rebase_source : 99d960f223bc0ae24cfd062d5dec51e06a0e874a
2016-06-02 11:16:07 -07:00
Mike Conley
0c3578df60 Bug 1276738 - Tag a bunch of tests that exercise opening windows with openwindow. r=me
There are a series of tests strewn about the tree that seem to exercise window
opening in one form or another, so I thought I'd put them under a tag.

MozReview-Commit-ID: 74JwLUTzaMU

--HG--
extra : rebase_source : 87439bacd9643ab63d015f58f44af2f8a74675a0
extra : source : 9d903a6a12aa7182252ec3e220c89b569c14e11b
2016-04-29 14:29:03 -04:00
Carsten "Tomcat" Book
a91653581d Backed out changeset 9d903a6a12aa (bug 1276738) for test failures in test_blank_named_window.html on a CLOSED TREE
--HG--
extra : rebase_source : cd1218144d092a62764b014cffb6b0a92b5f9141
2016-06-02 08:13:16 +02:00
Mike Conley
0d5fa55d26 Bug 1276738 - Tag a bunch of tests that exercise opening windows with openwindow. r=me
There are a series of tests strewn about the tree that seem to exercise window
opening in one form or another, so I thought I'd put them under a tag.

MozReview-Commit-ID: 74JwLUTzaMU

--HG--
extra : rebase_source : 0c92084914ffe44a781f034b2416e17905656607
2016-04-29 14:29:03 -04:00
Rail Aliiev
e91fa2308e Bug 1276720 - Add esr to checkCompatibility list; r=Gijs
MozReview-Commit-ID: HmqBZ3OXfUY

--HG--
extra : rebase_source : 92cf907f7212f084ff5e32e24fd7bb4855860ec7
2016-05-30 14:56:21 -04:00
Milan Sreckovic
24c91178e0 Bug 1274152: All in downloadable blocklist only means All Windows. r=jrmuizel
MozReview-Commit-ID: E4OwfxKZLQk

--HG--
extra : rebase_source : 45c79cff7b3de46d1016a72680ae7f36b8dea37b
2016-05-27 13:04:38 -07:00
Tim Huang
8ec727cd19 Bug 1267910 - Part 2: Update all existing functions of add() and getCookiesFromHost() to make them origin attributes aware. r=jdm, r=mratcliffe
--HG--
extra : rebase_source : 288c9cab8340c5cc06861d4f2c7ee43ae4de608e
2016-05-25 11:54:21 +08:00
Mathieu Leplatre
695a9942a4 Bug 1266235 - Use blocklist prefix in preference names. r=MattN
MozReview-Commit-ID: 5aeoiSEMwYw

--HG--
extra : rebase_source : ff4e77c88de58923afe75be2046dcdb98e40ad2f
2016-05-19 12:51:13 +02:00
Mathieu Leplatre
fe3e7d0c4d Bug 1266235 - Rename KintoBlocklist to blocklist-clients. r=mgoodwin
MozReview-Commit-ID: Eus7sHqN6GW

--HG--
rename : services/common/KintoBlocklist.js => services/common/blocklist-clients.js
rename : services/common/tests/unit/test_kintoCertBlocklist.js => services/common/tests/unit/test_blocklist_certificates.js
rename : services/common/tests/unit/test_kintoAddonPluginBlocklist.js => services/common/tests/unit/test_blocklist_clients.js
extra : rebase_source : 4543b62309fd35139087090e1aa2445601d58eaf
2016-04-28 13:24:21 +02:00
Mathieu Leplatre
397e35b6c1 Bug 1266235 - Rename kinto-updater to blocklist-updater. r=mgoodwin
MozReview-Commit-ID: 8bDKbxbIus3

--HG--
rename : services/common/kinto-updater.js => services/common/blocklist-updater.js
rename : services/common/tests/unit/test_kinto_updater.js => services/common/tests/unit/test_blocklist_updater.js
extra : rebase_source : 4d03542a741cdd38bc048f54fea6a752e8114f40
2016-04-21 17:22:01 +02:00
Wes Kocher
2596f34110 Backed out 3 changesets (bug 1267910) for reports of it breaking session restore a=backout
Backed out changeset 5962f8e6d030 (bug 1267910)
Backed out changeset f8afc5cf9e0e (bug 1267910)
Backed out changeset cc202e0ac0dd (bug 1267910)
2016-05-20 21:15:17 -07:00
Tim Huang
ad550d017f Bug 1267910 - Part 2: Update all existing functions of add() and getCookiesFromHost() to make them origin attributes aware. r=jdm, r=mratcliffe
--HG--
extra : rebase_source : 3d8b306dfa83363c01c4db5d018c55fddf6d1595
2016-05-18 20:42:00 -04:00
Carsten "Tomcat" Book
50dfc69f35 merge mozilla-inbound to mozilla-central a=merge 2016-05-13 11:59:20 +02:00
L. David Baron
d097996b85 Bug 1111440 - Replace -moz- prefixed logical margin/padding/border properties with their standard versions. r=heycam
This patch was generated by the command:
  find . -name "*.css" -exec sed -i -f mozpropsub {} \;
in the root of a mozilla-central tree, with the file mozpropsub
containing the contents:
s/-moz-padding-end\>/padding-inline-end/g
s/-moz-padding-start\>/padding-inline-start/g
s/-moz-margin-end\>/margin-inline-end/g
s/-moz-margin-start\>/margin-inline-start/g
s/-moz-border-end\>/border-inline-end/g
s/-moz-border-end-color\>/border-inline-end-color/g
s/-moz-border-end-style\>/border-inline-end-style/g
s/-moz-border-end-width\>/border-inline-end-width/g
s/-moz-border-start\>/border-inline-start/g
s/-moz-border-start-color\>/border-inline-start-color/g
s/-moz-border-start-style\>/border-inline-start-style/g
s/-moz-border-start-width\>/border-inline-start-width/g

While I didn't manually review all the changes, I did review the list of
files, and manually reviewed the changes in the files that I thought
were more interesting.

Note that there are a few tests that should be fixed up as well, but
I'll do that in a later patch.

MozReview-Commit-ID: EiQTuuV0MNQ
2016-05-12 22:19:58 -07:00