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

1346 Коммитов

Автор SHA1 Сообщение Дата
Valentin Gosu 17af9b6dd6 Bug 1716571 - Dynamically set up android port forwarding for trr tests r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D118413
2021-08-16 13:41:58 +00:00
Aaron Klotz bdfc8f4938 Bug 1725219: Set MOZ_IN_AUTOMATION for Android xpcshell tests; r=firefox-build-system-reviewers,mhentges
In GeckoView we check for this variable to determine whether we're running in
automation, but until now we never set it for xpcshell.

Differential Revision: https://phabricator.services.mozilla.com/D122380
2021-08-12 19:12:49 +00:00
Manuel Bucher 6cdb3ae33a Bug 1663836 - Treat invalid HTTP response header names over HTTP2 as malformed r=necko-reviewers,dragana
Relevant section in the spec: https://datatracker.ietf.org/doc/html/rfc7540#section-10.3

Differential Revision: https://phabricator.services.mozilla.com/D120969
2021-08-12 09:34:20 +00:00
Kershaw Chang b38ee4d69d Bug 1724871 - P2: Update ODOH to version 1, r=necko-reviewers,valentin
Depends on D122252

Differential Revision: https://phabricator.services.mozilla.com/D122253
2021-08-10 19:50:05 +00:00
Kershaw Chang d289199bd1 Bug 1724871 - P1: Change 'odohconfig' parameter name to 'odoh', r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D122252
2021-08-10 19:50:04 +00:00
Rob Wu 6d4afa244f Bug 1723198 - Don't delete user.js in remotexpcshelltests.py + tests r=jmaher
The new tests in testing/xpcshell/example/ cover the following scenarios:

- Local AND remote xpcshell tests. In contrast, modifications to
  selftest.py in bug 1635227 only covered runxpcshelltests.

- `prefs=` inheritance from ancestor manifests as implemented by
  https://hg.mozilla.org/mozilla-central/rev/ac51a01611dc

- Per-file `prefs` setters (used in bug 1638099).

- Multiple prefs and comments per `prefs` line.

Differential Revision: https://phabricator.services.mozilla.com/D121632
2021-08-10 12:14:05 +00:00
Rob Wu dbf28212c1 Bug 1723536 - Clear generated user.js before start of xpcshell test r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D121631
2021-08-10 12:14:04 +00:00
Iulian Moraru 01f91c94a7 Backed out 2 changesets (bug 1723536, bug 1723198) for causing xpcshell failures on test_SocketScalars.js. CLOSED TREE
Backed out changeset 16c398716c60 (bug 1723198)
Backed out changeset 47c08d2c33f4 (bug 1723536)
2021-08-09 20:16:59 +03:00
Rob Wu c76127baf5 Bug 1723198 - Don't delete user.js in remotexpcshelltests.py + tests r=jmaher
The new tests in testing/xpcshell/example/ cover the following scenarios:

- Local AND remote xpcshell tests. In contrast, modifications to
  selftest.py in bug 1635227 only covered runxpcshelltests.

- `prefs=` inheritance from ancestor manifests as implemented by
  https://hg.mozilla.org/mozilla-central/rev/ac51a01611dc

- Per-file `prefs` setters (used in bug 1638099).

- Multiple prefs and comments per `prefs` line.

Differential Revision: https://phabricator.services.mozilla.com/D121632
2021-08-09 14:49:17 +00:00
Rob Wu ee18283942 Bug 1723536 - Clear generated user.js before start of xpcshell test r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D121631
2021-08-09 14:49:17 +00:00
Alexandru Michis 402def0103 Backed out 2 changesets (bug 1723198, bug 1723536) for causing xpcshell failures in test_SocketScalars.js and test_ext_cookieBehaviors.js
CLOSED TREE

Backed out changeset 43a0e54578b1 (bug 1723198)
Backed out changeset 15c67fd83308 (bug 1723536)
2021-08-04 09:20:31 +03:00
Rob Wu f56e6314c0 Bug 1723198 - Don't delete user.js in remotexpcshelltests.py + tests r=jmaher
The new tests in testing/xpcshell/example/ cover the following scenarios:

- Local AND remote xpcshell tests. In contrast, modifications to
  selftest.py in bug 1635227 only covered runxpcshelltests.

- `prefs=` inheritance from ancestor manifests as implemented by
  https://hg.mozilla.org/mozilla-central/rev/ac51a01611dc

- Per-file `prefs` setters (used in bug 1638099).

- Multiple prefs and comments per `prefs` line.

Differential Revision: https://phabricator.services.mozilla.com/D121632
2021-08-03 22:58:34 +00:00
Rob Wu 5e275415fc Bug 1723536 - Clear generated user.js before start of xpcshell test r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D121631
2021-08-03 22:58:34 +00:00
Joel Maher 10280a63e8 Bug 1639850 - disable many testing/xpcshell/example/unit xpcshell tests on windows debug. r=intermittent-reviewers,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D121572
2021-08-03 15:08:14 +00:00
surajeet310 76ad0a69de Bug 1720951 - Removed unused 'ensure_bytes()' and 'ensure_unicode()' from runxpcshelltests.py r=mhentges
Since the functions 'ensure_bytes()' and 'ensure_unicode()' were unused, hence removed.

Differential Revision: https://phabricator.services.mozilla.com/D120600
2021-07-22 22:25:30 +00:00
surajeet310 443fa17b92 Bug 1717651 - Removed instances of 'ensure_subprocess_env' from testing/xpcshell r=mhentges
Since Python 2 is no longer used in testing/xpcshell, therefore 'ensure_subprocess_env' is obsolete.

Differential Revision: https://phabricator.services.mozilla.com/D120267
2021-07-20 14:58:35 +00:00
Alex Lopez 77ce415604 Bug 1696251 - Replace self with command_context where possible in existing mach commands. r=mhentges,webdriver-reviewers,perftest-reviewers,whimboo
This step removes all the dependencies of mach commands to
having a MachCommandBase as the `self` by using the `command_context`
argument instead. This also removes any remaining statefulness from those
classes that implement mach commands, ultimately making it easier to move
existing commands out of classes in a follow-up.

Differential Revision: https://phabricator.services.mozilla.com/D118058
2021-07-19 16:04:25 +00:00
Butkovits Atila a07f790e42 Backed out changeset e1921c5112d8 (bug 1696251) for causing bustages complaining about 'CommandContext'. CLOSED TREE 2021-07-16 20:35:55 +03:00
Alex Lopez 190e03aaab Bug 1696251 - Replace self with command_context where possible in existing mach commands. r=mhentges,webdriver-reviewers,perftest-reviewers,whimboo
This step removes all the dependencies of mach commands to
having a MachCommandBase as the `self` by using the `command_context`
argument instead. This also removes any remaining statefulness from those
classes that implement mach commands, ultimately making it easier to move
existing commands out of classes in a follow-up.

Differential Revision: https://phabricator.services.mozilla.com/D118058
2021-07-16 15:51:29 +00:00
Kershaw Chang 6d7d02f5f7 Bug 1720648 - Make necko work with neqo 0.4.28, r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D119991
2021-07-15 19:19:55 +00:00
Kershaw Chang 3b354571f5 Bug 1654507 - Part1: Plumbing for setting ech config, r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D119402
2021-07-13 09:24:25 +00:00
Dragana Damjanovic 6bcf9794f2 Bug 1717360 - Fix a endless loop when opening a WebSocket to a server that supports HTTP/3 r=necko-reviewers,valentin
If there is a HTTP/3 connection to a server and we try to open a WebSocket to the same server, current implementation will loop forever because we do not allow to have HTTP/2 and HTTP/3 connection open at the same time. This patch allows having both connections open at the same time if the HTTP/2 connection is used for WebSocket.

Differential Revision: https://phabricator.services.mozilla.com/D118737
2021-06-25 20:25:44 +00:00
Kershaw Chang 1cbf5d7e80 Bug 1716069 - P2: Use nsHTTPSOnlyUtils::IsUpgradeDowngradeEndlessLoop to check if there is an endless loop when HTTPS RR is presented, r=ckerschb
Depends on D118598

Differential Revision: https://phabricator.services.mozilla.com/D118599
2021-06-24 09:27:54 +00:00
Mark Banner 28abf1cb81 Bug 1515695 - Remove Task.jsm. r=florian,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D118001
2021-06-17 08:28:02 +00:00
Yaron Tausky 768366d7b8 Bug 1496997 - Remove dom.serviceWorkers.parent_intercept pref r=asuth,dom-workers-and-storage-reviewers,perftest-reviewers,jgraham,sparky,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D101788
2021-06-15 08:52:39 +00:00
Andrew Halberstadt 225e877c2b Bug 1696531: fix dmd.py and related tools to support python 3, r=bhearsum
Depends on D109729

Differential Revision: https://phabricator.services.mozilla.com/D109731
2021-06-14 15:31:42 +00:00
Kershaw Chang 2fe9a66455 Bug 1710638 - Enable sandboxing for socket process tests, r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D115013
2021-05-21 07:15:21 +00:00
Andrew Halberstadt 68d9db8483 Bug 1696531 - [xpcshell] Fix Python 3 error in selftest.py, r=bhearsum
Depends on D109732

Differential Revision: https://phabricator.services.mozilla.com/D110546
2021-05-18 18:35:27 +00:00
Alex Lopez 455d9a088b 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-05-17 16:15:58 +00:00
Ben Hearsum 4b378464f2 Bug 1696531: add required import to xpcshell/selftest.py r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D109732
2021-05-11 15:30:41 +00:00
Andrew Halberstadt 83cedb1ca2 Bug 1696531 - [xpcshell] Hack around Python bug on Windows with Python < 3.7.5, r=releng-reviewers,jmaher
This works around:
https://bugs.python.org/issue37380GH-msg346333

Differential Revision: https://phabricator.services.mozilla.com/D114407
2021-05-11 15:30:41 +00:00
Kershaw Chang 96ada7a697 Bug 1703734 - Refactor test_odoh.js by reusing code from test_trr.js, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D112985
2021-05-11 14:01:20 +00:00
Kershaw Chang 6d57ed5e05 Bug 1698017 - Update ODoH to draft 06, r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D110915
2021-05-10 20:12:09 +00:00
Mark Banner 39a3db78d4 Bug 1707711 - Stop using ChromeUtils.import(..., null) in testing/. r=kmag
Also clean up some unused exclusions in .eslintrc.js.

Differential Revision: https://phabricator.services.mozilla.com/D114623
2021-05-10 08:56:05 +00:00
Sandor Molnar 8d9abf3285 Backed out changeset ed582ad8db97 (bug 1707711) for causing dt failures in browser_webconsole_stubs_page_error. CLOSED TREE 2021-05-09 18:46:56 +03:00
Mark Banner 44419c64f1 Bug 1707711 - Stop using ChromeUtils.import(..., null) in testing/. r=kmag
Also clean up some unused exclusions in .eslintrc.js.

Differential Revision: https://phabricator.services.mozilla.com/D114623
2021-05-09 08:06:41 +00:00
Sandor Molnar 6ceb5f92a7 Backed out 10 changesets (bug 1696531) for causing mochitest failures in TypeError: cannot use a string pattern on a bytes-like object. CLOSED TREE
Backed out changeset abc85e3c21b0 (bug 1696531)
Backed out changeset 82445e26060e (bug 1696531)
Backed out changeset 97771570e425 (bug 1696531)
Backed out changeset c3f229148f6c (bug 1696531)
Backed out changeset 9557ff3065bc (bug 1696531)
Backed out changeset 98d17a5f6886 (bug 1696531)
Backed out changeset b0eee4af2caf (bug 1696531)
Backed out changeset 544be24f74be (bug 1696531)
Backed out changeset ddcc795bf838 (bug 1696531)
Backed out changeset e5e76f56ceb9 (bug 1696531)
2021-05-06 23:57:56 +03:00
Andrew Halberstadt cff17c0793 Bug 1696531 - [xpcshell] Hack around Python bug on Windows with Python < 3.7.5, r=releng-reviewers,jmaher
This works around:
https://bugs.python.org/issue37380GH-msg346333

Differential Revision: https://phabricator.services.mozilla.com/D114407
2021-05-06 19:51:36 +00:00
Andrew Halberstadt a2d458f2a1 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-05-06 19:51:36 +00:00
Andrew Halberstadt ba702845aa Bug 1696531 - [xpcshell] Fix Python 3 error in selftest.py, r=bhearsum
Depends on D109732

Differential Revision: https://phabricator.services.mozilla.com/D110546
2021-05-06 19:51:35 +00:00
Ben Hearsum 1e8a4f1bf6 Bug 1696531: add required import to xpcshell/selftest.py r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D109732
2021-05-06 19:51:34 +00:00
Ben Hearsum 16e50ef8ae Bug 1696531: fix dmd.py and related tools to support python 3 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D109731
2021-05-06 19:51:34 +00:00
Valentin Gosu 1f5782398f Bug 1708398 - Make test_http2.js work with --verify r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D113771
2021-04-29 12:14:42 +00:00
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