Commit Graph

567423 Commits

Author SHA1 Message Date
Michael Froman
7eb5cd2f86 Bug 1413709 - add tests to detect improper ice restart by answer. r=bwc
Adding tests that would have shown the issue fixed in Bug 1405940.
If the answer during a renegotiation has modified ICE credentials,
it should cause an error.  These tests check for that error.

MozReview-Commit-ID: 9u8GGpslDdK

--HG--
extra : rebase_source : 6b204cefa96e95abd61d9a57ddd643dd81a41254
2017-11-01 11:56:35 -05:00
Chris Manchester
914e5042b2 Bug 1411712 - Fixup DEFFILE to be added to EXTRA_DEPS on windows when GNU_CC is set. r=mshal 2017-11-02 23:03:01 +01:00
Henrik Skupin
ee8b5842a8 Bug 1413852 - Improve failure message for socket connection attempts. r=automatedtester
Instead of a general socket timeout failure indicate that no hello
data has been received through the socket right after the call to
connect().

MozReview-Commit-ID: EPNiCLNyFFH

--HG--
extra : rebase_source : 05c45e99b3250f847a5c8120f23ecc9dd154212c
2017-11-02 12:03:03 +01:00
Henrik Skupin
4b8ddfe81b Bug 1413852 - TcpTransport.receive() doesn't obey current socket timeout. r=automatedtester
The getter for socket_timeout should always return the current socket
timeout from the socket instance first, and only fallback to the
private property if no socket instance exists.

This ensures that all methods will always operate on the current
socket timeout value.

Also using a timeout of 2s for receiving the hello string might be too
less for slow running builds. To prevent intermittent failures for
start_session, a good value might be 60s.

MozReview-Commit-ID: HywjFfClrRr

--HG--
extra : rebase_source : 4207e46c99445ddf7e0c4b653c865e76eb9a9c23
2017-11-02 11:33:23 +01:00
Chris Manchester
e84068a5db Bug 1411712 - Move libfuzzer ldflags filtering to moz.build. r=mshal
MozReview-Commit-ID: 50aeTifZ1gT

--HG--
extra : rebase_source : b89709f4bb5027061ab8da0fee0e864d4f25bb97
2017-11-02 11:47:49 -07:00
Chris Manchester
2a7d541658 Bug 1411712 - Move ldflags munging by the clang-plugin to moz.build r=mshal
MozReview-Commit-ID: JTZlXscUvlX

--HG--
extra : rebase_source : 96d7963429a362ac246b5ff93c828709168ef3cf
2017-11-02 11:47:48 -07:00
Chris Manchester
3b58a05af7 Bug 1411712 - Move symbol version script ldflags for js to moz.build r=mshal
MozReview-Commit-ID: D1NqJRFjVI2

--HG--
extra : rebase_source : a1762260f56812998302eccf27ceb425da8906ad
2017-11-02 11:47:48 -07:00
Chris Manchester
33f036289d Bug 1411712 - Move symbol version script ldflags for libxul to moz.build r=mshal
MozReview-Commit-ID: JDAIC6yzkx7

--HG--
extra : rebase_source : 4cf1cf22bb0f5e52469aef0f15f865837003fcdb
2017-11-02 11:47:48 -07:00
Chris Manchester
1877e49bc4 Bug 1411712 - Move symbol version script flags for arm in mozglue to moz.build. r=mshal
MozReview-Commit-ID: II250cfTmip

--HG--
extra : rebase_source : 70a8764e3bb646c54005fb25dc4343fdc201bade
2017-11-02 11:47:48 -07:00
Chris Manchester
8bc7bdf347 Bug 1411712 - Move LDFLAGS to mozbuild. r=mshal
MozReview-Commit-ID: A8cZ2FUveAf

--HG--
extra : rebase_source : 5f0e9b55c38f3b2382b469bbc886c57696f09792
2017-11-02 11:47:48 -07:00
Chris Manchester
857b599beb Bug 1411712 - Use AC_SUBST_LIST instead of AC_SUBST for vairables from configure contributing to LDFLAGS. r=mshal
MozReview-Commit-ID: 21jJY8oanQB

--HG--
extra : rebase_source : 5ba85c10bc64fd8817fda956dab3bc6965679eff
2017-11-02 11:47:48 -07:00
Chris Manchester
4cfd6c93c3 Bug 1411712 - Make a new variable for pgo flags added to LDFLAGS. r=mshal
The make backend is the only thing that is aware of PROGILE_GEN and
PROFILE_USE, so we move these ldflags to their own variable while
converting the remainder of ldflags to mozbuild.

MozReview-Commit-ID: GwbPD6Q4Oyn

--HG--
extra : rebase_source : 3c90def9ee8cd949dd135ba8fa9b192f114f6727
2017-11-02 11:47:48 -07:00
Chris Manchester
f8a3e49e93 Bug 1411712 - Make a new variable for LDFLAGS to be set by Makefile.in that aren't intended to be handled by other backends. r=mshal
These flags are only relevant on OS X, and will not be necessary soon, so this
commit moves them to a separate variable while we move the remainder of the
ldflags to mozbuild.

MozReview-Commit-ID: 1NDgz3HIYpT

--HG--
extra : rebase_source : 6e9b5f5a5be5ff916db89a0b73896b9058eb040e
2017-11-02 11:47:47 -07:00
Francois Marier
89c2da22e2 Bug 1411450 - Only build files required for the "lite" protobuf runtime. r=mossop
All of our .proto are optimized for LITE_RUNTIME so we can use
libprotobuf-lite instead of the full libprotobuf.

devtools does need something that's not part of libprotobuf-lite
(gzip streams) and so we add that to our builds.

MozReview-Commit-ID: BW8WnTC6pv

--HG--
extra : rebase_source : ad5f3832c29f1337ecfd4d7d88d09563c1794bca
2017-10-27 16:44:11 -07:00
Francois Marier
7821a2719e Bug 1411450 - Add the protobuf version to LayerScopePacket.proto. r=mattwoodrow
This is essentially a no-op but it does silence the following warning
whenever the *.pb.* files are re-generated:

[libprotobuf WARNING google/protobuf/compiler/parser.cc:546] No syntax specified for the proto file: LayerScopePacket.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)

MozReview-Commit-ID: 6L1TXHLcjsj

--HG--
extra : rebase_source : c88211414242c921eeefec27476c4a52e6c0974a
2017-10-26 16:15:30 -07:00
Francois Marier
b591fa63a6 Bug 1411450 - Switch devtools CoreDump.proto to the LITE_RUNTIME. r=fitzgen
The "lite" runtime allows us to pull in a lot less of the protocol
buffers library:

https://developers.google.com/protocol-buffers/docs/proto#options

MozReview-Commit-ID: 2m41fqa9j09

--HG--
extra : rebase_source : 06fca11cba46ec20b58a33eef97df4157902725c
2017-10-26 16:12:51 -07:00
Nick Alexander
a655304bb6 Bug 1255042 - Remove mobile/android/Makefile.in. r=ted.mielczarek
MozReview-Commit-ID: GS8SYaXPJbp

--HG--
extra : rebase_source : b5e7fb5dac1dc9d689b237366ef2c71ec3d80970
2017-11-02 13:46:54 -07:00
Jared Wein
b8ffd9d167 Bug 1410666 - Remove unused PanelUI-popup code. r=mconley
Original patch authored by Tim Nguyen (:ntim).

MozReview-Commit-ID: 6qQnRMQXPTH

--HG--
extra : rebase_source : 319d160f3057173359f02adba44bdcc12a68e209
2017-10-31 14:38:15 -04:00
Jamie Nicol
cc72c8cff9 Bug 1413693 - Ensure data copied from discarded front buffer isn't also painted. r=mstange
Bug 1092294 introduced a regression in to the code to copy from
the discarded front buffers to the new backbuffers in
SingleTiledContentClient. The aim was to ensure that if locking the
the frontbuffers failed, meaning the region could not be copied, that it
would be painted instead. However due to incorrect logic the
region would both be copied and painted in cases where
there was no onWhite buffers.

To fix this we take both locks (frontLock, and frontOnWhiteLock if
required) up front, so that we either copy both buffers or neither.

MozReview-Commit-ID: 3iepOuweruk

--HG--
extra : rebase_source : 2e2f951c3315f2809191f43a9d5ec4a939c82724
2017-11-02 11:46:08 +00:00
Sebastian Hengst
f3fd2cb9c7 Backed out 2 changesets (bug 1410416) for linting failures in browser/components/preferences/in-content/tests/browser_siteData.js. r=backout
Backed out changeset b0d6deea2bca (bug 1410416)
Backed out changeset c2d97da8bfed (bug 1410416)
2017-11-02 21:30:24 +01:00
Christian Holler
49da770167 Bug 1413696 - Add default prefs for ASan Reporter. r=froydnj
MozReview-Commit-ID: 9a1uLem2UOQ

--HG--
extra : rebase_source : c5ebd17f06221a5045dd864d74bc7365227e4fbf
2017-11-01 22:32:19 +01:00
Ray Lin
8d716cdae1 Bug 1413473 - Verify current focused input to determine whether the opening popup is for form autofill in order not to accidentally open new tab in wrong result types. r=lchang
MozReview-Commit-ID: JFvSxHsKC1P

--HG--
extra : rebase_source : 0c4a134632392f7f7e3c5d7c60a0b36c336996f9
2017-11-02 13:42:12 +08:00
Alex Gaynor
abe0912713 Bug 1411984 - Use buffered IO in the content process when writing print data for IPC; r=haik
MozReview-Commit-ID: DJuOP2wtku5

--HG--
extra : rebase_source : b14c2e67adb0c4802297013ea80ec068fb7196c4
2017-10-26 15:08:39 -04:00
Fischer.json
418608a14e Bug 1410416 - Part 2 - Add test cases about removing service workers, r=baku
MozReview-Commit-ID: 6MeilGCkomc

--HG--
extra : rebase_source : 1923102760f30e16af214b3d4670bce8c806974c
2017-11-01 13:43:58 +08:00
Fischer.json
ddd234f4c2 Bug 1410416 - Part 1: Have SiteDateManager.jsm call propagateUnregister to remove service workers, r=baku
MozReview-Commit-ID: BNUhm6a2x1b

--HG--
extra : rebase_source : cfac47219f63f346e6e7d6fb9bdb52bfdb8c3664
2017-10-20 21:35:58 +08:00
Kevin Chen
24e2b68f15 Bug 1409243 - Enable dotted and dashed border support for webrender; r=ethlin
MozReview-Commit-ID: 4TGeavMJY2Q

--HG--
extra : rebase_source : 1638dcf7abf66736e17b632fa2ae1f19bbe5e920
2017-10-25 10:17:41 +08:00
Mark Striemer
73701c8f36 Bug 1386018 - Tell users that the default search engine was set by an extension r=aswan,bsilverberg,jaws
MozReview-Commit-ID: A7uJ2lN0cLF

--HG--
extra : rebase_source : ef7f20b2efd4034116dafa7fe91ee454155bee1b
2017-10-18 14:54:54 -05:00
Jan Steffens
ba56e46088 Bug 1314968 - Explicitly specify the AccessPoint interface name. r=kanru
The DBus specification allows passing an empty string as the interface to the
org.freedesktop.DBus.Properties.GetAll call to get all properties, throwing away the namespace
(interface) information.

However, GDBus does not allow this. When NetworkManager moved to using GDBus, Firefox lost the
ability to retrieve access points from NetworkManager.

Since we're only interested in properties from the org.freedesktop.NetworkManager.AccessPoint
interface, name it explicitly. This works with both the old and the new NetworkManager.

MozReview-Commit-ID: Kc5HaYvwfRZ

--HG--
extra : rebase_source : e1550d327e5a4ea05b8d35d98ef7b27c0add709b
2017-09-16 18:35:20 +02:00
Jan Steffens
826cabc8e1 Bug 1314968 - Disentangle nsWifiScannerDBus::SendMessage. r=kanru
Make a copy of the function and specialize it for each message sent.
Avoids the mess of comparing the method name to figure out what to do.

MozReview-Commit-ID: 1KlZyc8Pc9I

--HG--
extra : rebase_source : 1f9c841e42745ecb311c53cd364ffe60b5593258
2017-09-16 18:35:18 +02:00
Markus Stange
bd9cd045d4 Bug 1400259 - Add will-change:transform to the panel in order to work around a compositor bug. r=mconley
The bug has something to do with ContainerLayer nesting changes being mishandled:
a new ContainerLayer for the transform is being inserted around the container
layer for the opacity, which has an intermediate surface.
This change makes the outer ContainerLayer permanent so that the dynamic
insertion case is not hit.

MozReview-Commit-ID: lETpsr4YJi

--HG--
extra : rebase_source : 7b82976c7c91328c72b54a931732447d82a3ce6d
2017-11-02 15:23:41 -04:00
Zibi Braniecki
d0f7eab519 Bug 1411951 - Use mozpack.path.normsep when generating chrome entry paths for langpack manifest.json. r=mshal
MozReview-Commit-ID: L8kVm1ISkzD

--HG--
extra : rebase_source : 8a479adbd0c00ea3fa8196c4911dd407003e5328
2017-10-28 21:40:12 -07:00
Andrew Halberstadt
d92b629dc4 Bug 1408352 - Add 'always_target' to lint and python unittest tasks, r=dustin
The mochitest and reftest selftest tasks are excluded because they also
schedule several builds as dependencies which is likely going to be unexpected
behaviour.

MozReview-Commit-ID: 9eoVJ5qpAMO

--HG--
extra : rebase_source : 469521feff3ba42506ffb54bfe8f009bf9ab9da6
2017-10-30 09:43:52 -04:00
Andrew Halberstadt
7e8349c9a0 Bug 1408352 - [taskgraph] Implement 'always_target' attribute, r=dustin
Tasks that have the 'always_target' attribute set will be always be included
in the target_task_graph, regardless of target task filtering.

Furthermore, if they were only added because of this attribute (i.e, the
filters would have excluded the task), then the task will be a candidate for
optimization even if the 'optimize_target_tasks' parameter is False.

MozReview-Commit-ID: 9eoVJ5qpAMO

--HG--
extra : rebase_source : 9635002720d088ca9870649f3143d6293c666610
2017-10-30 09:41:51 -04:00
Francesco Lodolo (:flod)
32428ab567 Bug 1413464 - [oc] Search engine setup for Firefox for Occitan r=delphine
I've also renamed wikipediaro.xml to wikipedia-ro.xml, since it's the only file without an hyphen.

MozReview-Commit-ID: BXh2t5NzrSt

--HG--
rename : browser/locales/searchplugins/wikipediaro.xml => browser/locales/searchplugins/wikipedia-ro.xml
extra : rebase_source : 40e95cff70c1de7aa26fcc21f3b1f49e383bf3c2
2017-11-02 17:40:49 +01:00
Mike Cooper
d09cfa3ca5 Bug 1413643 - Sync shield recipe-client v76.1 from Github (commit 10b351b) r=RyanVM
MozReview-Commit-ID: FBP54WWP00S

--HG--
extra : rebase_source : 52fb22536a43ba0567a59539569f93a78c272d80
2017-11-01 11:49:24 -07:00
Nick Alexander
2662541c7e Bug 1405396 - Post: Make it easier to debug l10n builds. r=maliu
This adds the R.txt files produced by the build -- timestamped, so
they are kept in order -- to the Task Cluster artifacts, for later
comparison.

MozReview-Commit-ID: 3hj6XjFDIE4

--HG--
extra : rebase_source : 04c1bcd2bf62fd193541fa92dd8841db102f6b5a
extra : source : 5a00c3642c972385cd212fe8b15240bce6acef50
2017-10-20 11:07:21 -07:00
Nick Alexander
99d78dc8bc Bug 1405396 - Post: Run geckoview tests on all but non-Gradle Android builds. r=gbrown
As we transition to Gradle (and only Gradle) Fennec builds, we're
turning the Gradle builds (Bg) into non-Gradle builds (Bng).  It's not
worth the effort to rename "gradle" to "non-gradle", so this is a
confusing looking patch that turns on GeckoView tests for everything
but Bng (which has kept the "gradle" name).

MozReview-Commit-ID: C1PlsehRwJf

--HG--
extra : rebase_source : f8bfc730ab963833f43d2f19b11027db8e49a06a
extra : source : 50006730ade8dd1a12ec0eec7113f802e6b8497d
2017-10-19 13:58:44 -07:00
Nick Alexander
260954c89b Bug 1405396 - Build with Gradle by default; turn Bg (Gradle) into Bng (non-Gradle). r=maliu
This also turns the tier 2 job B(n)g into tier 1, since moz.build is
still tier 1.  It also pushes a lot of GeckoView related tasks into
the main builds, since they should run as part of Gradle builds.

This also removes unused tooltool manifests; the jobs that used these
manifests use only toolchain tasks now.

MozReview-Commit-ID: 2GmnJ7joCTT

--HG--
extra : rebase_source : 75cd2dfb51e0e1b510f5e618c2dc881cf5f22bf2
extra : source : 6b95b09d6afbb83ba89c47b237dfce6e15587bbe
2017-10-18 13:05:54 -07:00
Nick Alexander
8f5ac292c2 Bug 1405396 - Pre: Set file.encoding=utf-8 for GeckoView packaging. r=maliu
We already had a work-around in place for Gradle invocations, but
apparently that wasn't enough for the Maven deployer, which must
launch its own JVM, which doesn't have the correct file encoding on
Linux.

MozReview-Commit-ID: 4z1IEZBmLaz

--HG--
extra : rebase_source : 951bb4c75ecba0d83cb86e728e1164dda99a6a08
extra : source : 6dd2abe095b82ed1a0fed4e687a7bbf3a5e036de
2017-10-18 19:04:10 -07:00
Nick Alexander
0436784ef8 Bug 1405396 - Pre: Configure geckoview test for x86. r=gbrown
MozReview-Commit-ID: BITEuWnJPUK

--HG--
extra : rebase_source : dcf5c06f97dea682e29c46b8e7f7cd9f3ee58888
extra : source : 11b7ab2c3c206915179080be13777e0d5a8d4c98
2017-10-20 18:07:01 -07:00
Josh Matthews
58a2d9e8a4 servo: Merge #19070 - Enable CSS tests (from jdm:csstests); r=metajack
Do not merge this; I'm looking into what it takes to stop running the test-css jobs.

Source-Repo: https://github.com/servo/servo
Source-Revision: 86b9e7d7d604e00cfd7ab63351d3221cd5cf872e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d8969e7ae8baab672e88a4f8812872a1f86781b4
2017-11-02 11:35:01 -05:00
Luciano I
e4007fdbe7 Bug 1375223 - Remove Async.querySpinningly. r=kitcambridge
MozReview-Commit-ID: bMo1jyIY5g

--HG--
extra : rebase_source : ac69fde2cb8216300bdb9e7d19528c15cdceb7c8
2017-10-31 18:50:31 -04:00
David Keeler
6922b82c52 bug 1357815 - 4/4: go a bit overboard on testcases for SHA-256 support in add-on signatures r=jcj
MozReview-Commit-ID: K4WYTYPXpi1

--HG--
rename : security/manager/ssl/tests/unit/test_signed_apps/signed_app_sha1_and_sha256.zip => security/manager/ssl/tests/unit/test_signed_apps/app_mf-1-256_sf-1-256_p7-1-256.zip
rename : security/manager/ssl/tests/unit/test_signed_apps/sha1_and_sha256_manifest_sha1_signature_file.zip => security/manager/ssl/tests/unit/test_signed_apps/app_mf-1-256_sf-1_p7-1.zip
rename : security/manager/ssl/tests/unit/test_signed_apps/sha1_and_sha256_manifest_sha256_signature_file.zip => security/manager/ssl/tests/unit/test_signed_apps/app_mf-1-256_sf-256_p7-1.zip
rename : security/manager/ssl/tests/unit/test_signed_apps/sha1_manifest_sha1_and_sha256_signature_file.zip => security/manager/ssl/tests/unit/test_signed_apps/app_mf-1_sf-1-256_p7-1.zip
rename : security/manager/ssl/tests/unit/test_signed_apps/signed_app.zip => security/manager/ssl/tests/unit/test_signed_apps/app_mf-1_sf-1_p7-1.zip
rename : security/manager/ssl/tests/unit/test_signed_apps/signed_app_sha256_signature_file.zip => security/manager/ssl/tests/unit/test_signed_apps/app_mf-1_sf-256_p7-1.zip
rename : security/manager/ssl/tests/unit/test_signed_apps/sha256_manifest_sha1_and_sha256_signature_file.zip => security/manager/ssl/tests/unit/test_signed_apps/app_mf-256_sf-1-256_p7-1.zip
rename : security/manager/ssl/tests/unit/test_signed_apps/signed_app_sha256_manifest.zip => security/manager/ssl/tests/unit/test_signed_apps/app_mf-256_sf-1_p7-1.zip
rename : security/manager/ssl/tests/unit/test_signed_apps/signed_app_sha256.zip => security/manager/ssl/tests/unit/test_signed_apps/app_mf-256_sf-256_p7-256.zip
extra : rebase_source : f56c5c9309590bd37d933e8e8fbff8535296b874
2017-10-27 11:20:33 -07:00
David Keeler
6034b39937 bug 1357815 - 3/4: support SHA256 in PKCS#7 signatures on add-ons r=dveditz,jcj
As a result of this patch, the hash algorithm used in add-on signature
verification will come from the PKCS#7 signature. If SHA-256 is present, it will
be used. SHA-1 is used as a fallback. Otherwise, the signature is invalid.

This means that, for example, if the PKCS#7 signature only has SHA-1 but there
are SHA-256 hashes in the signature file and/or manifest file, only the SHA-1
hashes in the signature file and manifest file will be used, if they are present
(and verification will fail if they are not present). Similarly, if the PKCS#7
signature has SHA-256, there must be SHA-256 hashes in the signature file and
manifest file (even if SHA-1 is also present in the PKCS#7 signature).

MozReview-Commit-ID: K3OQEpIrnUW

--HG--
extra : rebase_source : 704a2a18e166bfaf3e3d944d13918054bd012000
2017-10-24 15:27:53 -07:00
David Keeler
7617737c9f bug 1357815 - 2/4: refactor away unnecessary parts of certificate verification in add-on signature verification r=jcj
MozReview-Commit-ID: 4JKWIZ0wnuO

--HG--
extra : rebase_source : 7f032046b3a81c2b3f2135451af07a1e38e94664
2017-10-24 13:32:02 -07:00
David Keeler
543678ab80 bug 1357815 - 1/4: move VerifyCMSDetachedSignatureIncludingCertificate to where it's used r=jcj
MozReview-Commit-ID: JsBPGhDxQoS

--HG--
extra : rebase_source : 88a1c0b73762f28c53ffd645f2eba260743a4062
2017-10-24 13:18:14 -07:00
Michael Ratcliffe
40b888f59e Bug 1412023 - Memory Tool to ES6 classes r=gregtatum
@gregtatum If you have made changes that would make it hard to land this then I can recreate the patch any time.

I did need to make a few manual changes to get this to work but it is probably a lot easier for me to regenerate the patch than for you to resolve any merge conflicts.

Because the changes are generic and mostly automated you don't need to take too long looking at every detail but you probably want to take a quick look over it. The main thing with a change like this is a green try.

MozReview-Commit-ID: 1p3ts7na1YF

--HG--
extra : rebase_source : 26c96b20960f276e09603482c0a646e9911a3df3
2017-10-26 17:35:47 +01:00
Andreas Pehrson
368e21e1b1 Bug 1407542 - Remove back reference to consumer in MediaStreamTrack. r=jib,smaug
It doesn't matter that this is traversed by the cycle collector when the track is live and playing.
It prevents cycle collection of any number of MediaStreams that contain (thus consume) this track.

MozReview-Commit-ID: GvdLfWDTVQQ

--HG--
extra : rebase_source : 29e65d25bd7cdf03e32ff4aa736b0ff762ebf1c1
2017-10-10 20:48:58 +02:00
Andreas Pehrson
a0b90be9da Bug 1407542 - Add mochitest checking that MediaStreams can be GCed. r=jib
MozReview-Commit-ID: Aypf1QAG7o8

--HG--
extra : rebase_source : bb0965bf510a429dfa38f4ced1dfb198d3bae016
2017-10-24 10:35:02 +02:00
Andreas Pehrson
83671598ea Bug 1407542 - Implement static chrome-only MediaStream method to get number of MSG-MediaStreams. r=jib,smaug
MozReview-Commit-ID: B0nDXzMBGlJ

--HG--
extra : rebase_source : 920fe77580a82f305e2604b89816b0bb3846c0e4
2017-10-23 19:09:47 +02:00