Commit Graph

5822 Commits

Author SHA1 Message Date
Paolo Amadini
97ee8c48ba Bug 1253585 - Remove legacy downloads test code and re-enable test_unknownContentType_dialog_layout.xul. r=mak
MozReview-Commit-ID: 6JkiYPiEatY

--HG--
extra : rebase_source : e2c679b741ac0b9a826750cbe0b184b511080b1a
2016-03-04 14:33:32 +00:00
Alessio Placitelli
fd3d11e603 Bug 1252869 - Fix browser_experiments.js to work with e10s. r=gfritzsche 2016-03-07 17:21:58 +01:00
Myk Melez
db9a40ca42 Bug 1238079 - remove the desktop web runtime; r=fabrice,mossop,gps,jryans,jmaher,marco 2016-03-07 13:33:12 -08:00
Robert Helmer
5292ae8e3f Bug 1245376 - do not advertise updates for locked install locations r=mossop
MozReview-Commit-ID: EmCzFZpOGKR

--HG--
extra : rebase_source : f63003ec773775c145667bcaa98c45e907384263
2016-02-29 14:53:56 -08:00
Ryan VanderMeulen
72c385edb5 Bug 1198261 - Skip browser_navigateaway3.js on Windows and OSX for frequent failures.
--HG--
extra : histedit_source : e27fa149b16adbac9e4b006c050ebfa7b06467d8
2016-03-05 22:44:21 -05:00
Mark Finkle
50512ace13 Bug 1250967 - Extension inline options do not display, so add back setting.xml r=mossop 2016-03-03 13:11:35 -05:00
Gregory Szorc
bc708e89a8 Bug 1250991 - Move APK upload files code to own file; r=mshal
This is several hundred lines of make goo that makes upload-files.mk
even harder to read than it actually is. Extract it to its own file.

I performed a `hg cp` to preserve file history so blame continues to
work.

MozReview-Commit-ID: IpoPE79m9SX

--HG--
rename : toolkit/mozapps/installer/upload-files.mk => toolkit/mozapps/installer/upload-files-APK.mk
extra : rebase_source : 1c3ce7596a89994fd37b9230de9752c441751877
2016-03-02 16:30:03 -08:00
Gregory Szorc
c77a2b40f5 Bug 1250991 - Indent code; r=mshal
This file is so hard to read. Add some indentation to make it easier to
grok.

I also converted some useless tabs to spaces.

MozReview-Commit-ID: 7DFKeW66uD6

--HG--
extra : rebase_source : fb816ece4dba7a7971e8f00a4f651a1f8adcf633
2016-02-25 10:40:31 -08:00
Wes Kocher
356fd48c1d Merge m-c to fx-team, a=merge
MozReview-Commit-ID: LQ4NtghbPdw
2016-03-01 15:30:35 -08:00
Wes Kocher
d4bc23e4dd Merge inbound to m-c a=merge
MozReview-Commit-ID: B0yZpi7wa4I
2016-03-01 15:19:25 -08:00
Carsten "Tomcat" Book
30e5302af8 Merge mozilla-central to mozilla-inbound 2016-03-01 15:25:31 +01:00
Ms2ger
fcf4aedb48 Bug 1252092 - Stop copying MockFilePicker.jsm for xpcshell tests; r=ted
The test that used it (test_privatebrowsing_downloadLastDir.js) was rewritten
as a mochitest in bug 722995 (changeset 38183dea71ab).
2016-03-01 09:17:29 +01:00
Dave Townsend
62f9c9fce2 Bug 1250611: Switch test_signed_long to use add-ons signed by the production server. r=rhelmer
MozReview-Commit-ID: C0e6uYINLxJ

--HG--
extra : rebase_source : f7a766617aefdaacdbfdd7ed55ebe74d8b235b27
extra : amend_source : bc55eeaa86b9afff9bdfa83e2ef728196ff6bfb8
2016-03-01 08:54:50 -08:00
Kris Maglione
dce2b3c2cd Bug 1214955: [webext] Automatically localize all localizable manifest properties. r=billm
MozReview-Commit-ID: 2kvYT44NIE8

--HG--
extra : rebase_source : ebab864b517c2e576dde27cf1439cf2deadb0685
2016-02-29 19:34:49 -08:00
Andrew Swan
6bf77c377d Bug 1252181 - switch browser_ext_runtime_setUninstallURL.js to temporary add-on install r=mossop
MozReview-Commit-ID: JjjR76gkI3M

--HG--
extra : rebase_source : 64e37359e838eafe4ad2a138660f5bcf392fac2a
2016-02-29 11:11:45 -08:00
Gregory Szorc
4f79915537 Bug 1251313 - Adjust PATH to find pgort140.dll under Visual Studio 2015; r=ted
32-bit PGO builds need to modify the PATH to find pgortXXX.dll. We were
doing this for Visual Studio 2013 (VC12) in 2 locations. We weren't
doing it for Visual Studio 2015. This resulted in a failure to launch
PGO instrumented executables because pgort140.dll could not be found.

This commit refactors the PATH munging to support Visual Studio 2015.

MozReview-Commit-ID: 4EKf8gjcNH6

--HG--
extra : rebase_source : 2772558b06202d26583401bc41e56da8c5a69ef4
2016-02-27 13:18:26 -08:00
Henrik Skupin
32c7706715 Bug 1239808 - Rename test_packages.json to include package basename as prefix. r=chmanchester,jlund
MozReview-Commit-ID: 6JiHIbSjhoR

--HG--
extra : rebase_source : fde19a1ef1f2256104600980c12fffae391f5784
2016-02-25 21:37:47 +01:00
Carsten "Tomcat" Book
7f956c0bfb merge mozilla-inbound to mozilla-central a=merge 2016-02-29 11:35:30 +01:00
Andy McKay
ca41ad5fe1 Bug 1250667 - Sign the devtools addons and bug687194.xpi. r=ahal
MozReview-Commit-ID: DBUgeyKRLYJ

--HG--
extra : transplant_source : N%EF%3F%A6%83%91%B5%C8%F9Ep%8A%F3g%1C%5C%FA%98%89G
2016-02-25 15:39:16 -08:00
Wes Kocher
45b5e4259b Merge m-c to fx-team, a=merge
MozReview-Commit-ID: Hc6og2UJTjf
2016-02-26 13:28:45 -08:00
Wes Kocher
f5d0907f78 Merge fx-team to central, a=merge
MozReview-Commit-ID: 9LaKI6lIClP
2016-02-26 12:19:25 -08:00
Andrew Swan
910b634658 Bug 1246095 - Put explicit margins on "Some extensions could not be verified" button. r=mossop
MozReview-Commit-ID: E2vWjrz3n4y

--HG--
extra : transplant_source : _%F0%8DkB%FC%83%29%3A%CA%E54a%C7%08%95%AB%B9%00Q
2016-02-24 15:37:32 -08:00
Dave Townsend
fa191fdee2 Bug 1250611: Fix xpinstall mochitests to work when add-ons must be signed by AMO. r=rhelmer
These tests verify that the InstallTrigger API works as expected and that the
old style of signing add-ons is verified correctly. Other applications still
care about this so we don't want to regress it.

This switches most tests that previously expected an unsigned add-on to use an
AMO signed add-on. In apps that care that will allow it to install, in apps that
don't it will be effectively the same as unsigned (untrusted root).

Other tests that actually verify that the old style of signatures are either
seen or not seen are marked as skipped when AMO-signing is required. In some
cases that meant doubling up a few tests to make sure we have coverage.

MozReview-Commit-ID: 6V4U1U1HTqx

--HG--
extra : rebase_source : dff81ecb6f55898296aa3163b25487b7f122c079
extra : amend_source : b2f0083c2c1c936b5f8464ce12a71a9952db0b37
2016-02-24 13:34:08 -08:00
Carsten "Tomcat" Book
634d246572 Merge mozilla-central to fx-team 2016-03-01 15:26:21 +01:00
Florian Quèze
14678a2fc3 Bug 1252403 - Enable the browser_bug557956.js and browser_newaddon.js tests for e10s, r=enable-test. 2016-03-01 11:27:32 +01:00
Carsten "Tomcat" Book
83adb66526 merge mozilla-inbound to mozilla-central a=merge 2016-03-01 12:01:58 +01:00
Wes Kocher
d0b32f7434 Merge m-c to inbound, a=merge
MozReview-Commit-ID: Aab5zU7Kd3X
2016-02-26 12:38:33 -08:00
Andrew Swan
0dd5212ec1 Bug 1245956 - Don't distinguish preliminary signing for add-ons part 2 r=mossop
MozReview-Commit-ID: 61Ihbe8qp0N

--HG--
extra : rebase_source : 05cd43b55983bb12c09c55290e4de794af175d1c
2016-02-25 13:16:47 -08:00
Dave Townsend
b966648657 Bug 1247900: Sideloaded add-ons page displays poorly when the restart message is too long for a single line. r=rhelmer
MozReview-Commit-ID: K4afnOIcod6

--HG--
extra : rebase_source : 1fcbb49156b56e280dd772efd30dfe4ac0e9a7e5
2016-02-24 08:46:41 -08:00
Milan Sreckovic
9ca74932b6 Bug 1249640: Part 3 Update Mac to use the new blocking. r=mchang 2016-02-24 10:25:00 +01:00
Milan Sreckovic
536d058333 Bug 1249640: Part 1 A way to block canvas 2D acceleration from blocklists. r=benwa 2016-02-19 14:39:00 +01:00
Dave Townsend
61b99aec71 Bug 1250611: Fix more tests to use signed add-ons. r=rhelmer
MozReview-Commit-ID: 97RVVxAM5eo

--HG--
extra : rebase_source : bfbec29b8eba2ee1c4b4ce1fb2415c5dab21e5ab
2016-02-29 10:04:55 -08:00
Dave Townsend
7efdf5427d Bug 1250611: Fix various tests to work when signing is forced on. r=rhelmer
MozReview-Commit-ID: Dh8nMRSawJx

--HG--
extra : rebase_source : 9f685a79ff744d3cb2e8482096b796d02a10e8aa
2016-02-26 12:37:18 -08:00
Dave Townsend
b7614fb071 Bug 1250611: Check in built and signed copies of test extensions. r=rhelmer
MozReview-Commit-ID: Jq4xN7y36GA

--HG--
extra : rebase_source : e5ccca9bae7805521f4f6c471246ea73e0bc0de0
2016-02-26 09:21:15 -08:00
Carsten "Tomcat" Book
3695dd59e0 merge mozilla-inbound to mozilla-central a=merge 2016-02-25 11:57:51 +01:00
Frank-Rainer Grahl
a815bdb8c6 Bug 1246614 - Check if system add-ons directory exists before trying to clean it. r=mossop
--HG--
extra : rebase_source : 44545607f4434a8ad03cdc59306e02517056d42c
2016-02-21 05:45:00 +01:00
Andrew Swan
3bdd40d494 Bug 1245956 - Don't distinguish preliminary signing for add-ons. r=mossop 2016-02-18 16:17:09 -08:00
Carsten "Tomcat" Book
3d5797401d merge mozilla-inbound to mozilla-central a=merge 2016-02-24 12:01:56 +01:00
Dave Townsend
5732b53ed9 Bug 1250639: Remove the nsIPrincipal shim for the older API style. r=rhelmer
MozReview-Commit-ID: DyX66KlOLCC

--HG--
extra : rebase_source : 4097d74a428dda7919cc30ad2500bcb48c4427af
2016-02-23 12:11:37 -08:00
J. Ryan Stinnett
a71aae8db8 Bug 1225944 - Allow reinstalling temp add-ons. r=Mossop
MozReview-Commit-ID: JTbCaKGJ7wW
2016-02-22 23:35:10 -06:00
Phil Ringnalda
1a1ec5b8bb Merge f-t to m-c, a=merge 2016-02-20 17:25:14 -08:00
Rail Aliiev
88be272faf Bug 1248883 - missing ${platform}_info.txt files r=mshal 2016-02-19 13:24:50 -08:00
Gijs Kruitbosch
6170f3f6b8 Bug 1229626 - fix pinning to taskbar to reflect user preference, r=mhowell
MozReview-Commit-ID: DIHzv32bwkN

--HG--
extra : rebase_source : 4112543d785ffac568065de61bfed9a1fd245d58
2016-02-02 23:44:49 +00:00
Dave Townsend
83e5f07a79 Bug 1249074: Don't offer existing sideloaded add-ons to users when creating a new profile. r=rhelmer
MozReview-Commit-ID: 7pnZhEvGRfj

--HG--
extra : rebase_source : 67e53f74a7d48f8a59e7fbf333879c9919e2f79b
2016-02-17 11:06:00 -08:00
Carsten "Tomcat" Book
c2a42c6ad4 merge fx-team to mozilla-central a=merge 2016-02-17 12:07:39 +01:00
Dave Townsend
424899c3cd Bug 1245916: Turn on no-undef in toolkit/mozapps/extensions. r=rhelmer
Mostly just declaring globals that Cu.imports defines but there are some actual
bugs here that have been fixed as well as one test that just never ran because
of a hidden exception.

MozReview-Commit-ID: J6uIpYp8ANx

--HG--
extra : rebase_source : 5c19b92e4242088b6fc7a268f255fe9a795928f6
extra : source : 3e5b6df276a9a20fe7b3655656e62a09bc46aaa9
2016-02-03 22:48:48 -08:00
Mike Shal
dfe61e6f93 Bug 1243750 - Install all SDKs into sdk/; r=glandium 2016-01-29 14:52:52 -05:00
Robert Helmer
7560b7fefb Bug 1232222 - expose isSystem flag if add-on is a system add-on r=Mossop
MozReview-Commit-ID: 2SRRJplalUy

--HG--
extra : histedit_source : b25b4066a6868bb8ba55cf9cadc5e62465c55e6d
2016-02-13 17:51:21 -08:00
Nick Alexander
0992fec1c5 Bug 1247470 - Don't try to sign bouncer APK during Android single locale repacks. r=glandium
There's no slick way to determine that we're doing a single local
repack, and it's not worth adding a new flag just for this situation.
So let's not sign the bouncer APK if tests are disabled; since tests
are disabled during single local repack packaging, this should be
sufficient.  This makes the bouncer APK just like the Robocop APK.

MozReview-Commit-ID: AaHUEMhcqMy

--HG--
extra : rebase_source : e386c139613f7bfc83b4e7a28e905a6489171c5a
2016-02-10 15:47:45 -08:00
Nick Alexander
bc112329f3 Bug 1119520 - Add opt-in Gradle build mode for mobile/android. r=gps
Opt-in by adding --enable-gradle-mobile-android-builds.

Gradle dependencies (including the Android-Gradle plugin) are assumed
to be present.  Local developers will fetch them from the jcentral
repository.

Android-specific Maven dependencies are shipped as "extras" with the
Android SDK, and should be found automatically by the Android-Gradle
plugin.

MozReview-Commit-ID: 966XgddWgEu

--HG--
extra : rebase_source : 8e8c6156e1d06813c250662e104fd14c621d91ab
extra : source : 306cf0271d3e3a344fcbfd2baf75e0450c288cf1
extra : histedit_source : d17446714236c408699a0953882e84ac3a192380%2Cc21b166af79ef1e00215748820bc2670405ac1dc
2016-02-12 10:06:40 -08:00
Carsten "Tomcat" Book
b0531843fe merge mozilla-inbound to mozilla-central a=merge 2016-02-12 15:15:17 +01:00
Carsten "Tomcat" Book
1d1148b2d6 Backed out changeset 306cf0271d3e (bug 1119520) for causing merge conflicts with m-i to m-c merge 2016-02-12 15:14:36 +01:00
Felipe Gomes
7d97e11e35 Bug 1246245 - Webextensions and themes should also block initial e10s rollout. r=Mossop
--HG--
extra : commitid : 26feLTKH1Qa
2016-02-11 18:47:09 -02:00
Nick Alexander
e144cf6610 Bug 1119520 - Add opt-in Gradle build mode for mobile/android. r=gps
Opt-in by adding --enable-gradle-mobile-android-builds.

Gradle dependencies (including the Android-Gradle plugin) are assumed
to be present.  Local developers will fetch them from the jcentral
repository.

Android-specific Maven dependencies are shipped as "extras" with the
Android SDK, and should be found automatically by the Android-Gradle
plugin.

MozReview-Commit-ID: 966XgddWgEu

--HG--
extra : rebase_source : ff1cf18a59c7c5633e238090cb6a9abb307ed4fb
2016-02-03 11:18:38 -08:00
Carsten "Tomcat" Book
bbe3d019dc merge mozilla-inbound to mozilla-central a=merge 2016-02-11 11:52:01 +01:00
Carsten "Tomcat" Book
79f4a7f103 Backed out changeset 5bf07e98c4ee (bug 1243750) for breaking Linux and OS X Nightly Builds 2016-02-10 16:08:27 +01:00
Carsten "Tomcat" Book
b8f6140f54 merge mozilla-inbound to mozilla-central a=merge 2016-02-10 11:47:34 +01:00
R Kent James
f67807f655 Bug 1211160 - update lastModifiedTime of distribution addons to properly sync roaming profiles, r=dtownsend 2016-02-10 10:33:37 -08:00
Dave Townsend
2baeb943ca Bug 1244357: Use a shim around the certificate DB to allow the add-ons manager to think that add-ons are signed when they aren't. r=rhelmer
Because the add-ons manager hasn't startup up yet we can replace the certificate
database in xpcshell tests with one that claims add-ons are signed by valid
certificates even when they aren't. This allows us to run tests even in builds
where signing cannot be disabled during for the normal application.

This adds an override for all tests except those that are explicitely testing
signing.

--HG--
extra : commitid : 24s3ni5gVYe
extra : rebase_source : a95571dc3556bb035511eea424ba57e8c7007eba
2016-01-29 16:41:18 -08:00
Dave Townsend
2f6755883b Bug 1244248: Cache the certificate database during startup rather than getting it everytime it is needed. r=rhelmer
--HG--
extra : commitid : 800Lx2U4lRD
2016-02-09 08:36:36 -08:00
Dave Townsend
3c97745a55 Backing out c57d2020f884 for bug 1244357 due to test failures. CLOSED TREE
--HG--
extra : commitid : ARB3HviETo6
extra : amend_source : 6386ba6343ce0b187ee2d317bf455a9163ed0330
2016-02-08 10:18:48 -08:00
Dave Townsend
aad445ae43 Bug 1245649: Enable no-nested-ternary. r=mconley
--HG--
extra : commitid : 197imYXFNid
extra : rebase_source : ce71773fbd8f57118ba30ab395524d9200c42162
2016-02-03 21:17:16 -08:00
Dave Townsend
306183747d Bug 1244357: Use a shim around the certificate DB to allow the add-ons manager to think that add-ons are signed when they aren't. r=rhelmer
Because the add-ons manager hasn't startup up yet we can replace the certificate
database in xpcshell tests with one that claims add-ons are signed by valid
certificates even when they aren't. This allows us to run tests even in builds
where signing cannot be disabled during for the normal application.

This adds an override for all tests except those that are explicitely testing
signing.

--HG--
extra : commitid : 9Zd5aH92lAQ
extra : rebase_source : 880d0fff51205dc92df91a61fef8b246d2ea2123
2016-01-29 16:41:18 -08:00
Dave Townsend
e3d2c41721 Bug 1236377: Ignore invalid file descriptors when loading an add-ons database written by a different OS. r=rhelmer
nsIFile descriptors use OS specific formats so when trying to read them we have
to catch any failure if the database was written by a different OS. This leaves
the _sourceBundle undefined in only one case which is guaranteed to be during
startup since xpistate.descriptor for the add-on will also be incorrect and so
the full add-on scan will be triggered. That will spot the mismatch and update
the add-on in the database with the correct descriptor.

--HG--
extra : commitid : CNTQu1ESg8Q
extra : rebase_source : faa21ebc1d0b6b91bc81f79072e6d5fb9697bd18
2016-02-02 13:17:10 -08:00
Matthew Noorenberghe
46d841af95 Bug 612168 - Follow-up for test_undouninstall.js trailing whitespace. r=eslint
--HG--
extra : commitid : CZIHzxJbzBx
2016-02-06 18:15:29 -08:00
Andrew Swan
a6117744fc Bug 612168 - Handle uninstalls of restartless addons in XPIProvider. r=Mossop
--HG--
extra : commitid : 1C1yU1DSWZJ
2016-02-05 15:06:48 -08:00
Phil Ringnalda
e3869be7d0 Merge m-c to f-t 2016-02-05 19:45:14 -08:00
Phil Ringnalda
7f5bfce5de Merge m-i to m-c, a=merge 2016-02-05 18:41:47 -08:00
Tom Schuster
943620b92d Bug 1245141 - Use new Proxy for AddonManager.addonTypes. r=mossop 2016-02-05 19:31:08 +01:00
Nick Alexander
002a20ac3b Bug 1234629 - Part 2: Fail packaging if bouncer APK and main APK have different permissions. r=gps
This isn't sensible for b2gdroid, but that project should never enable
the bouncer APK anyway.

--HG--
extra : commitid : 5KSz5ooYeb1
extra : rebase_source : f30abc9b2553493e2a494497c0eafb22ac866890
extra : source : 50bcadca213183aaa64e39632892b8f00957dcfc
extra : histedit_source : 00085fea29a4289d96dbd08b0b45b4ea6780fd26
2016-01-27 14:34:46 -08:00
Nick Alexander
d466d2939f Bug 1234629 - Part 1: Create bouncer APK for OTA distribution installs. r=margaret,gps
This commit produces an "install bouncer" APK which is a "hollow
shell" that looks like the main Fennec APK.  In particular, both APKs have:

* the same Android package name (application id); and
* the same set of <permission>, <uses-permission>, and <uses-feature>
  blocks in their manifests.

The bouncer APK must always have an android:versionCode smaller than
the main Fennec APK; for now, we will just bump that manually
mobile/android/bouncer/moz.build.

--HG--
rename : mobile/android/javaaddons/Makefile.in => mobile/android/bouncer/Makefile.in
rename : mobile/android/app/assets/example_asset.txt => mobile/android/bouncer/assets/example_asset.txt
rename : mobile/android/javaaddons/moz.build => mobile/android/bouncer/moz.build
rename : mobile/android/base/resources/drawable-v21/logo.xml => mobile/android/bouncer/res/drawable-v21/logo.xml
rename : mobile/android/base/resources/drawable/logo.xml => mobile/android/bouncer/res/drawable/logo.xml
extra : commitid : 1XkuX1F0pMb
extra : rebase_source : c49ac53697927b0f3d1ee47bc1e7035c1b465e99
extra : source : aaa420ed66d754ecc17b19f5a12297d24371f1ca
extra : histedit_source : 0e3e2fa225c48ba48df72ff116fd62a7b1ef5ed2
2016-01-27 15:28:31 -08:00
Wes Kocher
0e74ba573b Backed out 2 changesets (bug 1232222) for xpcshell bustage
Backed out changeset 06bc151231a5 (bug 1232222)
Backed out changeset 38ba7c48145e (bug 1232222)

--HG--
extra : commitid : 4HsqRVO9R13
2016-02-05 16:29:00 -08:00
Robert Helmer
9845218d0f Bug 1232222 - Expose isSystem flag if add-on is a system add-on. r=Mossop
--HG--
extra : transplant_source : %11%BA%DA%AE%3D%0B%EE%BF%D2M%C6g%7F%86A%F2%BFh%03%22
2016-01-25 12:35:24 -08:00
Dave Townsend
4c3d60d100 Bug 1244302: Remove the add-ons selection UI.
--HG--
extra : commitid : 1lei0PwZgNi
extra : rebase_source : 380537fc9550e9e89e8fd3baee2bfe4db9f925fd
2016-02-02 09:15:59 -08:00
Mike Shal
a3bc66c899 Bug 1243750 - Install all SDKs into sdk/; r=glandium 2016-01-29 14:52:52 -05:00
J. Ryan Stinnett
1e0aa94429 Bug 1245251 - Repair add-on manager for external XUL apps. r=Mossop 2016-02-05 09:56:15 -06:00
Nigel Babu
ede1aa8b36 Backed out 10 changesets (bug 1234629, bug 1233882) for bustage on Android rc tests
Backed out changeset 9aa32d9a25df (bug 1234629)
Backed out changeset d73d36c9619b (bug 1234629)
Backed out changeset a7f63b3721cd (bug 1233882)
Backed out changeset c79f4a8c3e86 (bug 1234629)
Backed out changeset 400c030d3c01 (bug 1234629)
Backed out changeset 54a3d0851bc6 (bug 1234629)
Backed out changeset f80912ecfa87 (bug 1234629)
Backed out changeset 50bcadca2131 (bug 1234629)
Backed out changeset aaa420ed66d7 (bug 1234629)
Backed out changeset 7a62e97f07c2 (bug 1234629)

--HG--
rename : mobile/android/app/lint.xml => mobile/android/app/base/lint.xml
rename : mobile/android/app/src/main/resources/robolectric.properties => mobile/android/tests/background/junit4/resources/robolectric.properties
extra : commitid : KJVIqyGBEZg
2016-02-05 15:42:28 +05:30
Dave Townsend
c8e4d5fbbc Bug 1245649: Turn on use-isnan, no-unexpected-multiline, no-octal and no-self-compare. r=MattN
--HG--
extra : commitid : oKFzhSyf1r
extra : rebase_source : 0d31d93961cdfb2e5e467e0c7f28edb4ab14a083
2016-02-03 18:21:30 -08:00
Dave Townsend
e496a11771 Bug 1245649: Turn on no-extra-semi. r=markh
--HG--
extra : commitid : HReQFPDOA6x
extra : rebase_source : 303a92f511c3c9dd2d26135975d4dc7c85e823b3
2016-02-03 17:27:36 -08:00
Dave Townsend
33281c75f0 Bug 1245649: Turn on linebreak-style. r=Gijs
--HG--
extra : commitid : 7JJb4UFNKj9
extra : rebase_source : 5c30f388ad82d3b73ce7d14c71a48a1f0ed84db7
2016-02-03 17:04:56 -08:00
Dave Townsend
0a6414b898 Bug 1245649: Turn on no-trailing-spaces. r=Gijs
--HG--
extra : commitid : F2OWKTvXUO4
extra : rebase_source : ec68631342e0edc59d77b6bab1cdc975ad175327
2016-02-03 14:22:33 -08:00
Dave Townsend
541b00204a Bug 1245649: Merge browser and toolkit eslint rule settings. r=felipe
--HG--
extra : commitid : DrYPQokQp9O
extra : rebase_source : e0bacf124280ecdbeccfc34dbf66fd80f5a9d296
2016-02-03 13:12:18 -08:00
Nick Alexander
aa19a9fc96 Bug 1234629 - Part 2: Fail packaging if bouncer APK and main APK have different permissions. r=gps
This isn't sensible for b2gdroid, but that project should never enable
the bouncer APK anyway.

--HG--
extra : commitid : 5KSz5ooYeb1
extra : rebase_source : 71ea30ce85ba33f58d887d3f90367103f99e0eff
extra : histedit_source : cf91111ebe61f87d64c304206e4ddc409aa26535
2016-01-27 14:34:46 -08:00
Nick Alexander
3814ebb59b Bug 1234629 - Part 1: Create bouncer APK for OTA distribution installs. r=margaret,gps
This commit produces an "install bouncer" APK which is a "hollow
shell" that looks like the main Fennec APK.  In particular, both APKs have:

* the same Android package name (application id); and
* the same set of <permission>, <uses-permission>, and <uses-feature>
  blocks in their manifests.

The bouncer APK must always have an android:versionCode smaller than
the main Fennec APK; for now, we will just bump that manually
mobile/android/bouncer/moz.build.

--HG--
rename : mobile/android/javaaddons/Makefile.in => mobile/android/bouncer/Makefile.in
rename : mobile/android/app/assets/example_asset.txt => mobile/android/bouncer/assets/example_asset.txt
rename : mobile/android/javaaddons/moz.build => mobile/android/bouncer/moz.build
rename : mobile/android/base/resources/drawable-v21/logo.xml => mobile/android/bouncer/res/drawable-v21/logo.xml
rename : mobile/android/base/resources/drawable/logo.xml => mobile/android/bouncer/res/drawable/logo.xml
extra : commitid : 1XkuX1F0pMb
extra : rebase_source : 3154b4569efd4cccb4d5f72ff9bbff60d2744d3b
extra : histedit_source : 5e10ab9825bcf653a5a109c8e502658d52aedd79
2016-01-27 15:28:31 -08:00
Nick Alexander
3884e76c7e Bug 1163082 - Part 1: Add --with-android-distribution-directory. r=gps
This simply packs the assets/ subdirectory of the distribution
directory into the assets/ directory of the Android APK using existing
mechanisms.  It also removes the older method of manually pushing
files into dist/bin/distribution, from where they would be packaged
into the APK under distribution/.

--HG--
extra : commitid : BLgM6ZCm9AY
extra : rebase_source : a0896616f79f5a961476e4d2df9745516c58b44a
extra : source : e228040a044b7ff7363a178da2cb0b8b42724048
extra : histedit_source : 0b8f087bc6d70fa42401f4a2476898139bdf606c
2016-01-27 12:25:04 -08:00
Nick Alexander
b266bd6df2 Backed out 2 changesets (bug 1163082) for Robocop rc1 failures.
Backed out changeset baf25be8d491 (bug 1163082)
Backed out changeset e228040a044b (bug 1163082)

--HG--
extra : commitid : FNz3fg58MOy
extra : amend_source : e24ac7d8fd3911a7e12ca71d8bb7e618aa1e78ac
2016-02-03 23:15:00 -08:00
Nick Alexander
609e5edb32 Bug 1163082 - Part 1: Add --with-android-distribution-directory. r=gps
This simply packs the assets/ subdirectory of the distribution
directory into the assets/ directory of the Android APK using existing
mechanisms.  It also removes the older method of manually pushing
files into dist/bin/distribution, from where they would be packaged
into the APK under distribution/.

--HG--
extra : commitid : BLgM6ZCm9AY
extra : rebase_source : 572d1ff35a02505f452fee67130b48c8df4499b5
extra : histedit_source : 0b8f087bc6d70fa42401f4a2476898139bdf606c
2016-01-27 12:25:04 -08:00
Birunthan Mohanathas
88ce1ce184 Bug 1204202 - Remove packaging for now obsolete appcrt140.dll/desktopcrt140.dll on VS2015. r=ehsan 2016-02-02 17:42:04 +02:00
Mike Hommey
1d537257e2 Bug 1247162 - Generate a header defining MOZ_SOURCE_*. r=mshal
The behavior is not entirely idempotent (most notably for
buildconfig.html), but this can be improved later if necessary.
It is idempotent where it matters.

This allows to get rid of config/makefiles/rcs.mk and its uses.
2016-02-12 07:16:14 +09:00
Carsten "Tomcat" Book
72386d7be8 Backed out changeset ec30bdea196a (bug 1231784) for ESlint failures 2016-02-11 17:00:30 +01:00
Andrew Halberstadt
d11034bdfe Bug 1231784 - Fix toolkit/mozapps/extensions/test/browser/browser_select_confirm.js, r=Mossop
MozReview-Commit-ID: Gr0CCQ3iHTl

--HG--
extra : commitid : I5KAY2WgUAA
extra : rebase_source : 0fc11b86ea73ec3726b578a09f3ab632ca7b6532
extra : amend_source : b3ef504494d4f88e0088f06c326c662fcd9dbd8c
extra : source : 653df21ca86195f23cadc2fc180bff0c6831da25
2016-01-22 14:34:55 -05:00
Andrew Halberstadt
009050594f Bug 1231784 - Fix toolkit/mozapps/update/chrome tests, r=rstrong
MozReview-Commit-ID: GdkkHzxrjAh

--HG--
extra : commitid : AmuYYOjXtDr
extra : rebase_source : d493a3a9a811f0feb2f778c594cf49a6c8b2b48e
extra : amend_source : ea6738fac9fa151c5a1bf1a8a0c4b4a3b1670e43
extra : source : 0aac20bc3619019bc7c19a929154c9b3fbc0df46
2016-01-27 11:36:16 -05:00
Dave Townsend
c56db4025e Backed out changeset 3e5b6df276a9 from bug 1245916 for causing test failures.
MozReview-Commit-ID: CbsTB3xqGC6
2016-02-15 11:36:23 -08:00
Dave Townsend
70e2c0d753 Bug 1245916: Turn on no-undef in toolkit/mozapps/extensions. r=rhelmer
Mostly just declaring globals that Cu.imports defines but there are some actual
bugs here that have been fixed as well as one test that just never ran because
of a hidden exception.

MozReview-Commit-ID: J6uIpYp8ANx

--HG--
extra : rebase_source : 9d33fb313aec69e98ac3027d20a6bfc247f27f63
2016-02-03 22:48:48 -08:00
Andrea Marchesini
b1768e7ec3 Bug 1245184 - Update mochitests, r=me 2016-02-25 16:41:13 +01:00
Kim Moir
55fb66e771 revert Bug 1186522 - force per checkin and release desktop firefox builds to require signed add-ons on beta 45 r=mshal 2016-04-11 12:16:51 -04:00
Kai Engert
f8da0365fd Backout revision 36f75c2863a1, bug 1258375 2016-04-11 17:00:39 +02:00
Kai Engert
b471460db8 Bug 1258375, NSS_3_24_BETA5 and required adjustments to PSM and packaging, r=martin.thomson, r=glandium 2016-04-11 16:40:36 +02:00
Kim Moir
331a5db94d Bug 1186522 - force per checkin and release desktop firefox builds to require signed add-ons on beta 45 r=mshal 2016-04-11 09:15:12 -04:00
Wes Kocher
aaf89c475e Backed out 3 changesets (bug 1231784) for breaking 10.10 opt jetpack tests
Backed out changeset 653df21ca861 (bug 1231784)
Backed out changeset 0aac20bc3619 (bug 1231784)
Backed out changeset edcbd7c0aa36 (bug 1231784)

--HG--
rename : testing/mochitest/start_b2g.js => testing/mochitest/b2g_start_script.js
extra : commitid : DLurSs6PJ1G
2016-02-03 17:38:12 -08:00
Andrew Halberstadt
827426cdfb Bug 1231784 - Fix toolkit/mozapps/extensions/test/browser/browser_select_confirm.js, r=Mossop
--HG--
extra : commitid : I5KAY2WgUAA
extra : rebase_source : 19d30e9577c1cebe361140181911338b2318b8d4
extra : amend_source : b3ef504494d4f88e0088f06c326c662fcd9dbd8c
2016-01-22 14:34:55 -05:00
Andrew Halberstadt
5fc06a300b Bug 1231784 - Fix toolkit/mozapps/update/chrome tests, r=rstrong
--HG--
extra : commitid : AmuYYOjXtDr
extra : rebase_source : a2a10ff821cd60f6a430820b028535e4312c1e12
extra : amend_source : ea6738fac9fa151c5a1bf1a8a0c4b4a3b1670e43
2016-01-27 11:36:16 -05:00
Robert Helmer
4329bf0e41 Bug 1249689 - generate and provide a Symbol for each add-on on startup r=mossop
MozReview-Commit-ID: LoPGSrJtlkr

--HG--
extra : rebase_source : e2ce9f017213bce7b78567df7f086d36fe14229a
2016-01-11 15:35:19 -08:00
Robert Helmer
b0f85da2ad Bug 1249689 - replace bootstrapScope with an activeAddons Map() that contains it r=mossop
MozReview-Commit-ID: 4s3c5OOQYLv

--HG--
extra : rebase_source : 892985163a6136f2843713e435ae23abdf7a9cfc
2016-02-22 17:39:21 -08:00
Sebastian Hengst
bc0efb6df0 Backed out changeset 4ca40a403e9d (bug 1249640) for XPCshell failures on OSX. r=backout 2016-02-24 19:02:10 +01:00
Milan Sreckovic
c2c7011ac5 Bug 1249640: Part 1 A way to block canvas 2D acceleration from blocklists. r=benwa 2016-02-19 14:39:00 +01:00
Carsten "Tomcat" Book
fa78decbd0 Backed out changeset 889072501f26 (bug 1239808) bustage for web platform tests as run via taskcluster
--HG--
extra : rebase_source : fbf55dab661ea1a7e6a4843ab8deeaaaa5d8e3cc
2016-02-24 12:52:16 +01:00
Carsten "Tomcat" Book
cf4d06f3b0 Merge mozilla-central to mozilla-inbound 2016-02-24 12:21:22 +01:00
Henrik Skupin
001ae3fa89 Bug 1239808 - Rename test_packages.json to include package basename as prefix. r=chmanchester, r=jlund
MozReview-Commit-ID: LxTr8Mo2P0i
2016-02-24 10:49:40 +01:00
Chris Pearce
8470084106 Bug 1234099 - Unhide Adobe GMP on Windows XP. r=spohl
MozReview-Commit-ID: FIdyL7l3eY6
2016-02-24 15:46:52 +13:00
Chris Pearce
37daf2b55c Bug 1272521 - Hide Widevine CDM on MacOSX 10.6. r=spohl
The Widevine CDM crashes on MacOSX 10.6, so only download, expose, and install
it on 10.7 and later.

MozReview-Commit-ID: 51iJpQEB1m7

--HG--
extra : rebase_source : e24e8d8179f22f77c3e5fbfef8489aca7c4fecb9
2016-05-13 14:02:20 +12:00
Milan Sreckovic
a3f941f071 Bug 1270252: Skip a blocklisting test when everything is blocked because of a missing driver version. Clean up some returns from blocklisting, where the status and return value were missing or inconsistent. r=BenWa
MozReview-Commit-ID: IIJGltGMjOi

--HG--
extra : rebase_source : 167bf9c0e0219cba8231933f4b073f56747f3dd3
2016-05-11 17:08:49 -04:00
Dave Townsend
6ec3a34a03 Bug 1243935 - "Restartless add-ons that get into the pending disable state never disable". r=aswan
--HG--
extra : rebase_source : a932007d5b4bdad83fdf21c50776f55a928174c2
2016-01-28 16:01:00 +01:00
Phil Ringnalda
9f2e22e0ac Back out e8d8faa25955 (bug 1241111) for breaking platform.ini, a=bustage 2016-01-31 10:01:22 -08:00
Phil Ringnalda
b2b5dc0439 Merge f-t and m-i to m-c, a=merge 2016-01-30 17:08:37 -08:00
Phil Ringnalda
a39d6e46e4 Merge m-c to m-i 2016-01-30 09:43:42 -08:00
Kyle Huey
91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Phil Ringnalda
d42eb10039 Back out 3958782fe187 (bug 989960) for Android crashes in test_watchdog_default.js 2016-01-29 20:12:44 -08:00
Kris Maglione
18ffdfa335 Bug 1225715: Part 6 - Remove redundant manifest type checking from XPIProvider. r=Mossop
--HG--
extra : commitid : Co3LqKFdyq6
extra : rebase_source : fe07d829cd3dd9bf0bee582e0367a9b1d49036de
2016-01-21 23:36:53 -08:00
Kris Maglione
278a332b02 Bug 1225715: Part 5 - Add schema for extension manifests. r=billm
This currently forbids unknown top-level schema properties, and unknown
permissions. In the future, I'd like to make those warnings rather than
errors, for compatibility purposes, but I think errors are fine for now.

--HG--
extra : commitid : 9jGEwCU9AhR
extra : rebase_source : db16f1e5f9962fb7b24c0e52c05832ae646a57c2
2016-01-30 10:27:02 -08:00
Georg Fritzsche
23fb0b9b97 Bug 1241111 - Allow overriding SOURCE_REV_URL, SOURCE_REPO, SOURCE_CHANGESET. r=ted 2016-01-29 18:42:51 +01:00
Paolo Amadini
aceee7aafc Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric
--HG--
extra : commitid : IkcxJUamV6B
extra : rebase_source : 07255457ec607c45037f832ca44a01f17a00da78
2016-01-29 13:19:53 +00:00
Andrew Swan
7fc2a0fc8f Bug 1172835 - Add warning icon to unsigned extensions warning button. r=Mossop 2016-01-28 11:16:28 -08:00
Dave Townsend
5537b5c159 Bug 1237820: Track whether a user has been offered a sideloaded add-on or not. r=rhelmer
Previously we just checked every newly sideloaded add-on to decide whether to
offer it to the user for opt-in. This adds a new "seen" property (naming could
be better if you have other suggestions) which tracks whether we've ever shown
the opt-in UI for the add-on. It defaults to true for all add-ons and is only
set to false for sideloaded add-ons that default to being disabled on install.
The seen flag can be set to true through the API but cannot be reset to false
as that would allow add-ons to forcibly re-present themselves to the user when
disabled.

The opt-in UI sets the seen flag to true only when it has focus which fixes a
long-standing bug where if you accept the first add-on you see and restart the
other tabs might not show up.

The one slight downside of this approach is that it now requires loading the
full add-ons database on every startup in order to check the seen flag for all
installed add-ons. There are hacky ways we might get around this but they all
involve overloading prefs with even more object data. The good thing is that
we do the load and check asynchronously after most of startup is complete and
the UI is fully loaded so there shouldn't be any percieved impact to startup
time. I've run multiple talos runs to verify that none of the numbers appear to
regress.

--HG--
extra : commitid : AG6pELCYJDa
extra : rebase_source : b824c1626d0c5a77416fa4349ed3dd4d0e96418b
2016-01-26 14:31:33 -08:00
Nils Meinert
3872a2da46 Bug 1225102 - Stop recording addon telemetry details for GMP plugins. r=gfritzsche
--HG--
extra : commitid : DJ7NWNoqrED
2016-01-25 14:00:01 -08:00
Gijs Kruitbosch
0088ac397e Bug 1135866 - fix syntax error in manifest file, rs=trivial,bustage
--HG--
extra : commitid : JiK8e9w3Dej
2016-01-25 09:42:17 +00:00
Blair McBride
9f0ed77218 Bug 1135866 - Disable intermittent browser_bug562890.js & browser_openDialog.js on Windows opt builds. r=mossop
--HG--
extra : transplant_source : n%0B6K2%9B%13%E7-xF%01%B0%80%9C%9EV%CA%8F%40
2016-01-19 22:52:23 +13:00
Gabor Krizsanits
1255d4d9f5 Bug 1234675 - Ability to disable e10s for users with addons. r=Mossop 2016-01-22 10:10:17 +01:00
Andrew Halberstadt
473e8f3eae Bug 1240875 - Register temporary addons with AddonPathService, r=mossop
--HG--
extra : rebase_source : f6ed180d916220d886a9efb4fcdd8f1b96061a73
2016-01-19 15:16:18 -05:00
Dave Townsend
2124b9bc7f Bug 1241181: Test for bug 1232274 should use promises to restart the add-ons manager. r=rhelmer
Really for consistency than anything else.

--HG--
extra : rebase_source : 304f66b4f85714a6d52c9a4f4415066244624207
2016-01-20 10:01:34 -08:00
Dave Townsend
3663a6d8b6 Bug 1232274: Make installing or enabling an add-on require a restart if e10s is on and a pref is set. r=rhelmer
--HG--
extra : rebase_source : 067151264d8f037df0573ec81937762d8557242f
2016-01-14 15:21:01 -08:00
Robert Helmer
c14128889e Bug 1239484 - remove use of Object.values() r=mossop
--HG--
extra : rebase_source : acc92d461bdbb594b207637f51c87112bd054e57
2016-01-19 11:01:19 -08:00
Sebastian Hengst
ec249b43ac Bug 1239868 - remove unused PREF_EM_UPDATE_INTERVAL. r=Mossop 2016-01-15 13:11:31 +01:00
Carsten "Tomcat" Book
7e52b24fab merge mozilla-inbound to mozilla-central a=merge 2016-01-15 11:46:47 +01:00
Jim Chen
b1e4e083d5 Bug 1223209 - Clean up old GeckoView library files; r=nalexander
Right now, each incremental build produces a new set of GeckoView
library files, but the previous files don't get cleaned up, and you end
up with a bunch of old libraries in your objdir. This patch cleans up
the old files before producing new ones.
2016-01-14 18:20:02 -05:00
Jim Chen
1fbdd6e6fc Bug 1223209 - Remove geckoview_example; r=nalexander r=mfinkle
geckoview_example is broken and obsolete, and we haven't maintained it
for a long time. We should remove it from the tree, allow GeckoView AARs
to build, and rely on other example GeckoView projects that live on
GitHub.
2016-01-14 18:20:02 -05:00
Kris Maglione
5a95948ae6 Bug 1235365: Parse WebExtension JSON files as UTF-8. r=billm
--HG--
extra : commitid : IKunziwQUPp
extra : rebase_source : e36842c15d0be4f319a108e0bfc4e04baf96dd19
2016-01-09 16:53:24 -08:00
Matt Howell
21590e8b7c Bug 1234861 - Fix a case where the installer can "clean up" registry keys it didn't create. r=rstrong 2016-01-12 12:38:50 -08:00
Chris Manchester
89c245af6b Bug 992983 - Build and upload the gtest libxul during test packaging. r=ted
--HG--
extra : commitid : EH7XMBkAkta
2015-07-16 16:52:31 -07:00
Chris Peterson
f887951ac3 Bug 1236389 - Annotate intentional switch fallthroughs to suppress -Wimplicit-fallthrough warnings in mozapps/update. r=rstrong
toolkit/mozapps/update/updater/updater.cpp:3722:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
toolkit/mozapps/update/updater/updater.cpp:3768:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2016-01-01 17:04:00 -07:00
Nicholas Nethercote
ec89bbf7f2 Bug 1237151 (part 3) - Remove ignored qualifiers in all remaining code. r=froydnj. 2016-01-05 17:08:45 -08:00
Carsten "Tomcat" Book
c3c9e7c565 merge mozilla-inbound to mozilla-central a=merge 2016-01-07 11:50:57 +01:00
Robert Helmer
056a1adce9 Bug 1209344 - Link to about:debugging from about:addons. r=mossop
--HG--
extra : transplant_source : Z%A1QK7%92%FD3%D8%E1p%8F%C6%FAb%00fF%7D%F4
2016-01-05 12:19:59 -08:00
Robert Helmer
7ab4eeae62 Bug 1209344 - Remove debug button from about:addons. r=mossop
--HG--
extra : transplant_source : toni%12t%E0%3Fh%E7%06%98%B8%E4%29k%FB%0C%9Be
2016-01-05 12:19:15 -08:00
Mark Finkle
24b28ec36c Bug 590127 - Remove toolkit implementation of about:addons r=margaret 2016-01-06 00:49:03 -05:00
Chris Pearce
38b4594c7d Bug 1234099 - Unhide Adobe GMP on Windows XP. r=spohl 2015-12-21 16:06:41 +13:00
Dave Townsend
86f03db916 Bug 1229142: Link browser and toolkit test directory to the shared eslintrc files. r=Standard8
--HG--
extra : commitid : CKT2WDkxE4k
extra : rebase_source : 0be50c483317355b1e9af5985d53e85604748432
extra : histedit_source : 65d203f57ebd38b8c130e5db9aaa8ae3f507e7ac
2015-11-30 13:05:00 -08:00
Ryan VanderMeulen
f93b41b27c Merge inbound to m-c. a=merge 2016-01-01 19:29:16 -05:00
Nick Alexander
d29d7963fa Bug 1207890 - Post: Hacks to make --disable-compile-environment work on Mac OS X. r=glandium
--HG--
extra : commitid : BJ6pEARC8bF
extra : rebase_source : 6fb8638fc55c0f402fbe011b8fd10904a4681d13
2015-12-23 16:50:47 -08:00
Matt Howell
3d7498ac4f Bug 1120124 - Prevent 64-bit builds from installing over 32-bit ones (or vice-versa) by default. r=rstrong
--HG--
extra : rebase_source : 08834fcd40013ac42eb3d81a2833d112d47d7368
2016-01-05 14:31:27 -08:00
Dave Townsend
99e46fd0e0 Bug 1237340: Fix browser and toolkit eslint failures. r=Felipe
--HG--
extra : rebase_source : 3e1098fe6d387bed1edcad365e318c484e8989ea
2016-01-06 10:10:35 -08:00
Chris Pearce
5d3656a01c Bug 1234099 - Backout 34460cc654ca due to playback failures caused by Adobe GMP. r=backout 2016-01-07 09:57:36 +13:00
Jan Beich
a98ac311e9 Bug 1234033 - Unbreak build --with-system-bz2 using Clang. r=dvander
--HG--
extra : transplant_source : %A3%205n%91S%BA%1FNUD%81%28%DB%15%AE%B9%CA%0D%B6
2015-07-24 08:09:04 +00:00
Matt Howell
76fe77ef9f Bug 1212939 - Disable update logging if given a log file path longer than MAX_PATH; r=rstrong 2015-12-21 11:36:54 -08:00
Mike Hommey
6627ef45a4 Bug 1235676 - Replace $(abspath $(DEPTH)) with $(topobjdir). r=mshal 2015-12-31 08:10:02 +09:00
Mike Hommey
c2d36c7522 Bug 1235676 - Replace $(abspath $(DIST)) with $(ABS_DIST). r=mshal 2015-12-31 08:10:02 +09:00
Mike Hommey
ae8b4f0347 Bug 1235676 - Replace _ABS_DIST with ABS_DIST. r=mshal 2015-12-31 08:10:02 +09:00
Mike Hommey
2fcd7f7524 Bug 1235676 - Add a global ABS_DIST variable for a non-relative version of DIST, based on topobjdir. r=mshal
This replaces multiple local definitions of ABS_DIST.
2015-12-31 08:10:02 +09:00
Milan Sreckovic
1c5ba02c87 Bug 1234385: Add downloadable blocklist support for between comparison types, by recognizing driverVersionMax when parsing. r=benwa
--HG--
extra : commitid : AhHBWH2QjLc
2015-12-24 12:53:40 -05:00
Stephen A Pohl
feca082657 Bug 1222555: Copy updater.app to the proper location for app update mochitest chrome tests. r=rstrong,ted 2015-12-21 12:21:57 -05:00
Carsten "Tomcat" Book
ebff7b3066 Merge mozilla-central to mozilla-inbound 2015-12-18 15:25:47 +01:00
Masatoshi Kimura
7e9f2cf66c Bug 1197191 - Add .pdf and media file types to OpenWithProgids. r=rstrong 2015-12-18 23:00:51 +09:00
Alessio Placitelli
9f6f7449c9 Bug 1217282 - Add test coverage. r=gfritzsche 2015-12-15 05:44:00 +01:00
Chris Manchester
70f77fe325 Bug 1223745 - Move generate headers in toolkit/mozapps/update/updater/Makefile.in to GENERATED_FILES. r=glandium
--HG--
extra : rebase_source : 08190b416403e3b03ee1267b297eb6d88c166450
2015-12-16 13:08:34 -08:00
Chris AtLee
c9be0d6fd9 Bug 1231379 - Disable omni.ja compression on desktop platforms r=catlee,glandium
--HG--
extra : rebase_source : c669b3d1ff093b40e8d8f46845948f4f9c18ae41
2015-12-15 10:11:12 -05:00
Chris Pearce
591eb6df76 Bug 1232799 - Remove KEY_PLUGIN_TRIAL_CREATE pref from GMPProvider and friends. r=spohl
The GMPVideoDecoderTrialCreator was removed from Gecko in bug 1232527, and so
we don't need to set/reset this pref in the GMPProvider any more.

--HG--
extra : rebase_source : 3bb70b21388cdc8adb1aec25cff837a0348a6e3c
2015-12-16 10:38:51 +13:00
Chris Pearce
8cdc81c1eb Bug 1232795 - Remove VIDEO_EME_DISABLED telemetry probe. r=spohl
--HG--
extra : rebase_source : 6d7ee246707b0dad8493944af629a9ea0097184e
2015-12-16 10:32:41 +13:00
Robert Helmer
5fb8db01a4 Bug 1231003 - clarify in variable names and comments that temporary add-ons can be files or dirs r=mossop
--HG--
extra : transplant_source : %26%DBzr%14%18J%F0e6%40%5BY%5E%D3%14L%3Cs%3E
2015-12-07 14:53:11 -05:00
Georg Fritzsche
943da0d5c5 Bug 1231055 - Fix tags usage in PluginProvider. r=dtownsend 2015-12-08 19:52:45 -05:00
Matt Howell
421eb47a4b Bug 1079858, Deal with deprecation of SHA1 (SHA-1) Authenticode signatures for Windows signing, part 2 (swap cert), r=catlee, a=lizzard
--HG--
extra : amend_source : 450203e03ee0f46929ca4b4ce1a1e43b4ea6df97
2015-12-08 16:16:55 -05:00
Ryan VanderMeulen
289a16635a Merge fx-team to m-c. a=merge 2015-12-05 15:09:41 -05:00
Wes Kocher
39967e9806 Backed out changeset 0ea0832d052d (bug 1079858) for causing bug 1230631 a=backout
--HG--
extra : commitid : GeBy210BpUB
2015-12-04 14:58:55 -08:00
Dave Townsend
90346debbf Bug 1229519: Fix download managers to pass eslint checks. r=mak
--HG--
extra : commitid : BtgdmZXVWxF
extra : rebase_source : 80617563b95509660bfab8d1094198dcba367b54
extra : amend_source : 8ebd6e5a65f9162d08fe3bcf7a83c03a35337683
2015-12-03 10:00:18 -08:00
Robert Helmer
5ce1b1be5a bug 1228792 - remove leading 0, be explicit about octals r=mossop
--HG--
extra : commitid : 2BNMh5TCvs8
extra : rebase_source : b25d3380032ac363377804a76769554d74a7f11f
extra : histedit_source : a6d22c6f3a7ee97ae99820349cd7fd8cc3719fc6
2015-12-02 18:43:09 -08:00
Robert Helmer
67c3facd3e bug 1228792 - use function* for generators r=mossop
--HG--
extra : commitid : gjt3xC1DJc
extra : rebase_source : f13bb0a43be036a0d4694b0bb6d0690e999b872f
extra : histedit_source : e591411c3b588f247e9988d1b6b66e09cf7b4b94
2015-12-02 18:42:50 -08:00
Robert Helmer
d40ca0dad5 bug 1228792 - use standard version of catch r=mossop
--HG--
extra : commitid : FpwpzNvnHDs
extra : rebase_source : cb4adf8ce77ed5231fc463c907facfd509b4a4ef
extra : histedit_source : 96a513f23dbb96f71e99bc73164e37bd258b4f6a
2015-12-02 18:42:16 -08:00
Robert Helmer
d4b4a83098 bug 1228792 - remove use of array comprehensions r=mossop
--HG--
extra : commitid : I7JbIRZK5Pk
extra : rebase_source : 516f056afbb164b0b7b9fd9889c5cc998626c15d
extra : histedit_source : da178544faf7ff52591d96712921ddd73de2b48a
2015-12-02 18:40:59 -08:00
Dave Townsend
40279b9be7 Bug 1227981: Test that referencing a DTD from the inline options of an add-on works. r=rhelmer
--HG--
extra : commitid : GEBPImsntYP
extra : rebase_source : 356f7cd9825337dd24073a39a97c6b442ffcc077
2015-11-25 10:18:53 -08:00
Ben Hearsum
2658b43d3a Bug 1079858: Enable SHA2 signing for windows. r=catlee rs=rstrong
--HG--
extra : amend_source : c605389facd952635d04a60b15bb14a269d073dc
2015-12-02 14:12:37 -05:00
Carsten "Tomcat" Book
d1e027ccae Merge mozilla-central to fx-team 2015-12-01 15:28:12 +01:00
Carsten "Tomcat" Book
f3e1aec951 merge mozilla-inbound to mozilla-central a=merge 2015-12-01 15:25:14 +01:00
Robert Helmer
978190afcd Bug 1195353 - leave extension proxy files that point to invalid manifests r=mossop
--HG--
extra : transplant_source : %5C%FA%F5%8E%BE%3E%24%EB%CFN%CC%8DS%9C%9A%A7C%A5%B6/
2015-11-25 23:28:30 -08:00
Dave Townsend
552c0bb27b Bug 1226386: Remove or fix many uses of Array.forEach. r=rhelmer
--HG--
extra : commitid : BCzc4kuShSp
extra : rebase_source : 8517ce0913bb72ee340cb400e4f45c43bf964d67
2015-11-20 15:31:17 -08:00
Dave Townsend
f946cdabc4 Bug 1226386: Remove use of non-standard __defineGetter__ and __defineSetter__. r=rhelmer
Moved these mostly onto the prototype. We couldn't do this before without making
the target of the wrapper a property of the wrappers and we don't want to expose
that but now WeakMaps allow us to get the target without exposing it.

Once change with this approach is that when the test suite shuts down the
add-ons manager it kills the map and so wrappers cease to function. A couple of
tests were relying on accessing wrapper properties after that but that would
have likely been unsafe anyway.

--HG--
extra : commitid : 6OI6dLyM45D
extra : rebase_source : c8a53360ce582186dcdc5cbf0dfc2b5057881eac
2015-11-20 10:55:13 -08:00
Dave Townsend
f6c6e0cc02 Bug 1226386: Switch to fat arrow functions where it makes sense. r=rhelmer
Both for brevity and to remove the use of |self = this|.

--HG--
extra : commitid : 7gNXRCzxPxM
extra : rebase_source : 4dccdf8bf99f5979664ca3ca3d9e61f66e217bfe
2015-11-20 10:06:14 -08:00
Dave Townsend
e2b946adfc Bug 1226386: Remove functions names where possible. r=rhelmer
We used to need explicit names for functions to make stack traces display
properly. The JS engine is smarter now so doesn't need them and they just
make the code messy and redundant.

--HG--
extra : commitid : 4FEIiQYhRQu
extra : rebase_source : 26689d5417f592d0f327f32076245cb4f154229a
2015-11-19 16:35:41 -08:00
Dave Townsend
d252cadc1f Bug 1226386: Remove createWrapper function and replace with a memoized property. r=rhelmer
--HG--
extra : commitid : 7sR5hnOEWW2
extra : rebase_source : c7b44681ac2f727f34b2b21e6459ceb9fb52e264
extra : amend_source : 8e1f0eb8d1cbac8b47526ded9c05de6c1a48503a
2015-11-19 14:19:33 -08:00
Dave Townsend
c872ff3d33 Bug 1226386: Remove most of the preprocessing from the add-ons manager. r=gps
For build speed, for correct line numbers in errors, for faster development, for so many reasons.
Still a couple of cases left mostly in XUL files for different strings on Windows.

Bonus: The new lexical scope means ADDON_SIGNING and REQUIRE_SIGNING can just
be declared as regular constants and outside code can't get to them easily.

--HG--
extra : commitid : Kj8khjuCwG2
extra : rebase_source : 2e0a3143900c0c414cda43254306f0c070f8e621
2015-11-19 15:30:47 -08:00
Dave Townsend
361cd471ff Bug 1228359: Allow experiments to register chrome. r=felipe
Simple obvious fix. Adds tests by making BootstrapMonitor (which
test_experiments.js and others use for verifying bootstrap startup and shutdown)
verify the list of registered chrome manifests at various points. Without the
fix this makes test_experiment fail as expected.

--HG--
extra : commitid : DhCOtar9Mqu
extra : rebase_source : c194a4d390bbd460b9c17ec09e9c3a219b5025d6
2015-11-27 12:44:22 -08:00
Kris Maglione
6713ba9ac7 Bug 1192435: Support updates for WebExtensions. r=Mossop
--HG--
extra : commitid : 2NZYNYBpFs4
extra : rebase_source : 06a5d6fe9b91872f31f17323766e74fc4dc24646
2015-11-17 16:23:15 -08:00
Johann Hofmann
75a90ffc8e Bug 1200674 - Allow flexible icon sizes in ExtensionUtils. r=dtownsend 2015-11-24 18:20:26 +01:00
Christoph Kerschbaumer
413a60a063 Bug 1225641 - Change default security flags within NetUtil.newChannel (r=sicking) 2015-11-17 17:35:30 -08:00
Robert Helmer
e339903d0b Bug 1209341 - allow loading unsigned restartless add-ons at runtime. r=mossop
--HG--
extra : transplant_source : %9EhX%F7%9D%AE%F5%14%18%E6%3B%A7%D3w%E3%3B%CAl%27%05
2015-11-03 10:07:08 -08:00
Jim Chen
3f2aedd313 Bug 1221270 - Let AddonUpdateService use AddonManagerPrivate to check for updates; r=mfinkle
The Android-specific AddonUpdateService has a bit of redundant code
because AddonManagerPrivate has a backgroundUpdateCheck method that does
a lot of the same thing. This patch makes AddonUpdateService call that
method so there's less code and more consistency.

This requires flipping the "extensions.update.enabled" pref, which was
disabled in bug 528588 for showing the XUL addon update dialog. I don't
think this is relevant anymore in native Fennec and with the later
rewrite of AddonManager, so I'm fairly certain it's okay to flip that
pref.

The patch also disables the AddonManager update timer because we have
our own update timer on Android.
2015-11-23 23:31:49 -05:00
Christoph Kerschbaumer
5975a9caee Bug 1182546 - Test update: make inlinesettings accessible from content (r=bz) 2015-11-20 10:56:55 -08:00
Gijs Kruitbosch
161662dac8 Bug 1191468 - always load app dir add-ons irrespective of enabledScopes, r=Mossop,froydnj
--HG--
extra : commitid : 4O0JNbchonb
extra : rebase_source : f218722dd70f74a45e4dbb461a7faaa3ef1d1d81
extra : amend_source : 538b86815da89ccf5b3e7e42412019064123ccfe
2015-11-17 13:55:31 +00:00
Carsten "Tomcat" Book
3e3681faa3 Merge mozilla-central to fx-team 2015-11-19 15:24:02 +01:00
Carsten "Tomcat" Book
839fa910f5 merge mozilla-inbound to mozilla-central a=merge 2015-11-19 14:44:11 +01:00
Nigel Babu
8638a9854f Backed out changeset 9155ee3d42d8 (bug 1182546) for Android M(c) bustage 2015-11-19 14:26:20 +05:30
Gijs Kruitbosch
a5e69a8a5a Bug 1040005 - fix nsHelperAppDlg.js to cope with always ask in combination with a preferred helper app, r=mconley
--HG--
extra : commitid : 3bfX8YfVfg5
extra : rebase_source : 4074335ed3ea7ffebed56cacce310e8c62de661c
2015-11-17 16:56:16 +00:00