Commit Graph

32833 Commits

Author SHA1 Message Date
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
Margaret Leibovic
c0696bf4a0 Bug 1243387 - Add telemetry probe to understand how often users load reading list items when offline. r=mfinkle
--HG--
extra : commitid : 6b3lDQ29j0E
extra : rebase_source : 512e6468fede40ab3ef986bf1ce7129f3297e6e0
2016-02-05 09:37:15 -05:00
Margaret Leibovic
cc2f8b6c3f Bug 1246170 - Remove about:logins histogram telemetry probes. r=mfinkle
--HG--
extra : commitid : PeL3VH5IuP
extra : rebase_source : 351ad769f8a36455fab97287557a69bdf0182644
2016-02-05 10:11:54 -05:00
Tim Nguyen
8015416b24 Bug 1246498 - Various clean ups to aboutNetworking.css. r=jaws
--HG--
extra : commitid : 2ivWFz93d7h
2016-02-07 18:06:26 +01:00
Phil Ringnalda
21abea4cd0 Merge m-c to f-t 2016-02-06 19:17:04 -08:00
Phil Ringnalda
05fb537019 Merge m-i to m-c, a=merge 2016-02-06 19:08:33 -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
Shih-Chiang Chien
10b1fdf725 Bug 1129785 - support video sharing via Presentation API. r=mfinkle.
--HG--
extra : commitid : tt4LYaWaUe
2016-02-06 18:15:22 -08:00
Kris Maglione
b7f18df9f3 Bug 1225715: Follow-up: Ignore unknown permissions and top-level manifest keys. r=me
--HG--
extra : commitid : EP0u05EvtZe
2016-02-06 14:02:30 -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
Matthew Noorenberghe
eeb501f1ea Bug 1246323 - passwordmgr: Bug 1001765 follow-up for VK_ESCAPE handling and test cleanup. r=dolske
--HG--
extra : commitid : 5OGGBCd1AsF
2016-02-05 17:33:47 -08:00
Kris Maglione
a91b59748f Bug 1234020: Part 2m - [webext] Return promises from the notifications API. r=rpl
--HG--
extra : commitid : 6Rg1SVWJzxe
extra : rebase_source : f84df9cd587fff075f2e789c9eec6ec65838899e
extra : histedit_source : aa1dbf6f949e78630e7cd5836e0ad13ff2c34546
2016-02-04 13:34:11 -08:00
Kris Maglione
18a5345609 Bug 1234020: Part 2c - [webext] Return promises from the idle API. r=rpl
--HG--
extra : commitid : BPi8baslrOV
extra : rebase_source : 0b452d7e680a2f626481ce10761439e557390499
extra : histedit_source : 4ac9d405204b1ce798155cd5f99dfb6ff2147fe5
2016-02-02 19:35:31 -08:00
Kris Maglione
f0a1600d9a Bug 1234020: Part 2a - [webext] Return promises from the background page APIs. r=rpl
--HG--
extra : commitid : 6QaVA3XIUzC
extra : rebase_source : a769506ee88b7ac0e4b972c26750409adec5239c
extra : histedit_source : 1768cb7a91aa363ee2ea0d5094ad8e5a18eb9605
2016-02-02 19:14:34 -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
Kris Maglione
a4074c6b1d Bug 1234020: Part 2l - [webext] Return promises from the alarms API. r=rpl
--HG--
extra : commitid : A9XdqEK4e0M
extra : rebase_source : a972bae6ad03865034b68f1ff8fd9ca125c2126e
2016-01-29 18:58:29 -08:00
Kris Maglione
2762bb5398 Bug 1234020: Part 2f - [webext] Return promises from the bookmarks API. r=evilpie
--HG--
extra : commitid : 8s79WWvVomB
extra : rebase_source : c3bb8465a7f8ccb5066ef3dbaeadb6e1647763bf
2016-02-01 18:12:45 -08:00
Kris Maglione
8597becbc0 Bug 1234020: Part 2e - [webext] Return promises from the storage API. r=rpl
--HG--
extra : commitid : 5FRGdLfPV8r
extra : rebase_source : 9ab4549e5876e9de236d5adb3e26637d99293a02
2016-01-29 18:59:37 -08:00
Kris Maglione
16dd4dca4d Bug 1234020: Part 2d - [webext] Return promises from the runtime API. r=rpl
--HG--
extra : commitid : HE3oP4KrWNU
extra : rebase_source : d07143c93e2792114f6ee4128fc28ef41a60b8a0
2016-02-01 18:08:18 -08:00
Kris Maglione
f72bc2afbb Bug 1234020: Part 2b - [webext] Return promises from the cookies APIs. r=evilpie
--HG--
extra : commitid : 6RKl39LqmOc
extra : rebase_source : 6d2893daffa38ccce0976a846a924b46c03e7ed1
2016-02-01 18:03:37 -08: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
e7953a18b8 Bug 1232222 - Provide telemetry environment data on which addons are system addons. r=gfritzsche
--HG--
extra : transplant_source : %99%14o%17%12%90%1E%E9%F5%A3%13%A0%94%F0%C8%5D%D4%3C%CCK
2016-01-25 14:19:52 -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
Gijs Kruitbosch
d61d7036f6 Bug 1243353 - allow HTML in-content checkboxes to have focus and style them appropriately, r=jaws
--HG--
extra : commitid : 4YfNCbhtKqv
extra : rebase_source : 214419b31ea72668f553a2efc8ef7c5c559451d9
2016-02-01 21:45:22 +00: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
Felipe Gomes
5cae0e50dd Bug 1230196 - Allow release channel to run e10s. r=billm
--HG--
extra : commitid : 7rKp9YfaaUC
2016-02-05 13:27:12 -02:00
Nick Fitzgerald
0d656a45b0 Bug 1221619 - Add telemetry to memory tool. r=jsantell, data-review=bsmedberg
--HG--
extra : rebase_source : 60ac72c8e18871226c60cbe984b15bed21042ad4
2016-02-03 15:17:00 +01: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
7a3b0231b9 Bug 1245649: Enable no-negated-in-lhs, no-native-reassign, no-func-assign and no-labels. r=MattN
--HG--
extra : commitid : KgoID6JTBTw
extra : rebase_source : e12b04768b497a335abfbc2be75aae5458cced43
2016-02-03 20:47:08 -08:00
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
a9fc7f9380 Bug 1245649: Turn on no-irregular-whitespace and no-mixed-spaces-and-tabs. r=jaws
--HG--
extra : commitid : AHmjTpVmCOP
extra : rebase_source : 0034d884816464bff4677afbe96c52fa9dca9072
2016-02-03 18:09:49 -08:00
Dave Townsend
f69aed4e4a Bug 1245649: Turn on valid-typeof, no-invalid-regexp, no-empty-pattern and no-empty-character-class. r=felipe
--HG--
extra : commitid : I0LucuJ8vmG
extra : rebase_source : fb8ba80551c21ac3e9aa51631e32bd81606e79aa
2016-02-03 17:38:13 -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
Wes Kocher
7328567952 Backed out changeset 69ec780e039c (bug 1245225) for enabling a bunch of tests that frequently fail CLOSED TREE
--HG--
extra : commitid : KDIMv4ABWEs
2016-02-04 11:17:03 -08:00
Mike de Boer
a8f73b8d27 Bug 1154277: Part 2 - support running Social API documents to run in a remote browser, i.e. the content process. f=mixedpuppy, r=Standard8 2016-02-04 12:50:06 +01:00
Carsten "Tomcat" Book
641304978c Merge mozilla-central to fx-team 2016-02-04 12:08:00 +01:00
Carsten "Tomcat" Book
55b4ed8c4c merge mozilla-inbound to mozilla-central a=merge 2016-02-04 12:02:05 +01:00