3638 Commits

Author SHA1 Message Date
Erich Gubler
ab4f388610 Bug 1961411 - build(rust): upgrade raw-window-handle 0.6.0 → 0.6.2 r=supply-chain-reviewers,jimb
Differential Revision: https://phabricator.services.mozilla.com/D246053
2025-04-24 02:38:55 +00:00
Punam Dahiya
76e8d79ff5 Bug 1943642 - Non test prefixed API for runtime registration of metrics r=home-newtab-reviewers,mconley,chutten
Differential Revision: https://phabricator.services.mozilla.com/D244860
2025-04-23 19:16:11 +00:00
Stanca Serban
14ed008dcf Backed out changeset 4d1f3c2f4b25 (bug 1962095) for causing xpcshell failures in test_http3_0rtt.js. 2025-04-23 22:25:21 +03:00
Max Leonard Inden
2cedcc7d94 Bug 1962095 - update neqo to v0.13.2 r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D246408
2025-04-23 12:54:35 +00:00
Erich Gubler
d58d10bee0 Bug 1961207 - build(rust): shim-upgrade itertools 0.10.0 → 0.14.0 r=supply-chain-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D245935
2025-04-22 12:03:45 +00:00
Drew Willcoxon
7160d5e442 Bug 1961701 - Vendor application-services 41e0b8f. r=daisuke
Depends on D246016

Differential Revision: https://phabricator.services.mozilla.com/D246159
2025-04-22 02:02:18 +00:00
Chris H-C
f6ac8ae21c Bug 1955429 - Update to Glean SDK v64.1.1 r=TravisLong,supply-chain-reviewers,mach-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D244801
2025-04-21 14:12:43 +00:00
Gabriele Svelto
6c82752645 Bug 1620998 - Add logging to the crash helper r=afranchuk
Differential Revision: https://phabricator.services.mozilla.com/D234401
2025-04-18 16:37:07 +00:00
Gabriele Svelto
08a8136801 Bug 1620998 - Out-of-process crash generation for child processes r=afranchuk,geckoview-reviewers,glandium,browser-installer-reviewers,nalexander,owlish
This implements the crash helper service used to move child process crash
report generation out of the main process and into its own process. This is
implemented as a separate executable that is launched on startup by the main
process on the desktop platforms and as a service hosted by a separate process
on Android.

The crash helper process is started when the first exception handler is set
on desktop platforms and before loading libxul on Android. In both cases
starting this process happens asynchronously so that neither the main process
nor child processes have to wait for it to come up. If a crash happens before
the crash helper has started, the crashed process will wait for it to fully
come up and then proceed with regular crash generation.

IPC with the crash helper is implemented using Unix sockets on Linux and macOS
with the former using sequential packets and the latter using stream sockets.
On Windows we use named pipes. In all cases the choice of IPC was dictated both
by the requirement to eventually talk directly to child processes from within
the sandbox, and to external processes in case of Windows as the Windows
Error Reporting exception handler must be able to reach out to the helper from
within a restricted context. These particular requirements are not used yet but
will be as we move more logic out of the main process logic.

Differential Revision: https://phabricator.services.mozilla.com/D231083
2025-04-18 16:37:06 +00:00
Gabriele Svelto
316cf25cda Bug 1620998 - Break the dependency between the mozannotation_client crate and the nsstring crate, so that the latter can be used outside of libxul r=afranchuk
Differential Revision: https://phabricator.services.mozilla.com/D231800
2025-04-18 16:37:06 +00:00
Mark Hammond
016985f33c Bug 1951517 - Update Rust chrono crate to 0.4.40. r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D245369
2025-04-18 15:57:39 +00:00
Daisuke Akatsuka
7b6a52fa1e Bug 1961338: Vendor application-services into mozilla-central r=adw
Differential Revision: https://phabricator.services.mozilla.com/D246025
2025-04-18 09:30:24 +00:00
Erich Gubler
8f4384a847 Bug 1961030 - build(rust): shim-upgrade strum 0.26.3 → 0.27.1 r=supply-chain-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D245813
2025-04-17 17:50:35 +00:00
Erich Gubler
4e8ca4d873 Bug 1961024 - build(rust): shim-upgrade ron 0.9.0 → 0.10.1 r=supply-chain-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D245811
2025-04-17 17:50:35 +00:00
smolnar
280680c5c4 Backed out 5 changesets (bug 1955429) for causing mochitest failures @ widget/tests/test_bug343416.xhtml CLOSED TREE
Backed out changeset 3fd7b7cba0ff (bug 1955429)
Backed out changeset d771f40c809c (bug 1955429)
Backed out changeset 98fe0042de25 (bug 1955429)
Backed out changeset f239ffd8098f (bug 1955429)
Backed out changeset a49202330c21 (bug 1955429)
2025-04-17 17:53:46 +03:00
Chris H-C
6e1c1ce442 Bug 1955429 - Update to Glean SDK v64.1.1 r=TravisLong,supply-chain-reviewers,mach-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D244801
2025-04-17 13:07:54 +00:00
Drew Willcoxon
6973dd3ea6 Bug 1961039 - Vendor application-services 6a007c9. r=daisuke,nanj
This includes some small fixes to desktop Suggest code and tests due to changes
in the `suggest` app-services component. It also incorporates D243740 by
@daisuke since it's required for vendoring.

This vendor replaces exposure suggestions with dynamic suggestions in the
`suggest` component, which breaks a few desktop tests. I disabled them for now
and will address them in bug 1961040.

Depends on D244233

Differential Revision: https://phabricator.services.mozilla.com/D245826
2025-04-17 04:21:35 +00:00
Dana Keeler
6eb6bf6f66 Bug 1722306 - osclientcerts: implement rsa-pss fallback on macos when tokens don't support it r=jschanck
Differential Revision: https://phabricator.services.mozilla.com/D245475
2025-04-16 16:27:59 +00:00
Erich Gubler
8221b15491 Bug 1958063 - build(rust): shim-upgrade rusqlite 0.31.0 → 0.33.0 r=glandium
Do this by upgrading `application-services` repos to a commit that
_only_ differs from the current one in its `rusqlite` dependency.

Differential Revision: https://phabricator.services.mozilla.com/D244233
2025-04-16 16:25:17 +00:00
Erich Gubler
b30b2aa3e1 Bug 1958063 - build(rust): shim-upgrade hashlink 0.9.1 → 0.10.0 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D244356
2025-04-16 16:25:17 +00:00
Ben Dean-Kawamura
1eb87d72f6 Bug 1959469 - Fix ./mach uniffi generate, r=markh,glandium
The issue was that the `default-hasher` feature wasn't turned on, which
made it so the build hack that substitutes older hashbrown versions with
v0.15.2 was failing.

Differential Revision: https://phabricator.services.mozilla.com/D244942
2025-04-16 13:51:54 +00:00
Goloman Adrian
efcf0aaa0a Backed out 4 changesets (bug 1955429) for causing xpc failures. CLOSED TREE
Backed out changeset 8793ee7ac873 (bug 1955429)
Backed out changeset e1cf811b7274 (bug 1955429)
Backed out changeset 79bf1547f82b (bug 1955429)
Backed out changeset c451dfbfb59f (bug 1955429)
2025-04-15 21:57:40 +03:00
Chris H-C
28ccc109f9 Bug 1955429 - Update to Glean SDK v64.1.1 r=TravisLong,supply-chain-reviewers,mach-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D244801
2025-04-15 16:39:26 +00:00
Butkovits Atila
ed01a1d8b2 Backed out 4 changesets (bug 1955429) for causing failures at test_AttributionDistribution.js. CLOSED TREE
Backed out changeset ab33904d0edb (bug 1955429)
Backed out changeset abdbe82d2cc1 (bug 1955429)
Backed out changeset eba2fd65a5cf (bug 1955429)
Backed out changeset e0aa301f9301 (bug 1955429)
2025-04-15 19:16:06 +03:00
Chris H-C
04257f495a Bug 1955429 - Update to Glean SDK v64.1.1 r=TravisLong,supply-chain-reviewers,mach-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D244801
2025-04-15 14:37:31 +00:00
Max Leonard Inden
d18a9f5c74 Bug 1959128 - update neqo to v0.13 r=leggert,kershaw,necko-reviewers,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D245341
2025-04-14 14:56:15 +00:00
Erich Gubler
a7ba6b3d7e Bug 1959868 - fix(webgpu): re-vendor WGPU to f1c496523ff0aa10c162fd01ad606960e925a5a4 r=webgpu-reviewers,supply-chain-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D245312
2025-04-14 13:01:48 +00:00
Ben Dean-Kawamura
c7d555e585 Bug 1951241 - Refactor ScaffoldingConverter.h, r=markh,nika,frontend-codestyle-reviewers
Replaced `ScaffoldingConverter` with a set of `FfiValue*` classes.  The
differences are:

* The new classes better match other `uniffi-bindgen-gecko-js` names,
  and also use familiar UniFFI terms like `Lift` and `Lower`.
* Object handles are now freed if there's an error.
* The new classes store the FFI value internal rather than defining an
  `IntermediateType` associated type.
* Moved header files into `mozilla/uniffi/` and removed the `UniFFI`
  prefix from the filename.  This avoids weird filenames like
  `UniFFIFfiValue.h`

Differential Revision: https://phabricator.services.mozilla.com/D240696
2025-04-11 16:49:50 +00:00
Narcis Beleuzu
2dbc8ca1dc Backed out 2 changesets (bug 1951243, bug 1951241) for causing bustages on GeneratedScaffolding.cpp . CLOSED TREE
Backed out changeset 944bac64c3db (bug 1951243)
Backed out changeset c79b66ed7283 (bug 1951241)
2025-04-11 17:13:02 +03:00
Ben Dean-Kawamura
02e1f4d5fd Bug 1951241 - Refactor ScaffoldingConverter.h, r=markh,nika,frontend-codestyle-reviewers
Replaced `ScaffoldingConverter` with a set of `FfiValue*` classes.  The
differences are:

* The new classes better match other `uniffi-bindgen-gecko-js` names,
  and also use familiar UniFFI terms like `Lift` and `Lower`.
* Object handles are now freed if there's an error.
* The new classes store the FFI value internal rather than defining an
  `IntermediateType` associated type.
* Moved header files into `mozilla/uniffi/` and removed the `UniFFI`
  prefix from the filename.  This avoids weird filenames like
  `UniFFIFfiValue.h`

Differential Revision: https://phabricator.services.mozilla.com/D240696
2025-04-11 12:58:06 +00:00
Jim Blandy
47e0e0c8d9 Bug 1958061: Update wgpu to upstream a0dbe5eb (2025-04-09) r=webgpu-reviewers,supply-chain-reviewers,nical,ErichDonGubler
Differential Revision: https://phabricator.services.mozilla.com/D245022
2025-04-10 20:39:12 +00:00
Jan-Erik Rediger
6161755513 Bug 1959403 - Implement malloc_size_of for once_cell items (and preparing for 0.2.0 release) r=nical
Additionally that makes its `euclid` and `app_units` dependencies optional.

Differential Revision: https://phabricator.services.mozilla.com/D244909
2025-04-10 11:29:20 +00:00
Henrik Skupin
ad72571435 Bug 1955903 - [webdriver-rust] Release version 0.53.0. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D244145
2025-04-10 10:53:10 +00:00
Max Leonard Inden
181799ee73 Bug 1959148 - update serde_with to v3.12.0 r=kershaw,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D244788
2025-04-09 18:32:10 +00:00
Erich Gubler
3826e3b939 Bug 1947920 - build(rust): shim-upgrade hashbrown 0.14.5 → 0.15.2, upgrade indexmap 2.5.0 → 2.8.0 r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D239687
2025-04-08 20:49:59 +00:00
Dana Keeler
f5eea27271 Bug 1958095 - convert pkcs11testmodule to rust to simplify implementing additional features r=nkulatova,glandium
Differential Revision: https://phabricator.services.mozilla.com/D244252
2025-04-08 15:45:12 +00:00
Jan-Erik Rediger
3eb9ddea6a Bug 1953191 - Vendor Rust and Python changes of the previous commits r=chutten,supply-chain-reviewers,mach-reviewers,ahal
Split out, because the upgrades are split into multiple commits, but we
require a single vendoring to avoid duplicated packages.

Differential Revision: https://phabricator.services.mozilla.com/D241959
2025-04-07 20:39:50 +00:00
Butkovits Atila
b74789cbe7 Backed out changeset 390256672eac (bug 1958095) for causing bustages at libpkcs11testmodule.so. CLOSED TREE 2025-04-07 21:26:19 +03:00
Dana Keeler
5ef9879ac1 Bug 1958095 - convert pkcs11testmodule to rust to simplify implementing additional features r=nkulatova,glandium
Differential Revision: https://phabricator.services.mozilla.com/D244252
2025-04-07 15:38:47 +00:00
Cosmin Sabou
a237abc876 Backed out changeset 8955d56a5c82 (bug 1947920) for causing build bustages. CLOSED TREE 2025-04-03 14:52:33 +03:00
Erich Gubler
6c190b1bd8 Bug 1947920 - build(rust): upgrade hashbrown 0.14.5 → 0.15.2 r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D239687
2025-04-03 11:31:59 +00:00
Erich Gubler
b8e89d466d Bug 1947920 - build(rust): upgrade once_cell 1.21.1 → 1.21.3 r=supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D244085
2025-04-02 20:21:13 +00:00
Nico Burns
c42e5e7f9c Bug 1957541: Change rounding behaviour of length_percentage values (r=firefox-style-system-reviewers,supply-chain-reviewers)
These functions are only used by Servo (not Gecko), which has
been verified by removing them and checking that Gecko still
compiles.

Signed-off-by: Nico Burns <nico@nicoburns.com>

Differential Revision: https://phabricator.services.mozilla.com/D243751
2025-04-02 18:46:02 +00:00
Erich Gubler
6f3b669604 Bug 1956123 - build(webgpu): update WGPU to c7c79a0dc9356081a884b5518d1c08ce7a09c7c5 r=webgpu-reviewers,supply-chain-reviewers,nical
Notable WebGPU CTS changes:

- Demotions from tier 2 to tier 3:
	- `webgpu:shader,execution,expression,unary,{i32,u32}_conversion:f32:*` started regressing on Windows.
- Promotions to tier 2 from tier 3:
	- Across all platforms:
		- `webgpu:shader,execution,expression,call,builtin,cross:f32:*`
		- `webgpu:shader,execution,expression,unary,i32_conversion:abstract_float:*`
		- `webgpu:shader,execution,expression,unary,u32_conversion:abstract_float:*`
		- `webgpu:shader,execution,limits:nesting_depth_braces:*`
		- `webgpu:shader,validation,expression,call,builtin,value_constructor:vector_copy:*`
		- `webgpu:shader,validation,expression,call,builtin,value_constructor:vector_elementwise:*`
		- `webgpu:shader,validation,expression,call,builtin,value_constructor:vector_mixed:*`
	- `webgpu:shader,validation,expression,call,builtin,value_constructor:scalar_zero_value:*` was promoted on Linux and Windows, but stays in macOS on account of failing `f16` functionality. My guess is that these failures are also present on the other platforms, but we don't see the because `shader-f16` is not aviailable on our other CI platforms yet.
	- From macOS, completing the set of all platforms passing:
		- `f16` functionality, which, again, was likely not visible on our other CI platforms before:
			- `webgpu:shader,execution,expression,call,builtin,cross:f16:*`
			- `webgpu:shader,validation,decl,override:type:*`
	- `webgpu:api,validation,capability_checks,limits,maxUniformBufferBindingSize:createBindGroup,at_over:*`
	  was promoted on Windows.

Differential Revision: https://phabricator.services.mozilla.com/D243593
2025-04-02 00:36:43 +00:00
Norisz Fay
b263c6627a Backed out 9 changesets (bug 1620998) for causing multiple crash related failures
Backed out changeset 274ab6fba51b (bug 1620998)
Backed out changeset 731b7a72161e (bug 1620998)
Backed out changeset 5dad868cb181 (bug 1620998)
Backed out changeset 49618d90e1da (bug 1620998)
Backed out changeset cc14d8374efa (bug 1620998)
Backed out changeset 31f3cc43e800 (bug 1620998)
Backed out changeset fde49d4de714 (bug 1620998)
Backed out changeset 857c23185317 (bug 1620998)
Backed out changeset 97f0f061357e (bug 1620998)
2025-04-02 02:23:33 +03:00
Gabriele Svelto
eaf1c80fc9 Bug 1620998 - Add logging to the crash helper r=afranchuk
Differential Revision: https://phabricator.services.mozilla.com/D234401
2025-04-01 15:13:43 +00:00
Gabriele Svelto
6259c76b43 Bug 1620998 - Out-of-process crash generation for child processes r=afranchuk,geckoview-reviewers,glandium,browser-installer-reviewers,nalexander,owlish
This implements the crash helper service used to move child process crash
report generation out of the main process and into its own process. This is
implemented as a separate executable that is launched on startup by the main
process on the desktop platforms and as a service hosted by a separate process
on Android.

The crash helper process is started when the first exception handler is set
on desktop platforms and before loading libxul on Android. In both cases
starting this process happens asynchronously so that neither the main process
nor child processes have to wait for it to come up. If a crash happens before
the crash helper has started, the crashed process will wait for it to fully
come up and then proceed with regular crash generation.

IPC with the crash helper is implemented using Unix sockets on Linux and macOS
with the former using sequential packets and the latter using stream sockets.
On Windows we use named pipes. In all cases the choice of IPC was dictated both
by the requirement to eventually talk directly to child processes from within
the sandbox, and to external processes in case of Windows as the Windows
Error Reporting exception handler must be able to reach out to the helper from
within a restricted context. These particular requirements are not used yet but
will be as we move more logic out of the main process logic.

Differential Revision: https://phabricator.services.mozilla.com/D231083
2025-04-01 15:13:42 +00:00
Gabriele Svelto
be9d627d92 Bug 1620998 - Break the dependency between the mozannotation_client crate and the nsstring crate, so that the latter can be used outside of libxul r=afranchuk
Differential Revision: https://phabricator.services.mozilla.com/D231800
2025-04-01 15:13:42 +00:00
Max Leonard Inden
d1a7a3f853 Bug 1953912 - Improve Clippy lints on neqo_glue r=leggert,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D241482
2025-04-01 12:58:18 +00:00
Goloman Adrian
12e301b8de Backed out 4 changesets (bug 1956123) for causing build bustages @rust.mk. CLOSED TREE
Backed out changeset ec616284b457 (bug 1956123)
Backed out changeset e8ff5130dbeb (bug 1956123)
Backed out changeset 5d87a43ec676 (bug 1956123)
Backed out changeset c19f3478c904 (bug 1956123)
2025-04-01 05:36:43 +03:00