Kershaw Chang
b39b0bed43
Bug 1809843 - Run mochitest with Http/3 server on try, r=gbrown,necko-reviewers,ci-and-tooling,valentin,suhaib,jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D167515
2023-03-21 09:09:58 +00:00
Andrew Halberstadt
577c4dacfe
Bug 1811850 - [lint] Fix ruff errors resulting from new configuration, r=webdriver-reviewers,perftest-reviewers,whimboo,sparky,firefox-build-system-reviewers,ahochheiden
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D172359
2023-03-20 13:06:28 +00:00
Sandor Molnar
a67270c195
Backed out 2 changesets (bug 1804140) for causing multiple failures.
...
Backed out changeset 14243ef3e860 (bug 1804140)
Backed out changeset 8f4ae1ab430d (bug 1804140)
2023-03-20 14:33:35 +02:00
Peter Van der Beken
0a61153f2e
Bug 1804140 - Enable SHIP by default on desktop, whether or not Fission is disabled. r=smaug,jgraham
...
Differential Revision: https://phabricator.services.mozilla.com/D172278
2023-03-20 11:17:06 +00:00
Cristian Tuns
c1b52fd95e
Backed out 5 changesets (bug 1811850) for causing linting bustages(bugzilla) CLOSED TREE
...
Backed out changeset e8fcfc7f8108 (bug 1811850)
Backed out changeset f8950d716c9e (bug 1811850)
Backed out changeset f650123cc188 (bug 1811850)
Backed out changeset d96f90c2c58b (bug 1811850)
Backed out changeset c3b0f9666183 (bug 1811850)
2023-03-16 22:16:30 -04:00
Andrew Halberstadt
d93be6a402
Bug 1811850 - [lint] Fix ruff errors resulting from new configuration, r=webdriver-reviewers,perftest-reviewers,whimboo,sparky,firefox-build-system-reviewers,ahochheiden
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D172359
2023-03-17 01:54:00 +00:00
Kershaw Chang
79403e1620
Bug 1809843 - Add DoH server and Http/3 server into mochitest, r=necko-reviewers,ahal,valentin,gbrown,jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D166644
2023-03-16 21:28:58 +00:00
Kershaw Chang
226e8a456f
Bug 1809843 - Make Http/3 server support proxy mode, r=necko-reviewers,valentin,supply-chain-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D166642
2023-03-16 21:28:57 +00:00
Florian Quèze
0bcdd24a3b
Bug 1822794 - Add markers in xpcshell tests to see what passes or fails, r=mconley.
...
Depends on D172783
Differential Revision: https://phabricator.services.mozilla.com/D172784
2023-03-16 19:09:49 +00:00
Marian-Vasile Laza
ee72efd1e9
Backed out 5 changesets (bug 1809843) for causing Cargo related build bustages. CLOSED TREE
...
Backed out changeset 5c494680f448 (bug 1809843)
Backed out changeset 02742b38edab (bug 1809843)
Backed out changeset 2b9b32ca8294 (bug 1809843)
Backed out changeset 56631cb02ae6 (bug 1809843)
Backed out changeset 37e35a60a71f (bug 1809843)
2023-03-13 13:53:26 +02:00
Kershaw Chang
7d99157362
Bug 1809843 - Run mochitest with Http/3 server on try, r=gbrown,necko-reviewers,ci-and-tooling,valentin,suhaib,jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D167515
2023-03-13 11:12:33 +00:00
Kershaw Chang
2b54ddaca8
Bug 1809843 - Add DoH server and Http/3 server into mochitest, r=necko-reviewers,ahal,valentin,gbrown,jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D166644
2023-03-13 11:12:32 +00:00
Kershaw Chang
555125377d
Bug 1809843 - Make Http/3 server support proxy mode, r=necko-reviewers,valentin,supply-chain-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D166642
2023-03-13 11:12:31 +00:00
Mark Banner
80cc721b82
Bug 1820498 - Convert PerTestCoverageUtils to an ES module. r=marco,webdriver-reviewers,perftest-reviewers,sparky,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D171689
2023-03-06 19:13:58 +00:00
Joel Maher
e401f6a88f
Bug 1819381 - when failing to launch browser with permission error, exit ASAP and RETRY. r=gbrown
...
Differential Revision: https://phabricator.services.mozilla.com/D171406
2023-03-02 01:11:25 +00:00
Manuel Bucher
6d6ab97fe9
Bug 1809893 - http2: treat invalid characters in header values as protocol violation r=necko-reviewers,valentin,kershaw
...
The previous version implemented http2-draft8 Sec 10.3[1]
> In particular, header field
> names or values that contain characters not permitted by HTTP/1.1,
> including carriage return (U+000D) or line feed (U+000A) MUST NOT be
> translated verbatim, as stipulated in [HTTP-p1], Section 3.2.4.
This semantic has changed later and is different in the final rfc7540
Sec 10.3[2]
> Similarly, HTTP/2 allows header field values that are not valid.
> While most of the values that can be encoded will not alter header
> field parsing, carriage return (CR, ASCII 0xd), line feed (LF, ASCII
> 0xa), and the zero character (NUL, ASCII 0x0) might be exploited by
> an attacker if they are translated verbatim. Any request or response
> that contains a character not permitted in a header field value MUST
> be treated as malformed (Section 8.1.2.6).
We should treat invalid characters as protocol violation.
[1]: https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-http2-08#section-10.3
[2]: https://www.rfc-editor.org/rfc/rfc7540#section-10.3
Differential Revision: https://phabricator.services.mozilla.com/D170484
2023-02-23 12:48:43 +00:00
Peter Van der Beken
d6fe05cdfd
Bug 1816697 - Change test annotations for tests that fail/only succeed with session-history-in-parent. r=smaug
...
Some of the tests that fail (or only succeed) with SHIP are currently marked for
Fission. This makes them fail once we turn on SHIP without Fission.
Differential Revision: https://phabricator.services.mozilla.com/D169824
2023-02-21 14:58:35 +00:00
Joel Maher
a077161ff9
Bug 1816943 - switch win7 workers over to azure. r=gbrown
...
Differential Revision: https://phabricator.services.mozilla.com/D169936
2023-02-16 16:51:54 +00:00
Jens Stutte
3089164aa5
Bug 1811237 - Limit the number of parallel running XPCShell tests for asan builds. r=jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D167797
2023-01-25 16:04:31 +00:00
Emilio Cobos Álvarez
20d4fcf500
Bug 1791442 - Explicitly check for SNAP_NAME of MOZ_APP_NAME to detect Snap. r=mkaply,jmaher,xpcom-reviewers,nika
...
Make snap xpcshell tests run with the right environment variables
instead of tweaking them at runtime.
Differential Revision: https://phabricator.services.mozilla.com/D166523
2023-01-19 10:52:41 +00:00
Iulian Moraru
48c1ab021b
Backed out changeset 60cda7d831ca (bug 1791442) for causing bc failures on browser_ua_snap_ubuntu.js.
2023-01-19 07:56:39 +02:00
Emilio Cobos Álvarez
087a17b9bd
Bug 1791442 - Explicitly check for SNAP_NAME of MOZ_APP_NAME to detect Snap. r=mkaply,jmaher,xpcom-reviewers,nika
...
Make snap xpcshell tests run with the right environment variables
instead of tweaking them at runtime.
Differential Revision: https://phabricator.services.mozilla.com/D166523
2023-01-19 01:02:59 +00:00
Ben Hearsum
8a38ba32bb
Bug 1805919: make xpcshell harness work with MSIX packages r=jmaher
...
Some of this patch is lifted from https://phabricator.services.mozilla.com/D86760 , and is wiring up the ability to use `firefox.exe` as the xpcshell binary. This is preferable because running with firefox.exe ensures we're running within the virtualized environment, and to avoid the need to try to make xpcshell.exe work outside of the install directory (we can't copy it to an MSIX install dir).
I tried to make this work for at least all Windows tests (to avoid the need to conditionally turn it on) -- but that turned out to be far from trivial. It should be only a medium amount of work to enable it for other platforms at this point, though.
This also skips xpcshell file staging for MSIX, because it doesn't work there (we can't write to the install directory), and is unnecessary due to running through `firefox.exe`.
I will admit that parts of this are not ideal - in particular the need for the `xpcshell-msix` suite - but the alternative of getting the right args for both MSIX and non-MSIX with just one suite was much, much worse (it can't be done in the config, so we either hardcode it in the script, or deal with it in the taskgraph config -- the latter was nearly impossible to do various dependencies in the test transforms, and the former is just far too hacky). I'm open to taking another pass on this if anyone has an idea I haven't tried yet - but I'd prefer not to spent another week on it.
Differential Revision: https://phabricator.services.mozilla.com/D164086
2023-01-11 14:45:04 +00:00
Ben Hearsum
cc7d14f5a0
Bug 1808044: dump mozinfo at the start of xpcshell runs. r=jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D165750
2022-12-30 21:08:25 +00:00
Mark Banner
8730eec697
Bug 1806359 - Convert telemetry imports to direct ES imports. r=necko-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,janerik,mconley,sgalich,bytesized,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D165002
2022-12-23 12:37:07 +00:00
Marco Castelluccio
9a5c674965
Bug 1801836 - Remove no longer necessary 'from __future__' imports under testing/. r=linter-reviewers,webdriver-reviewers,perftest-reviewers,ahal,afinder DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D165399
2022-12-23 10:08:06 +00:00
Marco Castelluccio
8f59316975
Bug 1790816 - Reformat testing/ with isort. r=linter-reviewers,webdriver-reviewers,perftest-reviewers,jgraham,gbrown,whimboo,sparky,ahal
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D162657
2022-12-21 14:38:37 +00:00
Kershaw Chang
09884ffa96
Bug 1800990 - Don't taint redirected channel for HSTS upgrade, r=robwu,necko-reviewers,tschuster
...
Differential Revision: https://phabricator.services.mozilla.com/D163305
2022-12-01 13:36:14 +00:00
Otto Länd
9507143572
No bug: apply code formatting via Lando
...
# ignore-this-changeset
Output from `mach lint`:
requesting all changes
adding changesets
adding manifests
adding file changes
added 14948 changesets with 20627 changes to 1598 files
new changesets 90d04a36eef7:41a33c3f2719
updating to branch default
325 files updated, 0 files merged, 0 files removed, 0 files unresolved
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
error: problem with lint setup, skipping android-api-lint, android-checkstyle, android-format, android-javadoc, android-lint, android-test
Fixing /repos/mozilla-central/toolkit/mozapps/update/tests/marionette/test_no_window_update_restart.py
Fixing /repos/mozilla-central/testing/xpcshell/selftest.py
✖ 0 problems (0 errors, 90 warnings, 4 fixed)
2022-11-25 19:13:43 +00:00
Barret Rennie
15bea72588
Bug 1541508 - Use Services.env in testing/ r=jmaher,perftest-reviewers,sparky
...
Differential Revision: https://phabricator.services.mozilla.com/D160147
2022-11-25 19:09:10 +00:00
Mark Banner
4a8185fb14
Bug 1801368 - Migrate StructuredLog.jsm to an ES module. r=ahal
...
Depends on D162490
Differential Revision: https://phabricator.services.mozilla.com/D162491
2022-11-24 16:17:47 +00:00
Barret Rennie
81c2567091
Bug 1772733 - Change directory in xpcshell without OS.File r=jmaher,nika
...
Instead of relying on OS.File.setCurrentDirectory in the xpcshell test harness
we instead provide a function to directly change directory.
Differential Revision: https://phabricator.services.mozilla.com/D148977
2022-11-21 23:49:39 +00:00
Mark Banner
02375d923e
Bug 1799314 - Convert consumers of testing modules to import ES modules direct (testing/). r=ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D161908
2022-11-17 12:00:28 +00:00
Mark Banner
24f6e8a8ca
Bug 1799314 - Convert most of the JSM modules in testing/ to ES modules. r=ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D161431
2022-11-17 12:00:25 +00:00
Dragana Damjanovic
e5a1b3f369
Bug 1785775 - Add tests for the cert verification with and without proxy r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D154972
2022-11-02 10:03:42 +00:00
Cristian Tuns
4d37cf70f1
Backed out 19 changesets (bug 1541508) for causing xpcshell failures on test_notHeadlessByDefault.js CLOSED TREE
...
Backed out changeset 08476fa2bc27 (bug 1541508)
Backed out changeset 0bf7514845db (bug 1541508)
Backed out changeset aa612a5e9ef7 (bug 1541508)
Backed out changeset 6bb9360473f7 (bug 1541508)
Backed out changeset b3d8e92f50c2 (bug 1541508)
Backed out changeset fa40dded133e (bug 1541508)
Backed out changeset 2e7db4aa8d4f (bug 1541508)
Backed out changeset 6098e2eb62ea (bug 1541508)
Backed out changeset 2c599ee639c4 (bug 1541508)
Backed out changeset 7d44f6e2644c (bug 1541508)
Backed out changeset c1279c3d674c (bug 1541508)
Backed out changeset 8bd08a62a590 (bug 1541508)
Backed out changeset 740010cb005c (bug 1541508)
Backed out changeset 0bfc7dd85c62 (bug 1541508)
Backed out changeset c4374a351356 (bug 1541508)
Backed out changeset 44ccfeca7364 (bug 1541508)
Backed out changeset e944e706a523 (bug 1541508)
Backed out changeset 2c59d66f43e4 (bug 1541508)
Backed out changeset a1896eacb6f1 (bug 1541508)
2022-11-01 22:38:52 -04:00
Barret Rennie
c99b29d427
Bug 1541508 - Use Services.env in testing/ r=jmaher,perftest-reviewers,sparky
...
Differential Revision: https://phabricator.services.mozilla.com/D160147
2022-11-02 02:08:58 +00:00
Mark Banner
9189ff3f6f
Bug 1798018 - Convert consumers of toolkit/modules/tests to import ES modules direct. r=Gijs,webdriver-reviewers,extension-reviewers,settings-reviewers,credential-management-reviewers,sgalich
...
Differential Revision: https://phabricator.services.mozilla.com/D160664
2022-11-01 13:26:38 +00:00
John Schanck
9a32599fad
Bug 1754746 - example tlsserver that fails in handshake. r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D148845
2022-11-01 09:52:52 +00:00
Sandor Molnar
590f0de714
Backed out changeset b9a80242b74c (bug 1754746) for causing xpc failures in security/manager/ssl/tests/unit/test_ev_certs.js
2022-10-26 14:58:12 +03:00
Mark Banner
076892e252
Bug 1795322 - Update toolkit modules references in testing code r=gbrown,webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D160035
2022-10-26 08:06:37 +00:00
Csoregi Natalia
5f9da7b301
Backed out 12 changesets (bug 1795322) for causing multiple failures e.g. test_deletion_request_ping.py. CLOSED TREE
...
Backed out changeset aba25cbcda51 (bug 1795322)
Backed out changeset a4a35005ada9 (bug 1795322)
Backed out changeset 8e8d790eb0f4 (bug 1795322)
Backed out changeset db8903454bd3 (bug 1795322)
Backed out changeset 60cc71c61cad (bug 1795322)
Backed out changeset bc6a674994ad (bug 1795322)
Backed out changeset 6ac8a611f8c7 (bug 1795322)
Backed out changeset 9fb873ecfb31 (bug 1795322)
Backed out changeset c8a7a40c2a2f (bug 1795322)
Backed out changeset f2c118b6c6ce (bug 1795322)
Backed out changeset 38df43b4a70f (bug 1795322)
Backed out changeset 89aea8373411 (bug 1795322)
2022-10-25 23:47:58 +03:00
Mark Banner
faf8655562
Bug 1795322 - Update toolkit modules references in testing code r=gbrown,webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D160035
2022-10-25 19:49:28 +00:00
John Schanck
c1b0fb0815
Bug 1754746 - example tlsserver that fails in handshake. r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D148845
2022-10-25 08:10:30 +00:00
Robert Longson
a546daf2d8
Bug 1795568 Part 1 - Remove plugin support code r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D159465
2022-10-24 18:56:41 +00:00
Mark Banner
1b63e93005
Bug 1795370 - Add nsICrashReporter as an interface on nsAppRunner. r=gsvelto
...
This fixes ESLint issues raised by mozilla/valid-services-properties.
This also changes follow-on issues to use Services.appinfo rather than getService.
Differential Revision: https://phabricator.services.mozilla.com/D159461
2022-10-18 18:22:24 +00:00
Mark Banner
2ffde1e92f
Bug 1792341 - Migrate more toolkit/modules consumers to use direct ES module import. r=Gijs,webdriver-reviewers,perftest-reviewers,necko-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,sgalich,owlish,bytesized,AlexandruIonescu,whimboo,mconley,mixedpuppy
...
Mainly automated changes. Some manual ESLint fixes and whitespace cleanup.
Differential Revision: https://phabricator.services.mozilla.com/D158452
2022-10-18 11:21:26 +00:00
Jens Stutte
f3545a36d0
Bug 1774462 - Suppress surrogate characters in log lines if we use six.PY3. r=davehunt
...
Differential Revision: https://phabricator.services.mozilla.com/D158929
2022-10-14 17:52:23 +00:00
Narcis Beleuzu
1b59ca4f2a
Backed out 2 changesets (bug 1774462) for xpcshell failure on test_keys.js . CLOSED TREE
...
Backed out changeset adfa13e465e6 (bug 1774462)
Backed out changeset ee137407c8b4 (bug 1774462)
2022-10-14 17:04:29 +03:00
Jens Stutte
ec2311ffca
Bug 1774462 - Suppress surrogate characters in log lines if we use six.PY3. r=davehunt
...
Differential Revision: https://phabricator.services.mozilla.com/D158929
2022-10-14 12:47:34 +00:00