Commit Graph

49312 Commits

Author SHA1 Message Date
Ciure Andrei
647372a88b Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-05 12:53:31 +03:00
Ciure Andrei
2198f99f97 Merge inbound to mozilla-central. a=merge 2018-07-05 12:51:41 +03:00
Kris Maglione
17578086c0 Bug 1472523: Part 4 - Avoid unnecessary domain string duplication in preference observers. r=njn
MozReview-Commit-ID: EMCgMRTDqDn

--HG--
extra : rebase_source : 11731e5a7c53c725396a9c8b46f116071d0c6e31
2018-07-04 14:52:48 -07:00
Jan-Erik Rediger
33b95c3973 Bug 1470897 - Catch invalid data, show a warning and continue processing. r=chutten
MozReview-Commit-ID: GbbBarULSOR

Differential Revision: https://phabricator.services.mozilla.com/D1951

--HG--
extra : moz-landing-system : lando
2018-07-04 19:14:51 +00:00
Daniel Stenberg
dd6df388fc bug 1472659 - add Telemetry::DNS_TRR_FIRST and Telemetry::DNS_TRR_DISABLED r=mcmanus
To help evaluate TRRfirst sucess/error rates.

MozReview-Commit-ID: Ljrbed6UDG2

--HG--
extra : rebase_source : ac604fda9610997cde5aa2993ca15319e6213e89
2018-07-02 13:50:21 +02:00
Coroiu Cristina
e4c49c7635 Merge mozilla-central to mozilla-inbound a=merge on a CLOSED TREE 2018-07-05 03:34:37 +03:00
Coroiu Cristina
a4fb127451 Merge inbound to mozilla-central a=merge 2018-07-05 03:14:19 +03:00
Coroiu Cristina
b204063b4b Backed out 2 changesets (bug 1470333) for xpcshell failures at browser/extensions/formautofill/test/unit/test_getFormInputDetails.js
Backed out changeset dbea1942a32f (bug 1470333)
Backed out changeset 440ee3fab72a (bug 1470333)
2018-07-05 00:24:27 +03:00
Kris Maglione
e1e8de61c8 Bug 1470333: Part 2 - Avoid creating ConsoleAPI instances when debug logging is not enabled. r=MattN
MozReview-Commit-ID: Edck1SgCcDA

--HG--
extra : source : dbea1942a32f8bd565f3d500d79fa19db8916fcc
extra : absorb_source : e50ef26aa346f7890d135637411b8988925b9700
2018-07-04 12:43:21 -07:00
Kris Maglione
5540b0b58f Bug 1470333: Part 2 - Avoid creating ConsoleAPI instances when debug logging is not enabled. r=MattN
MozReview-Commit-ID: Edck1SgCcDA

--HG--
extra : rebase_source : 1152d01ba7456d06a6f66ac65ceba2ef85e4747d
2018-07-04 12:43:21 -07:00
Coroiu Cristina
85d1eae068 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-07-05 03:33:16 +03:00
Drew Willcoxon
b6ae98cf37 Bug 1467627 - Calculate origin frecency as the sum of all URL frecencies instead of the max. r=mak
MozReview-Commit-ID: KZi9C7olvsj

--HG--
extra : rebase_source : e95bf70b9de576fe464d21f17aa0eeb27decb60b
2018-07-04 14:01:28 -07:00
Gurzau Raul
ecaa52212e Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-04 19:33:40 +03:00
Gurzau Raul
6ef785903f Merge inbound to mozilla-central. a=merge 2018-07-04 19:30:07 +03:00
Andrea Marchesini
d0d6e91dfa Bug 1470108 - Write a test to see how the anti-tracking blocking works with cached images, r=aosmond 2018-07-04 15:52:01 +02:00
Bogdan Tara
6eafe1c00b Backed out changeset 9c75cab2e322 (bug 733530) for breaking artifact builds 2018-07-04 14:50:22 +03:00
Gurzau Raul
03062dd04b Merge inbound to mozilla-central. a=merge 2018-07-04 12:58:33 +03:00
Aaron Klotz
c710bd6ee2 Bug 1460022: Part 10 - Update crash reporter to work with revised DLL interceptor interface; r=dmajor 2018-06-27 11:51:40 -06:00
shindli
dd50d1646e Backed out 13 changesets (bug 1460022) for bustages in :/build/build/src/mozglue/tests/interceptor/TestDllInterceptor.cpp(113) on a CLOSED TREE
Backed out changeset b798c3689bbf (bug 1460022)
Backed out changeset c3b3b854affd (bug 1460022)
Backed out changeset ecb1b6fd3134 (bug 1460022)
Backed out changeset 91fed649dd5a (bug 1460022)
Backed out changeset be7032cddad2 (bug 1460022)
Backed out changeset d4a036b976e6 (bug 1460022)
Backed out changeset 5f3dfde41e38 (bug 1460022)
Backed out changeset a16486a6f685 (bug 1460022)
Backed out changeset 69eacc5c3ab8 (bug 1460022)
Backed out changeset 34aa7c29b31e (bug 1460022)
Backed out changeset 00b20c0a7637 (bug 1460022)
Backed out changeset b8e8aea4a01f (bug 1460022)
Backed out changeset 15822d9848d8 (bug 1460022)
2018-07-04 03:37:11 +03:00
Nathan Froyd
92953ed036 Bug 1472789 - make the windows crashreporter not dependent on libxul files; r=ted.mielczarek
This makes one less place where we link code compiled for libxul into a
place that doesn't link mozglue, and is cleaner to boot.  We don't need
the BREAKPAD_NO_TERMINATE_THREAD define that breakpad-windows-libxul
defines because we're not including the handler code in the
crashreporter binary.
2018-07-03 20:09:37 -04:00
Aaron Klotz
390fdc316e Bug 1460022: Part 10 - Update crash reporter to work with revised DLL interceptor interface; r=dmajor 2018-06-27 11:51:40 -06:00
shindli
dcc88f33f9 Backed out 13 changesets (bug 1460022) for bustages in builds/worker/workspace/build/src/dom/plugins/ipc/FunctionHook.h💯24 on a CLOSED TREE
Backed out changeset 0734142a3f35 (bug 1460022)
Backed out changeset 18fbfa7ca685 (bug 1460022)
Backed out changeset 2df129bd5692 (bug 1460022)
Backed out changeset 02a7ed68933f (bug 1460022)
Backed out changeset 221137d1c2de (bug 1460022)
Backed out changeset 9cb0b7a15402 (bug 1460022)
Backed out changeset 18f8f85c0307 (bug 1460022)
Backed out changeset 867a1351efff (bug 1460022)
Backed out changeset 933e0b698f8e (bug 1460022)
Backed out changeset 09da660071e1 (bug 1460022)
Backed out changeset 8bb5142d3f53 (bug 1460022)
Backed out changeset 0ddf581bdaac (bug 1460022)
Backed out changeset 1cd5f9b4a6af (bug 1460022)
2018-07-04 02:49:24 +03:00
Aaron Klotz
991d4389a0 Bug 1460022: Part 10 - Update crash reporter to work with revised DLL interceptor interface; r=dmajor
--HG--
extra : rebase_source : 58d231679430ee151f9adf9f6aec59f7e0be3019
2018-06-27 11:51:40 -06:00
shindli
1384968ccc Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
rename : devtools/shared/gcli/commands/screenshot.js => devtools/server/actors/webconsole/screenshot.js
rename : devtools/shared/gcli/commands/screenshot.js => devtools/shared/webconsole/screenshot-helper.js
2018-07-04 01:35:17 +03:00
shindli
3d917e5382 Merge inbound to mozilla-central. a=merge
--HG--
rename : devtools/shared/gcli/commands/screenshot.js => devtools/server/actors/webconsole/screenshot.js
rename : devtools/shared/gcli/commands/screenshot.js => devtools/shared/webconsole/screenshot-helper.js
2018-07-04 00:56:24 +03:00
Narcis Beleuzu
04b4925170 Backed out 3 changesets (bug 1470528) for build bustages on WebRenderBridgeParent. CLOSED TREE
Backed out changeset 90513daef576 (bug 1470528)
Backed out changeset e438548991db (bug 1470528)
Backed out changeset f859daf8d8d9 (bug 1470528)
2018-07-04 00:41:14 +03:00
Ryan Hunt
73970a1f68 Bug 1470528 - Implement CONTENT_FRAME_TIME for the non-webrender codepath. r=sotaro, data-review=francois
This commit adds the CONTENT_FRAME_TIME metric which tracks the time from the beginning
of a paint in the content process until it is presented in the compositor.

There is existing logging for frame latency which tracks from the beginning of a refresh
tick until the frame is presented. This is undesirable for this probe as javascript and
layout can run in this time period. So this probe uses the existing infrastructure for
logging frame latency, but uses a start time from BeginTransaction in layer manager.

MozReview-Commit-ID: 5z9LS3tsZTY

--HG--
extra : rebase_source : 29ebd6a85dd49ee263d50e3674eec4957ac5f12a
extra : histedit_source : 1aa9f4f31b5bff6736e0c0e576a5611880d0ab33
2018-06-26 13:40:10 -05:00
Ryan Hunt
d34e6c84a0 Bug 1470528 - Implement CONTENT_FRAME_TIME for the non-webrender codepath. r=sotaro
This commit adds the CONTENT_FRAME_TIME metric which tracks the time from the beginning
of a paint in the content process until it is presented in the compositor.

There is existing logging for frame latency which tracks from the beginning of a refresh
tick until the frame is presented. This is undesirable for this probe as javascript and
layout can run in this time period. So this probe uses the existing infrastructure for
logging frame latency, but uses a start time from BeginTransaction in layer manager.

MozReview-Commit-ID: 5z9LS3tsZTY

--HG--
extra : rebase_source : cecb7149f50b2abe7a827dc20f1e8b8ade199258
extra : histedit_source : 581f8f38fc8335575d7275b903a8e1d6a9e5a369
2018-06-26 13:40:10 -05:00
Gijs Kruitbosch
09a107bc24 Bug 1469916, r=ckerschb,jkt
--HG--
extra : rebase_source : 180442deeef92f0e9202d76c5e4e46b630072d99
extra : source : be11a32900298eb6fd4d18ad21b9a699995254c3
2018-06-22 15:41:39 +01:00
Gijs Kruitbosch
9396488809 Backed out changeset be11a3290029 (bug 1469916) for test orange involving Not enough arguments [nsIWebBrowserPersist.saveURI] 2018-07-03 15:45:13 +01:00
Brindusan Cristian
4a5a62d50e Backed out 2 changesets (bug 1472580) for browser chrome LeakSanitizer failures.
Backed out changeset d3d4619e8133 (bug 1472580)
Backed out changeset 4913ce5ab6cb (bug 1472580)
2018-07-04 03:53:39 +03:00
shindli
5cc2efce78 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-04 01:01:25 +03:00
Gregory Szorc
1843095b29 Bug 1471028 - Detect Node.js in configure; r=glandium
The intent is for the build system to soon require Node.js to build
Firefox. But we aren't ready to make Node.js a build requirement
just yet.

The goal of this commit is to implement configure detection for
Node.js so that we can a) work out detection bugs b) give people a
means to validate system compatibility *before* we throw the switch to
require Node.js.

This commit introduces configure logic for finding a Node.js
executable, resolving its version, and validating its suitability.

By default, if Node.js cannot be found or there is an error resolving
its version, we print some warning messages and move on.

If --enable-nodejs is used (not the default), errors are raised
if Node.js cannot be found or its version isn't suitable.

Once we require Node.js, the added code can likely be simplified.
When writing the code, I went out of my way to make failures as
non-fatal as possible. e.g. normally we'd say that failures to run
`node --version` would be fatal. I'm purposefully trying to not have
this configure check break anyone's environment, even if failure
occurs. Again, the goal is to introduce the configure checks first
in a non-fatal way such that we can debug failures so the flag day
transition is simpler.

Differential Revision: https://phabricator.services.mozilla.com/D1818

--HG--
extra : moz-landing-system : lando
2018-07-03 21:24:58 +00:00
Chris Pearce
ab7c639f4f Bug 1472580 - Test that starting play from tab audio indicator overrides block autoplay. r=mconley
MozReview-Commit-ID: 6RB09cd1PHP

--HG--
extra : rebase_source : 8d487d3706dee08100d6f89043a3c404f88d8ed3
2018-06-25 13:25:34 +12:00
Chris Pearce
e3bb1953b3 Bug 1472580 - Gesture activate documents which are played via the tab audio indicator. r=mconley
(This patch was first presented for review in bug 1463919, I've split it off
into its own bug here).

If the user opens a tab in the background, and that tab tries to play media,
we'll delay playing that media until the tab is brought to the foreground.
But the user can explicitly start playback of such delayed media by clicking
the "play" icon we show in the tab indicator. Then if autoplay is disabled,
we'll block the play (unless the origin is whitelisted). This is bad, as the
user has clearly indicated intent to play media in this tab.

So this patch "gesture activates" the root content document when the tab audio
indicator play button is pressed. This means the block autoplay logic will
behave as if there's been a user gesture in the tab (mouse click or keypress),
and not block the play. Gesture activation state is per document, so it does
not persist across document loads.

MozReview-Commit-ID: 3pgrADRrJqt
***
fix

--HG--
extra : rebase_source : 3290571b61cfed5653cd75c859c8520ef5c8ee2f
2018-07-04 09:32:22 +12:00
Tim Huang
8342872016 Bug 1470156 - Part 1: Adding a test case for reassuring mozilla::OriginAttributes::CreateSuffix won't be crashed with invalid characters in firstParty domain. r=baku,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D1845

--HG--
extra : source : 604fb83b6b61c66ad29f46d81fb9fa58bd9b55fc
2018-07-03 13:48:18 +00:00
Brindusan Cristian
580655b2ca Backed out changeset 604fb83b6b61 (bug 1470156) for mochitest failures on test_ext_cookies_first_party.html. CLOSED TREE 2018-07-04 00:01:49 +03:00
Tim Huang
84bc1c32f4 Bug 1470156 - Part 1: Adding a test case for reassuring mozilla::OriginAttributes::CreateSuffix won't be crashed with invalid characters in firstParty domain. r=baku,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D1845

--HG--
extra : moz-landing-system : lando
2018-07-03 13:48:18 +00:00
Chris AtLee
8745339529 Bug 733530: Use .tar.gz for test archives r=gps
Differential Revision: https://phabricator.services.mozilla.com/D1743

--HG--
extra : moz-landing-system : lando
2018-07-03 18:33:02 +00:00
Gijs Kruitbosch
0d0616cad1 Bug 1469916, r=ckerschb,jkt
--HG--
extra : rebase_source : 5c2f49af85664fdb5375f6dc4cc57d6913f1eff9
2018-06-22 15:41:39 +01:00
Paolo Amadini
86d16ff4dd Bug 1472635 - Prevent suppressing executable warnings using the "don't ask me this again" checkbox. r=Gijs
A hidden preference matching "browser.download.manager.alertOnEXEOpen" is kept, but is renamed in order to recover cases where the checkbox was used accidentally.

This also cleans up duplicate unused strings in the "browser" folder.

MozReview-Commit-ID: GyccRiyoVGs

--HG--
extra : rebase_source : 8211ad1c94894535b2b98dde0549d7ab52a879b0
2018-07-02 15:42:58 +01:00
arthur.iakab
403038737b Merge inbound to mozilla-central a=merge 2018-07-03 11:55:46 +03:00
Emilio Cobos Álvarez
312b570c68 Bug 1472529: More nsFind cleanup. r=mats
The general setup is that the State struct is used to iterate over text nodes
explicitly, and keeps references to the ranges so that we don't need to pass all
them around everywhere.

We need to teach nsFindContentIterator to rewind into NAC to be able to get rid
of mIterNode, which was getting out of sync when we failed to rewind to the
anchor node.

MozReview-Commit-ID: 5czYADrm1WX
2018-07-03 02:07:48 +02:00
Tiberius Oros
93bed26733 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-03 00:59:47 +03:00
James Willcox
ce2f2af898 Bug 1467919 - Don't try to clear PushService data if Push disabled r=baku
MozReview-Commit-ID: IkImtSkmUAI
2018-07-02 11:46:55 -05:00
Christian Holler
2a3b6f8ca3 Bug 1471532 - Support Windows in ASan Nightly Reporter builds. r=froydnj
MozReview-Commit-ID: AK2dBOgoazY

--HG--
extra : rebase_source : 1065a2f3b10913ac574cf1187d717f21fc2994e6
extra : histedit_source : 3042e51e496e4e8593b367d89332a9199bf3999c
2018-06-27 11:19:00 +02:00
Rob Wu
a71a738680 Bug 1351663 - Support SameSite flag in browser.cookies API r=rpl
A part of cookies.json is copied from
ea90e37756/chrome/common/extensions/api/cookies.json

MozReview-Commit-ID: LCVN9Y8uHIL

--HG--
extra : rebase_source : 01a958c803b2ce815d50b5184ec7ca78692b5e24
2018-06-09 01:26:26 +02:00
Michael Ratcliffe
1413b11351 Bug 1472627 - Fix event name and field name lengths in Events.yaml r=miker
MozReview-Commit-ID: 5O2Vw8OE7be

--HG--
extra : rebase_source : a7d17471821ec68f26cc6ffe3a1c30822eae19b2
2018-07-02 13:03:08 +01:00
Mark Banner
34178bd8e9 Bug 1470455 - Add the 'expected' arguments to throws/rejects for toolkit. r=mossop
MozReview-Commit-ID: Ln9EpDpTR91

--HG--
extra : rebase_source : 1ea8752d868051306e2d4734b9a2355120cd2daf
2018-06-22 16:02:22 +01:00
Dão Gottwald
03203945f5 Bug 1472275 - Remove PlacesCommandHook.bookmarkPage's aShowEditUI argument. r=standard8
MozReview-Commit-ID: CGYSF1OvoVg

--HG--
extra : rebase_source : 3470cd6522ae3c3e2802dfa2e032643c7fbdcb55
2018-06-29 19:45:35 +02:00