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

602547 Коммитов

Автор SHA1 Сообщение Дата
Christian Holler 535dd9dbc9 Bug 1471647 - Add a pref to override the Telemetry update channel. r=Dexter
MozReview-Commit-ID: 4pRYWT8R8bB

--HG--
extra : rebase_source : 4616ea0374139d7424c88a2d557c98645d7b46a1
2018-06-28 15:05:11 +02:00
Daisuke Akatsuka 66aaca733d Bug 1473201: Change fill-opacity for color path to show actual color. r=jdescottes
MozReview-Commit-ID: HlDpuKkM5Se

--HG--
extra : rebase_source : 347e4a28b91944fca5dc2a3499f00e6f806f3c4d
2018-07-04 11:19:10 +09:00
Margareta Eliza Balazs d898125afb Backed out changeset 27257fdd6c67 (bug 218415) for xpcshell failures in js/xpconnect/tests/unit/test_nuke_sandbox_event_listeners.js on a CLOSED TREE 2018-07-04 16:46:52 +03:00
Robert Bartlensky 50df265ee1 Bug 1471943: Remove release call to ensure socket is closed. r=valentin
MozReview-Commit-ID: 8RC4YdaqAdX

--HG--
extra : rebase_source : 029eeaad0a1eea60a9dce56756160a827b522d30
2018-07-02 11:45:39 +01:00
Henrik Skupin 9a852c721b Bug 1473262 - [wptrunner] Use host 127.0.0.1 Marionette executor to connect to Marionette. r=ato
MozReview-Commit-ID: 1OeCMlg6I2

--HG--
extra : rebase_source : de656c465c9e18a8a8c540c27a71c461c9978f5f
2018-07-04 12:38:21 +02:00
Henrik Skupin 7744986990 Bug 1473262 - [marionette] Force client to always use IPv4 to connect to Marionette. r=ato
Marionette uses nsIServerSocket which only allows to create a IPv4 listener.
On systems where IPv6 has precedence Marionette client will automatically
use the IPv6 address for `localhost` and will fail to connect to Marionette.
As such we should make sure that Marionette client connects to "127.0.0.1"
by default.

MozReview-Commit-ID: Fwzfa6CwBhX

--HG--
extra : rebase_source : c9f3f80074a18bd94b0836e648da4934e5ffa877
2018-07-04 12:26:32 +02:00
Dave Townsend 711c06e26b Bug 1473264: Catch failures to get the favicon expiration. r=mak
This ignores failures to get expiration data from favicon requests. It also adds
some safety to the rest of onStopRequest wrapping it in a try...catch block to
catch any unexpected errors and correctly reject the waiting promise.

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

--HG--
extra : moz-landing-system : lando
2018-07-04 12:36:13 +00:00
Henri Sivonen f63ec4c1fe Bug 218415 - Add window.event. r=smaug.
window.event is set on the wrong window when the target and the
callback are from different realms and the callback is an XPCOM
callback.

MozReview-Commit-ID: HXeUIicdMuT

--HG--
extra : rebase_source : 9679d42cc9df899e2208a3cb72e14fdaabbcad8c
2018-04-04 15:57:17 +03:00
Henri Sivonen 5885cf2259 Bug 1397807 - Allow rustc to emit NEON instructions when clang does on ARMv7 and use NEON in encoding_rs. r=glandium
MozReview-Commit-ID: LNd4jeIGIRg

--HG--
extra : rebase_source : e175f51ec3e8c1097d914d97c6b0d2644dbc4c18
2018-06-05 14:56:11 +03:00
Kartikaya Gupta 7dd8ea5edc Bug 1470901 - Record scene build, scene swap, and render times in telemetry. r=sotaro
MozReview-Commit-ID: 1a6pqa0sSrU

--HG--
extra : rebase_source : d00f3f4d8d8df889d4b3dc62dd1d5f797093c07a
2018-07-04 07:52:22 -04:00
Kartikaya Gupta e587476146 Bug 1470901 - Add telemetry probes for measuring WebRender paint phases. r=chutten
MozReview-Commit-ID: G1QYIdYNP9P

--HG--
extra : rebase_source : 8c6750b0a39710dee47960c8338678cc1cd9f6c6
2018-07-04 07:52:19 -04:00
Simon Fraser 7cc6b92a7a Bug 1473276 'which' is non-standard, use 'command -v' in partials r=mtabara
This will start to cause an error when a newer shellcheck is available in CI

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

--HG--
extra : moz-landing-system : lando
2018-07-04 11:33:13 +00:00
Bogdan Tara 7d88c43095 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-04 14:53:20 +03:00
Bogdan Tara 6eafe1c00b Backed out changeset 9c75cab2e322 (bug 733530) for breaking artifact builds 2018-07-04 14:50:22 +03:00
Nathan Froyd 8d0bead1e6 Bug 1471028 - fix check for outdated node versions; r=bustage, a=bustage
MozReview-Commit-ID: 5OlPH2tUACP
2018-07-04 07:46:08 -04:00
Dave Townsend 9da98f873b Bug 1473004: Don't attempt to guess a favicon in performance tests. r=jmaher
Favicons will cause a small bit of additional network traffic and work in the
content process for any loaded page that doesn't specify a favicon. This turns
off attempts to guess a favicon when one isn't specified in performance tests.

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

--HG--
extra : moz-landing-system : lando
2018-07-04 11:27:23 +00:00
Mark Banner 42da21271d Bug 1419704 - Remove nsIGlobalHistory2 and docshell's nsDownloadHistory as they are redundant. r=mak,bzbarsky
nsIGlobalHistory2 is not implemented by any mozilla-central nor comm-central applications, and hence can be removed. As a result, nsDownloadHistory's implementation can also be removed.

MozReview-Commit-ID: 5bQ2OHsV1Ky

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

--HG--
extra : moz-landing-system : lando
2018-07-04 09:59:45 +00:00
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 e0e1a8b28a Bug 1460022: Part 13 - Update profiler to use revised DLL interceptor interface; r=njn 2018-06-27 14:23:29 -06:00
Aaron Klotz 230d3ee242 Bug 1460022: Part 12 - Update XPCOM to use revised DLL interceptor interface; r=froydnj 2018-06-27 11:52:18 -06:00
Aaron Klotz 75d2812072 Bug 1460022: Part 11 - Update Win32 nsWindow to work with revised DLL interceptor interface; r=mhowell 2018-06-27 11:52:01 -06: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
Aaron Klotz fab8ec82c6 Bug 1460022: Part 9 - Update sandboxing code to work with revised DLL interceptor interface; r=bobowen 2018-06-27 11:51:29 -06:00
Aaron Klotz d88f616e24 Bug 1460022: Part 8 - Update DLL blocklist to work with revised DLL interceptor interface; r=mhowell 2018-06-27 11:51:10 -06:00
Aaron Klotz 23646bdf45 Bug 1460022: Part 7 - Update plugin code to work with revised DLL interceptor interface; r=handyman 2018-06-27 11:50:50 -06:00
Aaron Klotz 1a234ade51 Bug 1460022: Part 6 - Update GMP code to work with new DLL interceptor interface; r=cpearce 2018-06-27 11:49:49 -06:00
Aaron Klotz 6863992ec8 Bug 1460022: Part 5 - Update launcher process to work with new DLL interceptor interface; r=mhowell 2018-06-27 11:49:30 -06:00
Aaron Klotz 902b049f4a Bug 1460022: Part 4 - Update a11y code to reflect new interface for DLL interceptor; r=Jamie 2018-06-27 11:49:17 -06:00
Aaron Klotz 9b29ad04f3 Bug 1460022: Part 3 - Update TestDllInterceptorCrossProcess to reflect new interceptor interface; r=handyman 2018-06-27 11:48:45 -06:00
Aaron Klotz 084151562b Bug 1460022: Part 2 - Update TestDllInterceptor to use new DLL interceptor interface; r=handyman
In addition to updating the interface, this patch also significantly alters the
structure of this test. In particular, it removes the Test* functions in favour
of using template magic.

I did this because I noticed that, in the majority of cases, the stub function
was being called with all zero arguments, and then we check for the expected
error code. I thought that maybe we could replace that repetition with some
templates that instantiate a blank tuple that may then be applied to a callable
object.

See the (MAYBE_)TEST_HOOK* and TEST_DETOUR* macro definitions for detailed
information about how to use these things.

The test successfully completes with both 32-bit and 64-bit builds.
2018-06-27 11:48:28 -06:00
Aaron Klotz 4572b1b561 Bug 1460022: Part 1 - Modify DLL interceptor to use one-time initialization when setting hooks; r=handyman
This patch makes the interceptor's AddHook functions private, and converts
the stubs from simple function pointers into objects containing both the stub
function pointer, plus a INIT_ONCE sentinel.

Setting a hook now requires calling Set or SetDetour on the stub, which ensures
that the hook attempt happens once and only once.

The constructor for the new object is constexpr, so it should not generate
static initializers if it is declared statically.

Note that, as a corollary of the new behaviour, we no longer need to set guards
around any hook setting code. I have removed those when present.
2018-06-27 11:48:05 -06:00
Narcis Beleuzu f978fedf90 Backed out 1 changesets (bug 1468523) for mochitest failures on test_bug475636.html. CLOSED TREE
Backed out changeset 93540ca16c31 (bug 1468523)
2018-07-04 04:49:52 +03:00
Jamie Nicol a1d1e03224 Bug 1470758 - Ensure we don't merge items with the same frame. r=mattwoodrow 2018-07-03 21:31:26 -04: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
Dragana Damjanovic f4b28212c5 Bug 1468523 - Fix the history entry for http-equiv=refresh. r=smaug 2018-07-03 20:18:12 -04: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 6cc49d76d9 Bug 1460022: Part 13 - Update profiler to use revised DLL interceptor interface; r=njn 2018-06-27 14:23:29 -06:00
Aaron Klotz 576052018b Bug 1460022: Part 12 - Update XPCOM to use revised DLL interceptor interface; r=froydnj 2018-06-27 11:52:18 -06:00
Aaron Klotz f6d3eb0eb2 Bug 1460022: Part 11 - Update Win32 nsWindow to work with revised DLL interceptor interface; r=mhowell 2018-06-27 11:52:01 -06: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
Aaron Klotz a65c046384 Bug 1460022: Part 9 - Update sandboxing code to work with revised DLL interceptor interface; r=bobowen 2018-06-27 11:51:29 -06:00
Aaron Klotz 87175de922 Bug 1460022: Part 8 - Update DLL blocklist to work with revised DLL interceptor interface; r=mhowell 2018-06-27 11:51:10 -06:00
Aaron Klotz 0f899ac198 Bug 1460022: Part 7 - Update plugin code to work with revised DLL interceptor interface; r=handyman 2018-06-27 11:50:50 -06:00
Aaron Klotz 6d8cf290f7 Bug 1460022: Part 6 - Update GMP code to work with new DLL interceptor interface; r=cpearce 2018-06-27 11:49:49 -06:00
Aaron Klotz 6ed3d9c74f Bug 1460022: Part 5 - Update launcher process to work with new DLL interceptor interface; r=mhowell 2018-06-27 11:49:30 -06:00
Aaron Klotz 349c64cd00 Bug 1460022: Part 4 - Update a11y code to reflect new interface for DLL interceptor; r=Jamie 2018-06-27 11:49:17 -06:00
Aaron Klotz ef8970296d Bug 1460022: Part 3 - Update TestDllInterceptorCrossProcess to reflect new interceptor interface; r=handyman 2018-06-27 11:48:45 -06:00
Aaron Klotz 1c39ff82df Bug 1460022: Part 2 - Update TestDllInterceptor to use new DLL interceptor interface; r=handyman
In addition to updating the interface, this patch also significantly alters the
structure of this test. In particular, it removes the Test* functions in favour
of using template magic.

I did this because I noticed that, in the majority of cases, the stub function
was being called with all zero arguments, and then we check for the expected
error code. I thought that maybe we could replace that repetition with some
templates that instantiate a blank tuple that may then be applied to a callable
object.

See the (MAYBE_)TEST_HOOK* and TEST_DETOUR* macro definitions for detailed
information about how to use these things.

The test successfully completes with both 32-bit and 64-bit builds.
2018-06-27 11:48:28 -06:00
Aaron Klotz 984eed3371 Bug 1460022: Part 1 - Modify DLL interceptor to use one-time initialization when setting hooks; r=handyman
This patch makes the interceptor's AddHook functions private, and converts
the stubs from simple function pointers into objects containing both the stub
function pointer, plus a INIT_ONCE sentinel.

Setting a hook now requires calling Set or SetDetour on the stub, which ensures
that the hook attempt happens once and only once.

The constructor for the new object is constexpr, so it should not generate
static initializers if it is declared statically.

Note that, as a corollary of the new behaviour, we no longer need to set guards
around any hook setting code. I have removed those when present.
2018-06-27 11:48:05 -06:00