Граф коммитов

49289 Коммитов

Автор SHA1 Сообщение Дата
Gurzau Raul 112c3bb6dd Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-04 13:01:13 +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 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
Coroiu Cristina 742a191f7e Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-07-02 12:52:24 +03:00
Stephen A Pohl f203ce21fe Bug 1472272: Allow apps like Thunderbird to switch to the dark theme as well when macOS 10.14+ switches to dark mode. r=dao 2018-07-01 19:40:16 -04:00
Tim Nguyen 91b9be690a Bug 1472286 - Fix checks for legacy themes. r=kmag
MozReview-Commit-ID: 9bkTG2njxJJ

--HG--
extra : rebase_source : 49f6882c19898c604544d19128dfb3700aea2692
2018-06-26 13:46:22 +01:00
Tim Nguyen 7b039888e3 Bug 1472286 - Stop appending @personas.mozilla.org suffix for built-in themes. r=kmag
MozReview-Commit-ID: CCRraTIKbR3

--HG--
extra : rebase_source : f4df49e52887d4974afdb46d68dbaadcfa86be5d
2018-06-26 13:39:47 +01:00
Kanika Saini 1c4f85e109 Bug 1465952 - about:support displays JSON of successfully parsed policies r=Felipe
MozReview-Commit-ID: 8l7RE5ZO0jb

--HG--
extra : rebase_source : 8d268161bfc898899e88233c34c7e95031dd5cb6
2018-06-25 19:45:16 +05:30
Bogdan Tara d0191c4b84 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-01 00:55:44 +03:00
Bogdan Tara de56c19e62 Merge inbound to mozilla-central. a=merge 2018-07-01 00:51:17 +03:00
Ciure Andrei 7e70527778 Backed out 1 changesets (bug 1472272) for xpcshell failures test_TelemetrySession.js CLOSED TREE
Backed out changeset bd57c1549f75 (bug 1472272)
2018-06-30 18:27:41 +03:00
Stephen A Pohl 6e2726ff71 Bug 1472272: Allow apps like Thunderbird to switch to the dark theme as well when macOS 10.14+ switches to dark mode. r=dao 2018-06-30 10:39:34 -04:00
Ciure Andrei 2bb107325a Backed out 1 changesets (bug 1472272) for xpcshell failures test_TelemetrySession.js CLOSED TREE
Backed out changeset 7cb1b45d690f (bug 1472272)
2018-06-30 16:19:05 +03:00
Stephen A Pohl 3bc58ff06d Bug 1472272: Allow apps like Thunderbird to switch to the dark theme as well when macOS 10.14+ switches to dark mode. r=dao 2018-06-30 08:35:57 -04:00
Andreea Pavel c5bb0d1b10 No bug - fix merge conflict mistake r=Aryx on a CLOSED TREE
--HG--
extra : amend_source : 78dc5d2a30fb4208ca64ed8bde4db3fda63cb86b
2018-06-30 13:57:50 +03:00
Andreea Pavel 1bf7ac45bb Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-06-30 13:10:01 +03:00
Andreea Pavel 91a9c110e2 Merge mozilla-inbound to mozilla-central. a=merge 2018-06-30 12:49:32 +03:00
Andrew Osmond b13b2abe4f Bug 1472145 - Part 2. Add telemetry to track how frequently WebP images are used. r=tnikkel data-r=chutten
This patch adds three telemetry scalars to track how WebP is used. All
of these scalars are updated when we do the MIME type confirmation for
an imgRequest when the first data comes in. We know at this point we
decided to load the given content, so there should be minimal false
positives for data the browser loaded but never displayed.

The first two scalars are merely whether or not WebP was observed. One
is for probes, which are tiny WebP images suggested by the Google WebP
FAQ to probe for different aspects of WebP support (lossy, animated,
etc). We want to count this separately as actual WebP content that the
website wishes us to display. Probes will give a measure of how many
users visit websites that probe for WebP support, and content will give
a measure of how many websites don't care and just give us WebP images
regardless.

The third scalar is intended to give a relative measure of how many WebP
images we are being served relative to all other image types. We expect
the ratio to be small, but it would be good to confirm this from the
data.
2018-06-29 20:30:08 -04:00
Michael Ratcliffe b441397dbd Bug 1466880 - Track toolbox session id in event telemetry probes r=yulia
MozReview-Commit-ID: SC6Vm4Qn7n

--HG--
extra : rebase_source : 64f03f765a8060a3478b50e25f248286cdab8e3f
2018-06-29 16:36:24 +01:00