Commit Graph

439 Commits

Author SHA1 Message Date
Alex Kontos
0dcefccb1a feat: PGO changes for github actions 2025-11-06 14:13:44 +00:00
agoloman
eeda2a676a Revert Bug 1962092 - for causing bc failures @browser_emailtracking_telemetry.js.
This reverts commit ef16c3f97c.

Revert "Bug 1962092 - Add tracking protection skip for anti-fraud feature. r=timhuang"

This reverts commit 2404b29b7f.

Revert "Bug 1962092 - Add antifraud annotation feature. r=timhuang"

This reverts commit 2d2deb7533.

Revert "Bug 1962092 - Add flags and prefs for antifraud list feature. r=timhuang,extension-reviewers,robwu"

This reverts commit b18b06376e.
2025-05-23 05:09:21 +00:00
William Wen
ef16c3f97c Bug 1962092 - Add test for anti-fraud annotation. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D247537
2025-05-23 03:51:29 +00:00
Cristina Horotan
8330dc520f Revert "Bug 1962092 - Add test for anti-fraud annotation. r=timhuang" fro causing bc failures at browser_antifraud_annotation.js
This reverts commit 552f52e9f2.
2025-05-21 20:14:42 +00:00
William Wen
552f52e9f2 Bug 1962092 - Add test for anti-fraud annotation. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D247537
2025-05-21 18:44:49 +00:00
Alex Hochheiden
9e91a1f021 Bug 1715287 - [lint] Enable remaining pyupgrade rules and lint tree r=linter-reviewers,webdriver-reviewers,translations-reviewers,whimboo,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D245320
2025-04-13 17:48:23 +00:00
Julien Wajsberg
2b1bd40b7f Bug 1958861 - Add a mention about how to add a new https host to the list in server-locations.txt r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D244610
2025-04-10 13:52:50 +00:00
Julien Wajsberg
1a5ccf417d Bug 1803607 - [about:logging] Add a test to cover the new functionality r=canaltinova,freddyb
Differential Revision: https://phabricator.services.mozilla.com/D243516
2025-04-09 10:04:12 +00:00
William Wen
e5ca5df644 Bug 1955107 - Add test for consent manager integration. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D242213
2025-03-25 14:58:20 +00:00
Alexandre Lissy
a3da7e77d7 Bug 1553850 - Enable use of sandbox during profiling step r=perftest-reviewers,afinder,glandium
Differential Revision: https://phabricator.services.mozilla.com/D218308
2025-02-11 19:44:29 +00:00
Goloman Adrian
bf15b306dd Backed out 6 changesets (bug 1553850) for causing gtest failures and requested by Gerard.
Backed out changeset 281b3750a7f0 (bug 1553850)
Backed out changeset 2dd45495e717 (bug 1553850)
Backed out changeset a5f077fc1e6a (bug 1553850)
Backed out changeset 99ff1f091b19 (bug 1553850)
Backed out changeset f7f8df99ad1f (bug 1553850)
Backed out changeset ac18e6bb1835 (bug 1553850)
2025-02-06 09:32:07 +02:00
Alexandre Lissy
1778b86139 Bug 1553850 - Enable use of sandbox during profiling step r=perftest-reviewers,afinder,glandium
Differential Revision: https://phabricator.services.mozilla.com/D218308
2025-02-05 15:46:47 +00:00
Dana Keeler
b0b7d6863a Bug 1940172 - regenerate test certificates for 2025 r=jschanck,necko-reviewers,kershaw,robwu,extension-reviewers
* the certificates were regenerated using ./mach generate-test-certs
* the build/pgo/certs/ changes were made using ./mach python build/pgo/genpgocert.py
* the zip files in security/manager/ssl/tests/unit/test_signed_apps/ were updated per the directions in the corresponding moz.build file
* security/manager/ssl/tests/unit/test_cert_override_read.js was updated per the instructions in its output
* this text was copied and updated from the previous regeneration bug, bug 1874627

These certificates and other test artifacts will now expire in 2026.

Differential Revision: https://phabricator.services.mozilla.com/D233457
2025-01-08 17:41:58 +00:00
Sandor Molnar
22769d6e82 Backed out changeset 3f4fb9bf51b2 (bug 1924585) for causing android perma failures CLOSED TREE 2024-10-17 23:17:27 +03:00
Dana Keeler
034c21fd4a Bug 1924585 - add telemetry to measure hyphens in domain names causing compatibility issues r=Gijs,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D225561
2024-10-17 18:32:58 +00:00
Fatih
1b555fbeb9 Bug 1816916: Hide onion referers by default r=freddyb,tjr
Differential Revision: https://phabricator.services.mozilla.com/D169919
2024-09-04 15:55:18 +00:00
Tamas Szentpeteri
366e1e2706 Backed out 2 changesets (bug 1914115, bug 1553850) as requested by Gerard for causing snap canonical builds bustages.
Backed out changeset 375467d198b4 (bug 1914115)
Backed out changeset 7ab954ad623a (bug 1553850)
2024-08-28 21:30:02 +03:00
Benjamin VanderSloot
ee76e9bd28 Bug 1873986 - Fix dom/tests/mochitest/fetch/ when by blocking 3pc by default in TCP. r=bvandersloot,necko-reviewers,tschuster,kershaw
Depends on D217979

Differential Revision: https://phabricator.services.mozilla.com/D215353
2024-08-28 15:11:52 +00:00
Iulian Moraru
fd6eca31e3 Backed out 6 changesets (bug 1907326, bug 1873984, bug 1873986, bug 1899969, bug 1873982) for causing multiple wd assertion failures.
Backed out changeset fa6623f6fbd3 (bug 1873982)
Backed out changeset eba7918d1a27 (bug 1873986)
Backed out changeset 6da85e97c413 (bug 1907326)
Backed out changeset 7781c1ae8573 (bug 1899969)
Backed out changeset 111b1d2a8acd (bug 1873984)
Backed out changeset 6f566eb5a71f (bug 1907326)
2024-08-28 02:37:51 +03:00
Benjamin VanderSloot
ce532394fa Bug 1873986 - Fix dom/tests/mochitest/fetch/ when by blocking 3pc by default in TCP. r=bvandersloot,necko-reviewers,tschuster,kershaw
Depends on D217979

Differential Revision: https://phabricator.services.mozilla.com/D215353
2024-08-27 19:11:34 +00:00
Norisz Fay
5eabc4af3f Backed out 6 changesets (bug 1873986, bug 1907326, bug 1873984, bug 1899969, bug 1873982) for causing mochitest failure on test_https_synth_fetch_from_cached_sw.html
Backed out changeset c21d648be7d8 (bug 1873982)
Backed out changeset 2085dd0f17aa (bug 1873986)
Backed out changeset c16a498708f2 (bug 1907326)
Backed out changeset 710052f24e76 (bug 1899969)
Backed out changeset 49c60fc62f3f (bug 1873984)
Backed out changeset 34d80bc1d5a0 (bug 1907326)
2024-08-27 19:42:06 +03:00
Benjamin VanderSloot
c6029eba02 Bug 1873986 - Fix dom/tests/mochitest/fetch/ when by blocking 3pc by default in TCP. r=bvandersloot,necko-reviewers,tschuster,kershaw
Depends on D217979

Differential Revision: https://phabricator.services.mozilla.com/D215353
2024-08-27 14:52:08 +00:00
Stanca Serban
e67fadc432 Backed out 6 changesets (bug 1873982, bug 1873984, bug 1907326, bug 1873986, bug 1899969) for causing multiple failures. CLOSED TREE
Backed out changeset 6f62ee42e191 (bug 1873982)
Backed out changeset 49abb24e8d16 (bug 1873986)
Backed out changeset c291a4fdda58 (bug 1907326)
Backed out changeset 9eea8ecac9fd (bug 1899969)
Backed out changeset 520ee18d5bd3 (bug 1873984)
Backed out changeset 72f2e86ed2fe (bug 1907326)
2024-08-27 00:08:08 +03:00
Benjamin VanderSloot
56a937568e Bug 1873986 - Fix dom/tests/mochitest/fetch/ when by blocking 3pc by default in TCP. r=bvandersloot,necko-reviewers,tschuster,kershaw
Depends on D217979

Differential Revision: https://phabricator.services.mozilla.com/D215353
2024-08-26 18:52:45 +00:00
Alexandre Lissy
78316e224f Bug 1914115 - Ensure UPLOAD_PATH is set before using it for profile logs r=perftest-reviewers,fbilt,firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D219722
2024-08-22 16:49:01 +00:00
Jonathan Kew
46efa1f35e Bug 727831 - Add a perf-reftest for resizing a textarea with large contents. r=layout-reviewers,perftest-reviewers,emilio,sparky
In my local build, this reports timings of around 800ms using current mozilla-central,
and drops to around 80ms with the patch applied.

Differential Revision: https://phabricator.services.mozilla.com/D219749
2024-08-22 12:55:40 +00:00
Alexandre Lissy
c450125935 Bug 1553850 - Enable use of sandbox during profiling step r=perftest-reviewers,afinder,glandium
Differential Revision: https://phabricator.services.mozilla.com/D218308
2024-08-20 08:15:40 +00:00
Dana Keeler
ba77da387b Bug 1913015 - telemetry to validate vetted government CAs proposal r=jschanck,Gijs
Some governments have PKI with roots that do not meet the requirements to be in
Mozilla's Root CA Program but still generally follow industry practices (and
are trusted by other root CA programs). Many users need to visit sites with
certificates issued by these roots. Currently, they either must manually
install these roots or click through certificate error pages. We may have an
opportunity to improve this experience by detecting sites affected by this and
giving users the option to trust the relevant roots.

This patch extends the telemetry we collect on certificate error pages to
include an indication of whether or not trusting the India CCA roots would
(probably) turn an unknown issuer error into a successful connection.

Differential Revision: https://phabricator.services.mozilla.com/D219116
2024-08-16 17:07:35 +00:00
Stanca Serban
8ae7379e45 Backed out 6 changesets (bug 1873982, bug 1899969, bug 1873984, bug 1873986, bug 1907326) for causing multiple failures. CLOSED TREE
Backed out changeset 1fe7251ea3ad (bug 1873982)
Backed out changeset b890ee1a857c (bug 1873986)
Backed out changeset 374fe982e085 (bug 1907326)
Backed out changeset 2a8b3a05a912 (bug 1899969)
Backed out changeset ca3864e4b51b (bug 1873984)
Backed out changeset 45280ba322e5 (bug 1907326)
2024-07-30 15:41:05 +03:00
Leander Schwarz
b1e319a1ff Bug 1873986 - Fix dom/tests/mochitest/fetch/ when by blocking 3pc by default in TCP. r=bvandersloot,necko-reviewers,tschuster,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D215353
2024-07-30 11:53:53 +00:00
Iulian Moraru
2922fe1a49 Backed out 2 changesets (bug 1873982, bug 1873986) for causing mochitest-plain failures on test_CrossSiteXHR.html. CLOSED TREE
Backed out changeset 407b6a12da91 (bug 1873982)
Backed out changeset ffefd3a5891d (bug 1873986)
2024-07-29 17:06:33 +03:00
Leander Schwarz
20c5de7423 Bug 1873986 - Fix dom/tests/mochitest/fetch/ when by blocking 3pc by default in TCP. r=bvandersloot,necko-reviewers,tschuster,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D215353
2024-07-29 12:58:20 +00:00
Alexandre Lissy
b8fbb83f09 Bug 1908709 - Update PGO sandbox disabling with Utility and remove NPAPI r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D216985
2024-07-23 06:09:53 +00:00
Malte Juergens
701fd10602 Bug 1896083 - Do not HTTPS-First upgrade hostnames that do not end with a known public suffix r=necko-reviewers,valentin,simonf,freddyb
Differential Revision: https://phabricator.services.mozilla.com/D211543
2024-06-21 16:47:41 +00:00
Cristian Tuns
d391765c45 Backed out 2 changesets (bug 1896083) for causing bc failures in browser_httpsfirst.js CLOSED TREE
Backed out changeset 2d286815be60 (bug 1896083)
Backed out changeset 8b206d79cd48 (bug 1896083)
2024-06-21 12:24:06 -04:00
Malte Juergens
dca31a2c9b Bug 1896083 - Do not HTTPS-First upgrade hostnames that do not end with a known public suffix r=necko-reviewers,valentin,simonf,freddyb
Differential Revision: https://phabricator.services.mozilla.com/D211543
2024-06-21 07:57:26 +00:00
Dana Keeler
87b035904d Bug 1900132 - attempt to redirect www.example.com to example.com to avoid certificate domain name mismatch errors r=jschanck,smaug
Differential Revision: https://phabricator.services.mozilla.com/D212329
2024-06-05 23:58:03 +00:00
Malte Juergens
24603c25be Bug 1884921 - Update HTTPS-First Tests to work with new exception behaviour on failiure r=freddyb
These tests would fail if we automatically add a HTTPS-First exception. So this
patch either removes those exceptions again throughout the tests, or disables
the adding of automatic exceptions via a pref.

Differential Revision: https://phabricator.services.mozilla.com/D204757
2024-05-27 18:57:25 +00:00
Malte Juergens
9ec23ad794 Bug 1885893 - Only collect HTTPS-First telemetry on successful request r=freddyb
This patch addresses the problem that we currently collect HTTPS-First telemetry
for sites that are not reachable at all, be it through always causing a error or
through always timing out.

- On a downgrade, do not collect telemetry instantly, but instead save the
  telemetry data in the load state for the downgraded request
- That telemetry data will then be copied over into the document load listener
  of the new request
- On a successful request, if we have downgrade data in the load listener, we
  collect the downgrade telemetry, as the downgrade seems to have been
  successful
- Similar to the downgrade case, we only count the upgrade metric once we
  encounter a successful request annotated with the information that it was
  upgraded by HTTPS-First, instead of counting it instantly on the decision to
  upgrade. This also means the upgrade metric will not include loads that are
  downgraded again anymore
- Add a testcase for a site which is neither reachable via HTTP nor HTTPS, and
  ensure no telemetry is collected

Differential Revision: https://phabricator.services.mozilla.com/D210792
2024-05-27 14:20:11 +00:00
Iulian Moraru
80cd3669b3 Backed out 2 changesets (bug 1835983) for causing http related mochitest failures. CLOSED TREE
Backed out changeset deb09f084bed (bug 1835983)
Backed out changeset 057e5bd486b4 (bug 1835983)
2024-04-17 21:32:39 +03:00
Malte Juergens
5570084c9c Bug 1835983 - Make https://trackertest.org available to mochitest r=nss-reviewers,jschanck
cert9.db, key4.db and mochitest.client have been generated by ./mach python build/pgo/genpgocert.py,
as per https://firefox-source-docs.mozilla.org/build/buildsystem/test_certificates.html.

Differential Revision: https://phabricator.services.mozilla.com/D205545
2024-04-17 12:17:36 +00:00
serge-sans-paille
449911e274 Bug 1884540 - Remove six dependency from build/ directory r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D204144
2024-03-13 17:37:16 +00:00
serge-sans-paille
67fb85ad18 Bug 1879120 - Remove all python deprecation warning: invalid escape sequence r=ahochheiden,webdriver-reviewers,perftest-reviewers,afinder UPGRADE_NSPR_RELEASE
Differential Revision: https://phabricator.services.mozilla.com/D201012
2024-02-26 08:26:38 +00:00
ahochheiden
0715082d45 Bug 1877344 - Replace all usages of distutils.spawn.find_executable with shutil.which within mach r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D199949
2024-02-08 21:07:26 +00:00
serge-sans-paille
1b90a6f9b9 Bug 1844769 - Extra sanity check upon merged.profdata generation r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D184227
2024-01-24 06:54:37 +00:00
Gregory Pappas
cb4d788e9e Bug 1724089 - Remove browser.tabs.remote.autostart pref r=webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jgraham,extension-reviewers,mossop,sparky,robwu,owlish,necko-reviewers,jmaher,valentin
Differential Revision: https://phabricator.services.mozilla.com/D192136
2024-01-22 09:52:53 +00:00
Dana Keeler
8e3cdf6ab8 Bug 1874627 - regenerate expiring test certificates for 2024 r=jschanck,necko-reviewers,extension-reviewers,robwu,jesup
* the certificates were regenerated using `./mach generate-test-certs`
* the build/pgo/certs/ changes were made using
  `./mach python build/pgo/genpgocert.py`
* the zip files in security/manager/ssl/tests/unit/test_signed_apps/ were
  updated per the directions in the corresponding moz.build file
* security/manager/ssl/tests/unit/test_cert_override_read.js needed manual
  updating

These certificates and other test artifacts will now expire in 2025.

Differential Revision: https://phabricator.services.mozilla.com/D198727
2024-01-18 23:31:04 +00:00
Iulian Moraru
c0d4cd50ad Backed out changeset da092d881d44 (bug 1724089) for causing valgrind build bustages. 2024-01-18 22:12:44 +02:00
Gregory Pappas
f46c35d60d Bug 1724089 - Remove browser.tabs.remote.autostart pref r=webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jgraham,extension-reviewers,mossop,sparky,robwu,owlish,necko-reviewers,jmaher,valentin
Differential Revision: https://phabricator.services.mozilla.com/D192136
2024-01-18 16:25:47 +00:00
Noemi Erli
9005c1e05f Backed out changeset be072303feaf (bug 1724089) for causing xpc failures in test_headless.js 2024-01-18 16:44:10 +02:00