fune/testing
Manuel Bucher 0da5cdc8ad Bug 1747230 - Fix IsUpgradeDowngradeEndlessLoop blocking legitimate redirects when redirecting to different query parameters a=dmeehan
This changes where the IsUpgradeDowngradeEndlessLoop check triggers.
Before this patch, it triggered during the redirect caused by the https
upgrade. With this patch, it triggers during the downgrade for http
redirects. META and JS redirect are still detected during upgrade.
This should be fixed as a follow up (See Bug 1896691).
Downgrade in this context means same url, except with the scheme http
instead of https.

Different query parameters normally lead to different responses by web servers.
Don't consider the '#ref' part of the uri, because it doesn't get send to
the server and therefore can't change the server response.

We can't use the redirect chain anymore, because the query parameters
are trimmed since Bug 1715785.

This also removes the config option dom.security.https_only_check_path_upgrade_downgrade_endless_loop,
because it adds unnecessary complexity. Removing it for this patch is
easier.

https-only, https-first and httpssvc_https_upgrade tests had to be
modified, because they depended on the incorrect handling of query
strings in loop detection.

Original Revision: https://phabricator.services.mozilla.com/D193672

Differential Revision: https://phabricator.services.mozilla.com/D214977
2024-06-27 13:01:12 +00:00
..
awsy
condprofile
config
crashtest
docs
extensions
firefox-ui
geckodriver Bug 1854996 - Implement Permissions API extension for geckodriver. r=webdriver-reviewers,whimboo 2024-06-06 07:47:42 +00:00
gtest Bug 1876590 - Add gtest for buildid reading from shared lib r=afranchuk 2024-06-04 18:29:14 +00:00
jsshell
marionette Bug 1610530 - Use classes instead of ids to access urlbar elements from UrlbarInput. r=dao,webdriver-reviewers,whimboo 2024-06-04 12:58:52 +00:00
mochitest Bug 1891794 - Ignore changes in places.frecency.accelerateRecalculation in verify mochitests r=mak 2024-06-05 13:03:08 +00:00
modules
mozbase Backed out changeset dd3704031d8c (bug 1898051) for causing bug 1900644. 2024-06-05 01:14:28 +03:00
mozharness Bug 1902435 - Drop special case for Thunderbird "release" type to use an esr repository. r=releng-reviewers,jcristau a=RyanVM 2024-06-17 15:58:35 +00:00
perfdocs Bug 1899623 - Update youtube-playback tests to use new prod URLs. r=perftest-reviewers,afinder 2024-06-04 11:00:58 +00:00
performance
profiles Bug 1900085 - Disable builtin Glean pings during tests r=TravisLong,perftest-reviewers,sparky,search-reviewers,jteow 2024-06-04 18:15:26 +00:00
raptor Bug 1900471 - Fix Android CaR installation. r=perftest-reviewers,sparky 2024-06-05 03:56:04 +00:00
runtimes Bug 1898690 - Move statuspanel tests into browser/components/tabbrowser/. r=tabbrowser-reviewers,frontend-codestyle-reviewers,mak 2024-05-28 17:00:44 +00:00
specialpowers
talos Bug 1899597 - Add a perf test for DOM removal with positional pseudo-classes. r=perftest-reviewers,sparky 2024-06-05 11:48:24 +00:00
test
tools
tps
web-platform Bug 1904228: Don't consider :scope selectors to be featureless outside of @scope. r=emilio, a=dmeehan 2024-06-24 18:15:27 +00:00
webcompat
webdriver Bug 1854996 - Implement Permissions API extension for geckodriver. r=webdriver-reviewers,whimboo 2024-06-06 07:47:42 +00:00
xpcshell Bug 1747230 - Fix IsUpgradeDowngradeEndlessLoop blocking legitimate redirects when redirecting to different query parameters a=dmeehan 2024-06-27 13:01:12 +00:00
addtest.py
cppunittest.toml
mach_commands.py
moz.build
parse_build_tests_ccov.py
README.txt
remotecppunittests.py
runcppunittests.py
skipfails.py
testinfo.py
testsuite-targets.mk Bug 1876590 - Add gtest for buildid reading from shared lib r=afranchuk 2024-06-04 18:29:14 +00:00

Common testing tools for mozilla codebase projects, test suite definitions
for automated test runs, tests that don't fit anywhere else, and other fun
stuff