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

1403 Коммитов

Автор SHA1 Сообщение Дата
Butkovits Atila 2e34e363b9 Backed out 2 changesets (bug 1696251) for causing js-bench-sm failures. CLOSED TREE
Backed out changeset 1c84c9a34575 (bug 1696251)
Backed out changeset e169193b7423 (bug 1696251)
2021-04-23 02:53:36 +03:00
Alex Lopez d1a82b8092 Bug 1696251 - Pass MachCommandBase object as first argument for Mach Commands. r=mhentges,remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers
As an intermediate step to allow mach commands as standalone functions, the MachCommandBase
subclass instance that currently corresponds to self has to be made available as a separate
argument (named command_context).

Differential Revision: https://phabricator.services.mozilla.com/D109650
2021-04-22 18:56:15 +00:00
Cosmin Sabou 785f9b8a87 Backed out changeset d4a5d8567977 (bug 1696251) for non-unified build bustages. CLOSED TREE 2021-04-19 19:43:31 +03:00
Alex Lopez 75dfe35468 Bug 1696251 - Pass MachCommandBase object as first argument for Mach Commands. r=mhentges,remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers
As an intermediate step to allow mach commands as standalone functions, the MachCommandBase
subclass instance that currently corresponds to self has to be made available as a separate
argument (named command_context).

Differential Revision: https://phabricator.services.mozilla.com/D109650
2021-04-19 16:15:11 +00:00
Dana Keeler 2a52292ef3 Bug 1699294 - add 'mach generate-test-certs' command to generate test certificate and key artifacts r=glandium
In bug 1174288 and related bugs we created a framework for generating
test certificates (and later, keys) from specifications at build time. This
turned out to take too long to run on each build, so this system was largely
left disabled (see all of the "# Temporarily disabled. See bug 1256495."
comments removed in this patch). This patch introduces a mach command
("generate-test-certs") that can generate test certificates and keys. The
expectation is that when a developer needs to add new such artifacts, they can
use this new command. Similarly, when the artifacts need to be updated (for
example, because they've expired), this command can regenerate them all at
once.

Differential Revision: https://phabricator.services.mozilla.com/D108869
2021-04-14 22:24:11 +00:00
Bogdan Tara 4de76f4cdf Backed out 8 changesets (bug 1696531) for test_dmd.js and test_subprocess.js xpc failures CLOSED TREE
Backed out changeset 907102743c5f (bug 1696531)
Backed out changeset c631966a64c0 (bug 1696531)
Backed out changeset 754ce2bf288a (bug 1696531)
Backed out changeset 7129c9cfe519 (bug 1696531)
Backed out changeset dba2bea61b29 (bug 1696531)
Backed out changeset 33f3e86a5ce8 (bug 1696531)
Backed out changeset 7dcbb17a1578 (bug 1696531)
Backed out changeset 1f982303513f (bug 1696531)
2021-04-14 17:49:29 +03:00
Andrew Halberstadt cc560a87f0 Bug 1696531 - Keep Python 2 compatibility in tools/rb/fix_stacks.py for now, r=bhearsum
This file is also used by some browser-chrome tests which are still Python 2
for now. So let's not drop PY2 compat just yet.

Depends on D109728

Differential Revision: https://phabricator.services.mozilla.com/D111728
2021-04-14 13:54:27 +00:00
Andrew Halberstadt 1cfd38fd15 Bug 1696531 - [xpcshell] Fix Python 3 error in selftest.py, r=bhearsum
Depends on D109732

Differential Revision: https://phabricator.services.mozilla.com/D110546
2021-04-14 13:54:24 +00:00
Ben Hearsum 25ec2678b9 Bug 1696531: add required import to xpcshell/selftest.py r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D109732
2021-04-14 13:54:24 +00:00
Ben Hearsum 42620225bf Bug 1696531: fix dmd.py and related tools to support python 3 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D109731
2021-04-14 13:54:24 +00:00
Butkovits Atila 8b7a0827b5 Backed out 7 changesets (bug 1696531) for causing mochitest failures complaining about arguments.
Backed out changeset 52ba6bf74b55 (bug 1696531)
Backed out changeset c907d8324bcc (bug 1696531)
Backed out changeset 1f7ffffa368f (bug 1696531)
Backed out changeset 5002c2053444 (bug 1696531)
Backed out changeset 0b8c56f2f5c3 (bug 1696531)
Backed out changeset a8d8adae39b6 (bug 1696531)
Backed out changeset a7f9bd32a4c9 (bug 1696531)
2021-04-12 20:48:48 +03:00
Andrew Halberstadt 47c981510f Bug 1696531 - [xpcshell] Fix Python 3 error in selftest.py, r=bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D110546
2021-04-12 16:31:22 +00:00
Ben Hearsum 4e1b824a3f Bug 1696531: add required import to xpcshell/selftest.py r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D109732
2021-04-12 16:31:21 +00:00
Ben Hearsum df62fb3800 Bug 1696531: fix dmd.py and related tools to support python 3 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D109731
2021-04-12 16:31:21 +00:00
Agi Sferro 74aceaaf86 Bug 1700917 - Actually initialize the profile in GeckoView xpcshell. r=jmaher
Looks like spoofing the event is not enough as GeckoView intialization code
(indirectly) uses the profile folder.

We also catch exceptions coming from the init code and throw them appropriately
so we don't ignore errors during initialization.

Differential Revision: https://phabricator.services.mozilla.com/D109797
2021-03-26 18:30:16 +00:00
Agi Sferro 3120e2e816 Bug 1567341 - Run xpcshell-test in a service on Android. r=firefox-build-system-reviewers,mhentges
This is done so that xpcshell-test runs with a Dalvik VM and has access to all
the java-implemented bits of GeckoView.

Differential Revision: https://phabricator.services.mozilla.com/D106213
2021-03-24 21:49:39 +00:00
Agi Sferro bc9ab239dc Bug 1567341 - Add --no-install to xpcshell-test for Android. r=firefox-build-system-reviewers,nalexander
This is consistent to geckoview-junit and mochitest.

Differential Revision: https://phabricator.services.mozilla.com/D106210
2021-03-24 21:49:37 +00:00
Agi Sferro 92b119c179 Bug 1567341 - Add _TEST_CWD to xpcshell's head.js file. r=jmaher
This variable can be used by platforms to modify the current directory, useful
on Android as the process where the xpcshell test runs does not really have the
concept of CWD.

Differential Revision: https://phabricator.services.mozilla.com/D106207
2021-03-24 21:49:36 +00:00
Agi Sferro 1f3a058709 Bug 1567341 - Properly initialize GeckoView in xpcshell-test. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D106202
2021-03-24 21:49:34 +00:00
Alexandru Michis 497409d76e Backed out 24 changesets (bug 1567341) for causing xpcshell failures in test_telemetry.js
CLOSED TREE

Backed out changeset deb795c7d0ed (bug 1567341)
Backed out changeset 62d24a3e5e33 (bug 1567341)
Backed out changeset 1185cabd94e0 (bug 1567341)
Backed out changeset 73a4ae419261 (bug 1567341)
Backed out changeset b6eb111329f3 (bug 1567341)
Backed out changeset 0dc0bfedc042 (bug 1567341)
Backed out changeset 9dca635e41d7 (bug 1567341)
Backed out changeset c34928580933 (bug 1567341)
Backed out changeset f9ba384bb407 (bug 1567341)
Backed out changeset ec25c2df380e (bug 1567341)
Backed out changeset 9e8ea542b51e (bug 1567341)
Backed out changeset 3dc62863a028 (bug 1567341)
Backed out changeset 6c104f865540 (bug 1567341)
Backed out changeset c422ca4207ea (bug 1567341)
Backed out changeset e3df748ed62f (bug 1567341)
Backed out changeset 9d1f27796a97 (bug 1567341)
Backed out changeset 1d93ba23f809 (bug 1567341)
Backed out changeset 55652f6af6ed (bug 1567341)
Backed out changeset 9fb892955a88 (bug 1567341)
Backed out changeset 1cdd95c43416 (bug 1567341)
Backed out changeset 5a839d5e3e33 (bug 1567341)
Backed out changeset ea84b5749a27 (bug 1567341)
Backed out changeset dcb1ae146475 (bug 1567341)
Backed out changeset d72accc274ac (bug 1567341)
2021-03-24 23:37:43 +02:00
Brindusan Cristian 2586a80626 Backed out changeset d47a138a3b50 (bug 1668903) for causing xpcshell failures. CLOSED TREE 2021-03-24 23:22:21 +02:00
Emilio Cobos Álvarez 9d7bb1aa62 Bug 1668903 - Port dmd.py to python3. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D98927
2021-03-24 20:45:56 +00:00
Agi Sferro de7c562dd2 Bug 1567341 - Run xpcshell-test in a service on Android. r=firefox-build-system-reviewers,mhentges
This is done so that xpcshell-test runs with a Dalvik VM and has access to all
the java-implemented bits of GeckoView.

Differential Revision: https://phabricator.services.mozilla.com/D106213
2021-03-24 20:20:02 +00:00
Agi Sferro af745a8adf Bug 1567341 - Add --no-install to xpcshell-test for Android. r=firefox-build-system-reviewers,nalexander
This is consistent to geckoview-junit and mochitest.

Differential Revision: https://phabricator.services.mozilla.com/D106210
2021-03-24 20:20:01 +00:00
Agi Sferro c553c5f3d3 Bug 1567341 - Add _TEST_CWD to xpcshell's head.js file. r=jmaher
This variable can be used by platforms to modify the current directory, useful
on Android as the process where the xpcshell test runs does not really have the
concept of CWD.

Differential Revision: https://phabricator.services.mozilla.com/D106207
2021-03-24 20:19:59 +00:00
Agi Sferro 352b889c93 Bug 1567341 - Properly initialize GeckoView in xpcshell-test. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D106202
2021-03-24 20:19:57 +00:00
Kershaw Chang 02a4432e92 Bug 1698015 - Add another way to download ODoHConfigs via https r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D108174
2021-03-19 08:29:14 +00:00
Jens Stutte 05581ddca4 Bug 1678330: Ensure nested SpinEventLoopUntil(OrShutdown) calls are traceable to the originating source in case of crash. r=nika,extension-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D106839
2021-03-02 22:11:58 +00:00
Cosmin Sabou b2eb620ed0 Backed out changeset 03cae7800b41 (bug 1678330) for mochitest plain failures on test_window_open_discarded_bc.html. CLOSED TREE 2021-03-02 20:18:21 +02:00
Jens Stutte a0af9ea0a4 Bug 1678330: Ensure nested SpinEventLoopUntil(OrShutdown) calls are traceable to the originating source in case of crash. r=nika,extension-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D106839
2021-03-02 15:15:20 +00:00
Kershaw Chang 7e60395853 Bug 1694972 - Reset cname_confirm counter after test r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D106588
2021-02-26 08:29:57 +00:00
Kershaw Chang ef06b68b6c Bug 1688092 - Update ODoHConfigs when the TTL expires r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D106075
2021-02-25 13:07:04 +00:00
Kershaw Chang 61d4a64bb0 Bug 1688864 - P2: Add more tests for ODoH r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D106074
2021-02-25 13:07:04 +00:00
Kershaw Chang 82433f5beb Bug 1688864 - P1: Reduce duplicate test code for ODoH r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D106073
2021-02-25 13:07:03 +00:00
Joel Maher f5334a8b26 Bug 1692570 - Allow failure jobs to handle timeouts and crashes for browser-chrome, mochitest, xpcshell. r=releng-reviewers,bhearsum
Allow failure jobs to handle timeouts and crashes for browser-chrome, mochitest, xpcshell.

Differential Revision: https://phabricator.services.mozilla.com/D105057
2021-02-22 19:38:12 +00:00
Csoregi Natalia fc82ffc2b0 Backed out changeset 7f3db661fd19 (bug 1692570) for mochitest failures on runtests.py. CLOSED TREE 2021-02-22 18:36:32 +02:00
Joel Maher a9ba91f56d Bug 1692570 - Allow failure jobs to handle timeouts and crashes for browser-chrome, mochitest, xpcshell. r=releng-reviewers,bhearsum
Allow failure jobs to handle timeouts and crashes for browser-chrome, mochitest, xpcshell.

Differential Revision: https://phabricator.services.mozilla.com/D105057
2021-02-22 15:55:59 +00:00
Akshat 5bacc6cf77 Bug 1691638 Corrects XPCShell documentation website r=gbrown DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D104556
2021-02-09 19:44:44 +00:00
Kershaw Chang a3582caf5e Bug 1689474 - Update ODoH to draft-04 and make CNAME work r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D103816
2021-02-04 08:05:45 +00:00
Nihanth Subramanya c206347e88 Bug 1689113 - Don't skip TRR unless confirmation explicitly failed. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D103170
2021-02-04 17:34:27 +00:00
Kershaw Chang 0d82c1d0d8 Bug 1684041 - Add ODoH test r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D102629
2021-01-27 22:04:25 +00:00
Joel Maher c6c9ae717e Bug 1683001 - xpcshell support for --run-failures. r=aki
add support to xpcshell harness + mozharess for --run-failures

Differential Revision: https://phabricator.services.mozilla.com/D101662
2021-01-22 21:14:27 +00:00
Kershaw Chang 6051668e53 Bug 1684038 - Add new SVCParam: ODoHConfig r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D101683
2021-01-22 12:59:24 +00:00
Florian Quèze 70b524ecf0 Bug 1687784 - Profiler markers from mochitests and xpcshell tests should use the Test category, r=mconley.
Differential Revision: https://phabricator.services.mozilla.com/D102466
2021-01-20 21:04:00 +00:00
Aki Sasaki 66d1eb342b Bug 1686615 - regenerate all .pem.certspec files into their .pems r=kjacobs
per https://bugzilla.mozilla.org/show_bug.cgi?id=1525191#c6 .

Depends on D101697

Differential Revision: https://phabricator.services.mozilla.com/D101698
2021-01-14 17:34:54 +00:00
Kershaw Chang f005165f1b Bug 1680613 - Enable network.dns.upgrade_with_https_rr and fix some tests r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D99078
2021-01-12 13:14:07 +00:00
Alexandre Poirot 3f9e98f591 Bug 1682780 - [devtools] Avoid pausing on thread actor's attach request. r=nchevobbe,jdescottes
We always used to pause when "attaching" the thread actor.
We ought to call ThreadActor's attach method first before using it.
And this method do various things:
  * Initialize the Debugger API, enable it, register various listeners, so that breakpoint can work,
  * Pause the current thread by starting a nested event loop
So that we also ought to resume the thread, by calling ThreadActor's resume right after attach.
Otherwise the page would be paused as soon as we open the DevTools.
Which sounds like something we might have wanted a very long time ago.
But sounds like pure legacy behavior from today's perspective.

Differential Revision: https://phabricator.services.mozilla.com/D99919
2021-01-07 15:02:11 +00:00
Kershaw Chang 5b24e67940 Bug 1680605 - Make https upgrade with https rr properly r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D98687
2021-01-07 11:15:58 +00:00
Bogdan Tara 20aefe032f Backed out changeset b403ea4dbb86 (bug 1680605) for resource_connection_reuse.html failures CLOSED TREE 2021-01-07 00:16:27 +02:00
Kershaw Chang 9a619d2199 Bug 1680605 - Make https upgrade with https rr properly r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D98687
2021-01-06 20:37:22 +00:00
Csoregi Natalia 424274ba92 Backed out changeset ed5db87da381 (bug 1680605) for failures on test_httpssvc_https_upgrade.js and resource-timing. CLOSED TREE 2021-01-06 01:46:05 +02:00
Kershaw Chang 8b760c522f Bug 1680605 - Make https upgrade with https rr properly r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D98687
2021-01-05 19:30:18 +00:00
Bob Clary 841da37d77 Bug 1681096 - python3 - pylint --py3k - W1636: map built-in referenced when not iterating (map-builtin-not-iterating) r=perftest-reviewers,aki,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D99079
2020-12-09 08:05:21 +00:00
Bob Clary 48ee50e6e3 Bug 1681096 - python3 - pylint --py3k - W1645: Exception.message removed in Python 3 (exception-message-attribute) r=marionette-reviewers,aki,gbrown,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D99059
2020-12-08 22:44:00 +00:00
Bob Clary 9e125ea710 Bug 1681096 - python3 - pylint --py3k - W1619: from __future__ import division r=marionette-reviewers,perftest-reviewers,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D98938
2020-12-11 16:05:25 +00:00
Kershaw Chang af36035662 Bug 1671885 - Add a test case for ech retry r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D97992
2020-12-07 13:45:20 +00:00
Kevin Jacobs c27baf9ddb Bug 1678079 - Add PSM support and xpcshell tests for ECH. r=keeler,kershaw
This patch enables PSM and Firefox to use TLS 1.3 Encrypted Client Hello (draft -08). Specifically:
  - Compile NSS with NSS_ENABLE_DRAFT_HPKE=1
  - Add ECH "public_name" handling in SSLServerCertVerification.cpp (see: https://tools.ietf.org/html/draft-ietf-tls-esni-08#section-6.3.2)
  - Adds `mIsAcceptedEch` to TransportSecurityInfo, and xpcshell tests for ECH use cases
  - Adds EncryptedClientHelloServer to facilitate the xpcshell tests
  - Un-ifdef Set/GetEchConfigs code in nsNSSIOLayer.cpp. Also reverted the Base64 encoding and decoding, as the data returned from DNS is already decoded (wire-format).

Differential Revision: https://phabricator.services.mozilla.com/D92651
2020-12-04 15:26:17 +00:00
Razvan Maries ae4e418a02 Backed out changeset e7c03faf2880 (bug 1678079) for perma failures on test_encrypted_client_hello.js. CLOSED TREE 2020-12-04 03:46:54 +02:00
Kevin Jacobs 9fa97f5e74 Bug 1678079 - Add PSM support and xpcshell tests for ECH. r=keeler,kershaw
This patch enables PSM and Firefox to use TLS 1.3 Encrypted Client Hello (draft -08). Specifically:
  - Compile NSS with NSS_ENABLE_DRAFT_HPKE=1
  - Add ECH "public_name" handling in SSLServerCertVerification.cpp (see: https://tools.ietf.org/html/draft-ietf-tls-esni-08#section-6.3.2)
  - Adds `mIsAcceptedEch` to TransportSecurityInfo, and xpcshell tests for ECH use cases
  - Adds EncryptedClientHelloServer to facilitate the xpcshell tests
  - Un-ifdef Set/GetEchConfigs code in nsNSSIOLayer.cpp. Also reverted the Base64 encoding and decoding, as the data returned from DNS is already decoded (wire-format).

Differential Revision: https://phabricator.services.mozilla.com/D92651
2020-12-03 21:58:24 +00:00
Kershaw Chang 628b4518df Bug 1667743 - Remove unused esni code r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D98023
2020-12-03 12:17:12 +00:00
Bogdan Tara 520f54fb37 Backed out changeset 117da9de7f66 (bug 1667743) for handshakeSucceeded related bustage CLOSED TREE 2020-12-03 03:44:59 +02:00
Kershaw Chang 14d936a94d Bug 1667743 - Remove unused esni code r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D98023
2020-12-02 23:18:38 +00:00
Kershaw Chang 2e58759c35 Bug 1677086 - Parse SvcParamKeyAlpn as defined in spec r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D97000
2020-11-17 11:07:03 +00:00
Sylvestre Ledru c0f6fe8caf Bug 1562642 - Add missing license headers r=mhoye,marionette-reviewers,webdriver-reviewers,perftest-reviewers,tarek
Differential Revision: https://phabricator.services.mozilla.com/D97138
2020-11-17 02:06:54 +00:00
Dragana Damjanovic 9904ac554c Bug 1675016 - Add more test for HTTP3 failure r=necko-reviewers,kershaw
- Add 2 test: 1) server is not listening to the port and 2) server is not responding that will cause the connection to timeout and fall back to HTTP2
 - Adds a server that only reads packets but never sends any to simulate a handshake timing out

Differential Revision: https://phabricator.services.mozilla.com/D95816
2020-11-11 19:43:43 +00:00
Andreea Pavel 67ba0c2bfb Backed out 8 changesets (bug 1675016) for black linting failure at runxpcshelltests.py on a CLOSED TREE
Backed out changeset 542f33bccb47 (bug 1675016)
Backed out changeset ab07b3a3e2ca (bug 1675016)
Backed out changeset 2c6391e0243b (bug 1675016)
Backed out changeset 8100a5f39ec5 (bug 1675016)
Backed out changeset c2a169663175 (bug 1675016)
Backed out changeset 84cde60b4e5f (bug 1675016)
Backed out changeset 29ed71c7b265 (bug 1675016)
Backed out changeset 5745916ae50b (bug 1675016)
2020-11-11 18:20:32 +02:00
Dragana Damjanovic 756e97cfb2 Bug 1675016 - Fix runxpcshelltests.py formatting on a CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D96727
2020-11-11 15:59:40 +00:00
Dragana Damjanovic 25db47d6a9 Bug 1675016 - Add more test for HTTP3 failure r=necko-reviewers,kershaw
- Add 2 test: 1) server is not listening to the port and 2) server is not responding that will cause the connection to timeout and fall back to HTTP2
 - Adds a server that only reads packets but never sends any to simulate a handshake timing out

Differential Revision: https://phabricator.services.mozilla.com/D95816
2020-11-11 13:32:24 +00:00
smolnar 03e890da15 Backed out 5 changesets (bug 1675016) for causing xpcshell failures in test_http3_fatal_stream_error. CLOSED TREE
Backed out changeset aae840485291 (bug 1675016)
Backed out changeset c5f004fdef59 (bug 1675016)
Backed out changeset 56b8282707e0 (bug 1675016)
Backed out changeset ac23fff376cf (bug 1675016)
Backed out changeset 63109e213984 (bug 1675016)
2020-11-10 14:19:44 +02:00
smolnar 65551bb7f9 Bug 1675016 - Fix lint failure in testing/xpcshell/runxpcshelltests. a=lint-fix CLOSED TREE 2020-11-10 13:43:14 +02:00
Dragana Damjanovic caff62afed Bug 1675016 - Add more test for HTTP3 failure r=necko-reviewers,kershaw
- Add 2 test: 1) server is not listening to the port and 2) server is not responding that will cause the connection to timeout and fall back to HTTP2
 - Adds a server that only reads packets but never sends any to simulate a handshake timing out

Differential Revision: https://phabricator.services.mozilla.com/D95816
2020-11-10 09:04:41 +00:00
Dragana Damjanovic addc913ff7 Bug 1673611 - Add a quic server r=necko-reviewers,valentin
This will allow us to make response that violate the Http3 protocol and cause a protocol error.
Currently the server returns only one response, we may extend it if needed.

Differential Revision: https://phabricator.services.mozilla.com/D94912
2020-11-01 15:48:45 +00:00
Frederic Wang 93461aced4 Bug 1673856 Do not set network.dns.ipv4OnlyDomains when running XPCShell r=valentin,necko-reviewers
This preference is currently only used when running Windows XPCShell
tests in order to disable IPv6 resolution for "localhost". However, this
does not seem to be needed anymore and actually breaks the expectation
that "localhost" resolves to IPv4 and IPv6 loopback addresses
(see bugs 1673315, 1673364, 1220810).

Differential Revision: https://phabricator.services.mozilla.com/D94986
2020-10-28 13:50:00 +00:00
Aaron Klotz 49a1e8f3e9 Bug 1650118: Part 7 - Set MOZ_FORCE_DISABLE_E10S when running Android xpcshell tests; r=bc
Now that we're e10s by default, we need to disable it for xpcshell.
Unfortunately we can't do this via user prefs because, by the time xpcshell
parses those, it's already too late: e10s has already been decided.

In an earlier patch, we've changed that env var to accept '1' for Android,
instead of the version string as on desktop.

Differential Revision: https://phabricator.services.mozilla.com/D94337
2020-10-27 16:43:27 +00:00
Razvan Maries f3f6721caa Backed out 8 changesets (bug 1650118) for wpt failures on inside-dedicated-worker.html. CLOSED TREE
Backed out changeset ab6218dd84f5 (bug 1650118)
Backed out changeset a99d1aae6e2e (bug 1650118)
Backed out changeset ed357b8bb07e (bug 1650118)
Backed out changeset cd5155e732d9 (bug 1650118)
Backed out changeset 63cc752924f2 (bug 1650118)
Backed out changeset 7f0a281a399e (bug 1650118)
Backed out changeset 0fd77fef3c95 (bug 1650118)
Backed out changeset f397e86fd61e (bug 1650118)
2020-10-27 18:39:11 +02:00
Aaron Klotz 58022b0f12 Bug 1650118: Part 7 - Set MOZ_FORCE_DISABLE_E10S when running Android xpcshell tests; r=bc
Now that we're e10s by default, we need to disable it for xpcshell.
Unfortunately we can't do this via user prefs because, by the time xpcshell
parses those, it's already too late: e10s has already been decided.

In an earlier patch, we've changed that env var to accept '1' for Android,
instead of the version string as on desktop.

Differential Revision: https://phabricator.services.mozilla.com/D94337
2020-10-26 23:09:46 +00:00
Ricky Stewart 02a7b4ebdf Bug 1654103: Standardize on Black for Python code in `mozilla-central`.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Bogdan Tara da1098d4aa Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Ricky Stewart c0cea3b0fa Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00
Dorel Luca 1ff59cb7a3 Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Ricky Stewart 50762dacab Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-21 21:27:27 +00:00
Andrew Halberstadt f43cef5517 Bug 1668645 - [xpcshell] Don't fail CI when no specified test paths contain tests, r=jmaher
If *all* test paths don't resolve to any tests and we're running in CI, exit without
causing the task to fail. This situation can happen due to moz.build traversal that
causes manifests to not exist under certain configurations.

Ideally I'd love if we could prevent those cases from happening in the first place (i.e
generate the 'all-tests.pkl' file via a file-system traversal and then rely on skip-if's
to not run things), but until then this fixes a fairly frequent intermittent.

Differential Revision: https://phabricator.services.mozilla.com/D93684
2020-10-16 16:37:45 +00:00
Simon Giesecke 987aea606d Bug 1669652 - Fix llvm-symbolizer path encoding. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D92744
2020-10-07 13:49:41 +00:00
Valentin Gosu a3a123bcf3 Bug 1667975 - Don't check rcode before parsing packet r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D92040
2020-10-01 10:05:03 +00:00
Sebastian Hengst 0cf7e55237 Backed out changeset 0b7c8f6349b1 (bug 1667743) on request from kershaw for causing bug 1667801 2020-09-30 13:12:53 +02:00
Kershaw Chang 5eabf77a18 Bug 1667743 - Remove unused esni code r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D91571
2020-09-28 17:21:39 +00:00
Kris Maglione 387300d358 Bug 1662855: Remove defunct httpd.manifest file. r=mccr8,necko-reviewers,valentin
The manifest file hasn't actually done anything since XPT definitions were
moved to the libxul binary, and now just generates warnings in local builes.

Differential Revision: https://phabricator.services.mozilla.com/D89197
2020-09-17 03:15:11 +00:00
Dorel Luca d5b7a5666c Backed out changeset 0a4e7303358b (bug 1662855) for XPCshell failures in netwerk/test/httpserver/test/test_async_response_sending.js. CLOSED TREE 2020-09-17 03:31:11 +03:00
Kris Maglione fa5c3a435d Bug 1662855: Remove defunct httpd.manifest file. r=mccr8,necko-reviewers,valentin
The manifest file hasn't actually done anything since XPT definitions were
moved to the libxul binary, and now just generates warnings in local builes.

Differential Revision: https://phabricator.services.mozilla.com/D89197
2020-09-16 21:57:29 +00:00
Valentin Gosu 7de4c8009c Bug 1525854 - TRR shouldn't fallback to DNS on DNSSEC error r=necko-reviewers,dragana
This patch adds support for the Extended DNS Errors draft code.
https://datatracker.ietf.org/doc/html/draft-ietf-dnsop-extended-error-16

While not yet in the draft, it seems the OPT code for Extended DNS Error is 15
https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-11

The list of errors for which we hard fail isn't necessarily final.
I picked the errors that indicate a DNSSec failure, or an intentional
filtering done by the resolver.

Differential Revision: https://phabricator.services.mozilla.com/D87698
2020-09-15 10:39:07 +00:00
Razvan Maries c8e604eb78 Backed out 4 changesets (bug 1660970, bug 1525854, bug 1663657, bug 1645108) for perma failures on test_trr_additional_section.js. CLOSED TREE
Backed out changeset ad6c2e8af09b (bug 1663657)
Backed out changeset 419e26e3f452 (bug 1525854)
Backed out changeset 55bf856faf33 (bug 1660970)
Backed out changeset c543a3a008fa (bug 1645108)
2020-09-15 02:35:05 +03:00
Valentin Gosu 26af33d4cc Bug 1525854 - TRR shouldn't fallback to DNS on DNSSEC error r=necko-reviewers,dragana
This patch adds support for the Extended DNS Errors draft code.
https://datatracker.ietf.org/doc/html/draft-ietf-dnsop-extended-error-16

While not yet in the draft, it seems the OPT code for Extended DNS Error is 15
https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-11

The list of errors for which we hard fail isn't necessarily final.
I picked the errors that indicate a DNSSec failure, or an intentional
filtering done by the resolver.

Differential Revision: https://phabricator.services.mozilla.com/D87698
2020-09-14 21:42:02 +00:00
Kershaw Chang 361fe2d82b Bug 1652670 - P2: Make nsSocketTransport use IP hint address to connect r=valentin,dragana
Differential Revision: https://phabricator.services.mozilla.com/D88988
2020-09-14 14:47:36 +00:00
Dragana Damjanovic 7433c1b34d Bug 1618849 - Add separate AltSvc for http2 and http3 and prefer http3 if allowed. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D86934
2020-09-09 10:32:22 +00:00
Bogdan Tara d5746a62fe Backed out changeset 7813723422bf (bug 1618849) for browser_staticPartition_network.js failures CLOSED TREE 2020-09-09 04:58:46 +03:00
Dragana Damjanovic 821dfeec6a Bug 1618849 - Add separate AltSvc for http2 and http3 and prefer http3 if allowed. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D86934
2020-09-08 18:30:58 +00:00
Mihai Alexandru Michis 7fb69eef2a Backed out changeset 71edbf86ce85 (bug 1662855) for causing xpcshell failures.
CLOSED TREE
2020-09-03 01:56:09 +03:00
Geoff Brown a2e1392505 Bug 1390884 - Enable all test-verify chaos modes except TimerScheduling; r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D89214
2020-09-02 21:13:40 +00:00
Kris Maglione d2863ca956 Bug 1662855: Remove defunct httpd.manifest file. r=mccr8,necko-reviewers,valentin
The manifest file hasn't actually done anything since XPT definitions were
moved to the libxul binary, and now just generates warnings in local builes.

Differential Revision: https://phabricator.services.mozilla.com/D89197
2020-09-02 20:14:12 +00:00
Anny Gakhokidze 5755a94b86 Bug 1589102 - Part 7: Fix test_browsing_context_structured_clone.js to instead schedule precise gc, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D85086
2020-08-28 17:20:57 +00:00
Kershaw Chang 1f6e1d5ca9 Bug 1652655 - P5: Test case for dispatching transaction with HTTPSSVC record, r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D85429
2020-08-21 18:59:22 +00:00
Ricky Stewart 31755b431d Bug 1657650 - Require that Mach command providers subclass MachCommandBase. r=remote-protocol-reviewers,marionette-reviewers,maja_zf,mhentges,froydnj
Today we don't require that `mach` `CommandProvider`s subclass from any particular parent class and we're very lax about the requirements they must meet. While that's convenient in certain circumstances, it has some unfortunate implications for feature development.

Today the only requirements that we have for `CommandProvider`s are that they have an `__init__()` method that takes either 1 or 2 arguments, the second of which must be called `context` and is populated with the `mach` `CommandContext`. Again, while this flexibility is occasionally convenient, it is limiting. As we add features to `mach`, having a better idea what the shape of our `CommandProvider`s are and how we can instantiate them and use them is increasingly important, and this gives us additional control when having `mach` configure `CommandProvider`s based on data that is only available at the `mach` level. In particular, we plan to leverage this in bugs 985141 and 1654074.

Here we add validation to the `CommandProvider` decorator to ensure all classes inherit from `MachCommandBase`, update all `CommandProvider`s in-tree to inherit from `MachCommandBase`, and update source and test code accordingly.

Follow-up work: we now require (de facto) that the `context` be populated with a `topdir` attribute by the `populate_context_handler` function, since instantiating the `MachCommandBase` requires a `topdir` be provided. This is fine for now in the interest of keeping this patch reasonably sized, but some additional refactoring could make this cleaner.

Differential Revision: https://phabricator.services.mozilla.com/D86255
2020-08-07 18:24:59 +00:00
Butkovits Atila 3bd0e5497c Backed out 10 changesets (bug 1589102) for failure at browser_saveHeapSnapshot_e10s_01.js CLOSED TREE
Backed out changeset 0d22ad297b19 (bug 1589102)
Backed out changeset 14bcaf2a452c (bug 1589102)
Backed out changeset 20905f91e2bb (bug 1589102)
Backed out changeset 29ee0fbe855f (bug 1589102)
Backed out changeset d1f6185030af (bug 1589102)
Backed out changeset 31949872cc1d (bug 1589102)
Backed out changeset ec04e1a20597 (bug 1589102)
Backed out changeset ffe8da473b91 (bug 1589102)
Backed out changeset 3b92f7306c64 (bug 1589102)
Backed out changeset b187548e258f (bug 1589102)
2020-08-05 21:47:50 +03:00
Anny Gakhokidze 92343d143d Bug 1589102 - Part 8: Fix test_browsing_context_structured_clone.js to instead schedule precise gc, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D85086
2020-08-05 16:55:05 +00:00
Valentin Gosu c61967c799 Bug 1652106 - Add support for the mandatory SvcParamKey r=kershaw,necko-reviewers
6.5 A ServiceMode RR is considered "compatible" with a client if the
client implements support for all its mandatory keys.  If the SVCB
RRSet contains no compatible RRs, the client will generally act as if
the RRSet is empty.

Differential Revision: https://phabricator.services.mozilla.com/D85838
2020-08-05 13:40:33 +00:00
Valentin Gosu 6680c6fb12 Bug 1652106 - Rename esniconfig to echconfig and add HTTPS RR type r=kershaw,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D85836
2020-08-05 13:39:53 +00:00
Mike Hommey f70f000a4f Bug 1614626 - Move xpcshell selftests to before running actual xpcshell tests. r=gbrown
This allows to test them in the exact same environment as the tests are
going to run, which turns out to have revealed a few issues that would
only appear once xpcshell tests fail, impeding on debugging those
failures.

Differential Revision: https://phabricator.services.mozilla.com/D84781
2020-07-30 20:27:14 +00:00
Dorel Luca c24650c12a Backed out changeset 929e1acc42af (bug 1614626) for XPCshell failures in extensions/test/xpcshell/test_ext_dns.js. CLOSED TREE 2020-07-29 07:37:28 +03:00
Mike Hommey efebeaa2c6 Bug 1614626 - Move xpcshell selftests to before running actual xpcshell tests. r=gbrown
This allows to test them in the exact same environment as the tests are
going to run, which turns out to have revealed a few issues that would
only appear once xpcshell tests fail, impeding on debugging those
failures.

Differential Revision: https://phabricator.services.mozilla.com/D84781
2020-07-29 00:23:03 +00:00
Mike Hommey b0a07b2297 Bug 1654479 - Clear up processes after shutting them down in XPCShellTests. r=gbrown
When using unittest rather than mozunit, something seems to be holding
onto the XPCShellTests, which keeps the subprocess objects around even
after we shut them down, and in turn, that keeps the pipe file
descriptors associated with the subprocesses around, effectively leaking
them for the duration of the entire selftest, which in some cases could
exhaust the system resources allocated to the selftest process.

Differential Revision: https://phabricator.services.mozilla.com/D84471
2020-07-23 12:18:24 +00:00
Ricky Stewart ba024b583c Bug 1651820 - Fix broken xpcshell artifact builds by pointing directly to the `http3server` path r=gbrown
Also make sure we distribute the `http3server` binary in the common test archive, and download it for artifact builds.

Differential Revision: https://phabricator.services.mozilla.com/D84421
2020-07-21 20:47:27 +00:00
Geoff Brown 2046699f13 Bug 1654319 - Remove some flake8 exclusions; r=jmaher
Remove some exclusions so that more files are linted. These exclusions had
been made to allow for code that was not py3 compatible, but with recent
py3 efforts, the exclusions can be removed. (Linting subsequently found
a few small issues which needed to be fixed.)

Differential Revision: https://phabricator.services.mozilla.com/D84393
2020-07-21 17:10:51 +00:00
Doug Thayer 8f54209ef6 Bug 1651165 - Rename idle service r=Gijs,geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D83413
2020-07-20 16:06:59 +00:00
Bob Clary d790d404cf Bug 1486004 - Part 17 - Update remote xpcshell-tests to support unrooted android devices using mozdevice 4.0.0, r=gbrown
Depends on D82759

Differential Revision: https://phabricator.services.mozilla.com/D82760
2020-07-18 03:36:23 +00:00
Geoff Brown d0b99db72f Bug 1653655 - Use ensure_subprocess_env in xpcshell tests; r=jmaher
Copy ensure_subprocess_env from mozbuild.util (not currently accessible from the
automation mozharness environment) to xpcshell harness, and use it.

Differential Revision: https://phabricator.services.mozilla.com/D84020
2020-07-19 18:06:17 +00:00
Narcis Beleuzu b1faa2872a Backed out 17 changesets (bug 1486004) for wrench bustage on android.py . CLOSED TREE
Backed out changeset cae730f105d7 (bug 1486004)
Backed out changeset e0094d50a315 (bug 1486004)
Backed out changeset 424425ed98c6 (bug 1486004)
Backed out changeset 551232749abe (bug 1486004)
Backed out changeset 505747095def (bug 1486004)
Backed out changeset 5b1c62c4a4d5 (bug 1486004)
Backed out changeset 0a1c8d50ee69 (bug 1486004)
Backed out changeset 6ef81c676859 (bug 1486004)
Backed out changeset 234e55153fb6 (bug 1486004)
Backed out changeset 2f33b309d746 (bug 1486004)
Backed out changeset 48947692c176 (bug 1486004)
Backed out changeset 473bac8eedd9 (bug 1486004)
Backed out changeset af6afed0a04a (bug 1486004)
Backed out changeset a0e2f91eb4d4 (bug 1486004)
Backed out changeset 138c987440c7 (bug 1486004)
Backed out changeset 6d2e305f4722 (bug 1486004)
Backed out changeset 1181ff03bb05 (bug 1486004)
2020-07-17 23:43:57 +03:00
Bob Clary b5033e8218 Bug 1486004 - Part 17 - Update remote xpcshell-tests to support unrooted android devices using mozdevice 4.0.0, r=gbrown
Depends on D82759

Differential Revision: https://phabricator.services.mozilla.com/D82760
2020-07-16 21:32:56 +00:00
Narcis Beleuzu 1eb115035d Backed out 20 changesets (bug 1486004, bug 1653094) for wrench bustages. CLOSED TREE
Backed out changeset 120c64ebdea3 (bug 1486004)
Backed out changeset b10f105b1c36 (bug 1486004)
Backed out changeset 7f186e6bcccc (bug 1486004)
Backed out changeset cdda7b349cd8 (bug 1486004)
Backed out changeset 650c47e81402 (bug 1486004)
Backed out changeset 2bcca7cf3f1b (bug 1486004)
Backed out changeset e1df276f8a8d (bug 1486004)
Backed out changeset f6f5e7f2bd0a (bug 1486004)
Backed out changeset 1c56cb03ce53 (bug 1486004)
Backed out changeset 582cd190f174 (bug 1486004)
Backed out changeset 7c162e1b3a79 (bug 1486004)
Backed out changeset d1088e178216 (bug 1486004)
Backed out changeset 40763f4afd26 (bug 1486004)
Backed out changeset f20eb5b5a670 (bug 1486004)
Backed out changeset 6349ee0bd63f (bug 1486004)
Backed out changeset 7c23729053f6 (bug 1486004)
Backed out changeset 49586014bd29 (bug 1486004)
Backed out changeset 07971e82ae85 (bug 1653094)
Backed out changeset 47e7295e9c19 (bug 1653094)
Backed out changeset 57a25bbeec37 (bug 1653094)
2020-07-16 17:58:09 +03:00
Bob Clary 5c9f56c916 Bug 1486004 - Part 17 - Update remote xpcshell-tests to support unrooted android devices using mozdevice 4.0.0, r=gbrown
Depends on D82759

Differential Revision: https://phabricator.services.mozilla.com/D82760
2020-07-15 21:00:35 +00:00
Mihai Alexandru Michis a1d49fb98d Backed out 17 changesets (bug 1486004) for causing bustages in AccessCheck.h
CLOSED TREE

Backed out changeset 86a0855e1e45 (bug 1486004)
Backed out changeset 4fc98067edc5 (bug 1486004)
Backed out changeset 8ab3f1597fde (bug 1486004)
Backed out changeset b487e98320fb (bug 1486004)
Backed out changeset 4cba8e6bc515 (bug 1486004)
Backed out changeset d0db5eef2343 (bug 1486004)
Backed out changeset 50285a87de6b (bug 1486004)
Backed out changeset 9730c0303810 (bug 1486004)
Backed out changeset 140a9d2362f3 (bug 1486004)
Backed out changeset 9d1ce06f6039 (bug 1486004)
Backed out changeset 88a5a4ab39fa (bug 1486004)
Backed out changeset eb186c92232d (bug 1486004)
Backed out changeset 677f2129750e (bug 1486004)
Backed out changeset 81427a5f2103 (bug 1486004)
Backed out changeset 38d7def3d425 (bug 1486004)
Backed out changeset a9e73221c471 (bug 1486004)
Backed out changeset ebe8c2d5432e (bug 1486004)
2020-07-16 15:29:29 +03:00
Bob Clary 3b50638119 Bug 1486004 - Part 17 - Update remote xpcshell-tests to support unrooted android devices using mozdevice 4.0.0, r=gbrown
Depends on D82759

Differential Revision: https://phabricator.services.mozilla.com/D82760
2020-07-15 21:00:35 +00:00
Hamzah 6802583a06 Bug 1639009 - Convert 'mach xpcshell-test' to run with Python 3 r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D78522
2020-07-09 16:49:48 +00:00
Luca Greco a7823f4be2 Bug 1650900 - Skip per-test extra prefs logs when xpcshell is not in verbose mode. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D82445
2020-07-07 15:02:12 +00:00
Razvan Maries 7160b95aa7 Backed out changeset 9bb233375f3d (bug 1650900) for build bustages. CLOSED TREE 2020-07-07 01:10:53 +03:00
Luca Greco 7b154abf18 Bug 1650900 - Skip per-test extra prefs logs when xpcshell is not in verbose mode. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D82445
2020-07-06 20:40:46 +00:00
Sarah Bird d1626da38c Bug 1647501 - Rename "test slave" -> "test machine", r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D81908
2020-07-02 01:06:01 +00:00
Andrew Halberstadt d9f79b99f6 Bug 1646533 - [xpcshell] Normalize ancestor_manifest path separators when creating group id, r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D80656
2020-06-23 15:10:39 +00:00
Geoff Brown 64be5ecf18 Bug 1645888 - Make remotexpcshelltests.py py2/py3 compatible; r=bc
Resolve two py3 issues in remotexpcshelltests.py:
 - use six.iteritems() to iterate on the env dict
 - use 'wb' to create the log file
Some cleanup rides along (I couldn't resist).

Differential Revision: https://phabricator.services.mozilla.com/D79753
2020-06-16 03:50:24 +00:00
Geoff Brown a8a478d448 Bug 1643447 - Allow 'mach xpcshell-test --debugger-args=...' on android; r=bc
Avoid AttribueError when trying to access self.remoteDebuggerArgs.

Differential Revision: https://phabricator.services.mozilla.com/D79732
2020-06-15 21:05:15 +00:00
Geoff Brown 23a7f13ad7 Bug 1645842 - Remove reverse-elfhack support from android xpcshell harness; r=bc
Remove some dead code from remote xpcshell harness.

Differential Revision: https://phabricator.services.mozilla.com/D79715
2020-06-15 18:25:13 +00:00
Kershaw Chang a4a6ef17e5 Bug 1641496 - P1: Add MOZ_FORCE_USE_SOCKET_PROCESS for encorcing networking over socket process r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D77272
2020-06-04 22:56:34 +00:00
Csoregi Natalia 63635ef2aa Backed out 7 changesets (bug 1641496) for failures on test_trr.js. CLOSED TREE
Backed out changeset 1c927e612dda (bug 1641496)
Backed out changeset 0f1ba77e3942 (bug 1641496)
Backed out changeset a626e86ce5c9 (bug 1641496)
Backed out changeset 196381953eac (bug 1641496)
Backed out changeset 70b0af678bfd (bug 1641496)
Backed out changeset bf41bd8ca89c (bug 1641496)
Backed out changeset 745da0e1cb80 (bug 1641496)
2020-06-05 01:39:19 +03:00
Kershaw Chang dfd7b19955 Bug 1641496 - P1: Add MOZ_FORCE_USE_SOCKET_PROCESS for encorcing networking over socket process r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D77272
2020-06-04 11:49:01 +00:00
Andrew Halberstadt 1b8348b800 Bug 1642946 - [xpcshell] Use 'ancestor-manifest' in group identifiers, r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D78270
2020-06-04 14:50:15 +00:00
Kershaw Chang 104bf647be Bug 1602832 - P3: Skip failed tests r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D67448
2020-05-26 14:30:26 +00:00
Butkovits Atila f167b5c275 Backed out 6 changesets (bug 1602832) for causing perma failure at test_trr_case_sensitivity.js. CLOSED TREE
Backed out changeset 0e9c378df995 (bug 1602832)
Backed out changeset 534fedb3836e (bug 1602832)
Backed out changeset db012c05d64e (bug 1602832)
Backed out changeset ca0c207dca21 (bug 1602832)
Backed out changeset bea1f3aeea49 (bug 1602832)
Backed out changeset 2d54acd78124 (bug 1602832)
2020-05-26 13:09:07 +03:00
Kershaw Chang 52a180d403 Bug 1602832 - P3: Skip failed tests r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D67448
2020-05-26 08:35:32 +00:00
Florian Quèze 3449d19a7e Bug 1637637 - disable fast shutdown for the test_prefs_store.js and test_prefs_tracker.js tests where it crashes, r=gbrown.
Depends on D72407

Differential Revision: https://phabricator.services.mozilla.com/D76167
2020-05-20 16:35:51 +00:00
Florian Quèze 79e59b15e8 Bug 1637637 - Exit(0) at the end of xpcshell tests, r=gbrown.
Differential Revision: https://phabricator.services.mozilla.com/D72407
2020-05-20 16:14:31 +00:00
Coroiu Cristina 44c378a7fb Backed out 5 changesets (bug 1602832) for browser-chrome failures at toolkit/mozapps/extensions/test/xpinstall/browser_doorhanger_installs.js on a CLOSED TREE
Backed out changeset 059a7f44d1a9 (bug 1602832)
Backed out changeset 2f3cc391b48a (bug 1602832)
Backed out changeset 24d1ce1b0ac9 (bug 1602832)
Backed out changeset 5ea85726cc48 (bug 1602832)
Backed out changeset ee00e846104e (bug 1602832)
2020-05-19 23:05:26 +03:00
Kershaw Chang 0e9baa4d27 Bug 1602832 - P3: Skip failed tests r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D67448
2020-05-19 12:56:52 +00:00
Geoff Brown eb3ad4308f Bug 1635563 - Initial kaios support for 'mach xpcshell-test'; r=bc
Support 'mach xpcshell-test' in a KaiOS environment. This is very much like running xpcshell in an android/geckoview environment except instead of using an APK for the gre, it uses the omnijar.

Differential Revision: https://phabricator.services.mozilla.com/D75545
2020-05-15 15:19:30 +00:00
Geoff Brown 12eb1c9908 Bug 1637367 - Improve GRE_HOME setting in remote xpcshell tests; r=bc
Previously this would typically set GRE_HOME to /data/data/org.mozilla.geckoview.test,
even though org.mozilla.geckoview.test is not normally installed when running
xpcshell tests -- a non-existent directory in a privileged location!
The new location, remoteBinDir, is typically /data/local/xpcb, the location of the
xpcshell executable.

Differential Revision: https://phabricator.services.mozilla.com/D74938
2020-05-12 21:03:59 +00:00
Luca Greco 2c71f03c35 Bug 1635227 - Add test for prefs manifest option in xpcshell selftest.py. r=gbrown
Depends on D73748

Differential Revision: https://phabricator.services.mozilla.com/D74657
2020-05-11 18:20:24 +00:00
Luca Greco 5185108086 Bug 1635227 - Add support for the prefs configuration option in xpcshell test manifests. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D73748
2020-05-11 16:54:14 +00:00
Florian Quèze f75e2d8068 Bug 1632862 - Add profiler markers in xpcshell tests, r=gbrown.
Differential Revision: https://phabricator.services.mozilla.com/D72398
2020-05-05 17:26:41 +00:00
Valentin Gosu c3b2a7d337 Bug 1623126 - Add test for HTTPSSVC DNS record r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D71388
2020-05-04 19:55:31 +00:00
Valentin Gosu 34e5f87388 Bug 1623126 - Change esni test to check HTTPSSVC method of getting the keys r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D71387
2020-05-04 19:55:06 +00:00
Valentin Gosu 571cb4e7b8 Bug 1623126 - Make esni test use dns-packet r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D71385
2020-05-04 19:54:36 +00:00
Valentin Gosu 8046002145 Bug 1623126 - HTTPSSVC support for dns-packet r=dragana
Until the spec is finalized, we shall use HTTPSSVC RR type = 65345
which is in the `Reserved for Private Use` range.

Differential Revision: https://phabricator.services.mozilla.com/D71384
2020-05-04 19:54:23 +00:00