3638 Commits

Author SHA1 Message Date
Erich Gubler
d99fc7d8c7 Bug 1952126 - chore(webgpu): update WGPU to cc1e26a7998a371d89fd50edbb015fd6a70c2347 r=webgpu-reviewers,supply-chain-reviewers,teoxoy
Differential Revision: https://phabricator.services.mozilla.com/D240571
2025-03-06 21:10:50 +00:00
Erich Gubler
0d445c83ef Bug 1952126 - build(rust): upgrade bitflags 2.7.0 → 2.9.0 r=supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D240569
2025-03-06 21:10:49 +00:00
Nazım Can Altınova
c2ec9c741b Bug 1951357 - Use a SmallVec for Rust marker payloads to avoid unnecessary allocations for most markers r=mstange,profiler-reviewers,aabh,jrmuizel
We've seen in the past that bincode::serialize was spending too much time
allocating and deallocating a Vec to return the serialized payload.

Instead now, we are creating a SmallVec with 64 bytes inline storage, which is
enough for most of our markers for today. This way, SmallVec will try to keep
payloads inside the stack, and it will only allocate if it goes above 64 bytes.

Differential Revision: https://phabricator.services.mozilla.com/D240150
2025-03-04 18:20:54 +00:00
Mark Banner
678fa38cbd Bug 1950499 - Vendor app-services d83fcd87f69a23930fed279ab5d2c56173a61db7. r=bdk
Differential Revision: https://phabricator.services.mozilla.com/D239665
2025-03-03 09:00:40 +00:00
teoxoy
69ff673feb Bug 1950655 - Update wgpu to revision 93f64dc847a0e6788b17b292ae4d7d59361e3be0. r=webgpu-reviewers,ErichDonGubler,supply-chain-reviewers
WebGPU CTS run: https://treeherder.mozilla.org/jobs?repo=try&revision=02e0b7243aedb87972250504dd6bf64d74ff3f96

I updated the patch with the expectations from that run.

There were some regressions in tier 2:

- `testing/web-platform/mozilla/meta/webgpu/cts/webgpu/shader/execution/expression/call/builtin/textureStore/cts.https.html.ini`

  - test path: `webgpu:shader,execution,expression,call,builtin,textureStore:bgra8unorm_swizzle:*`
  - with error: "Error: Unexpected validation error occurred: Shader module creation failed: Parsing error"
  - see: https://treeherder.mozilla.org/logviewer?job_id=496834446&repo=try&lineNumber=3089

- `testing/web-platform/mozilla/meta/webgpu/cts/webgpu/shader/validation/expression/call/builtin/value_constructor/cts.https.html.ini`

  - new failures related to vector/matrix constructors with abstract types
  - see: https://treeherder.mozilla.org/logviewer?job_id=496835790&repo=try&lineNumber=2094

There were also a new failures in tier 3 related to abstract types:
- `testing/web-platform/mozilla/meta/webgpu/cts/webgpu/shader/validation/expression/binary/and_or_xor/cts.https.html.ini`
- `testing/web-platform/mozilla/meta/webgpu/cts/webgpu/shader/validation/expression/binary/bitwise_shift/cts.https.html.ini`
- `testing/web-platform/mozilla/meta/webgpu/cts/webgpu/shader/validation/expression/binary/comparison/cts.https.html.ini`
- `testing/web-platform/mozilla/meta/webgpu/cts/webgpu/shader/validation/expression/binary/div_rem/cts.https.html.ini`

Overall, there were lots of new passes related to abstract types and I suspect those new failures were actually false positives previously.

Limit tests at `testing/web-platform/mozilla/meta/webgpu/cts/webgpu/api/validation/capability_checks/limits/` are as noisy as always...

One more try push with all the changes: https://treeherder.mozilla.org/jobs?repo=try&revision=e3b4d3b039ca9e84aa2f4ec0b824c4530f41695d

Differential Revision: https://phabricator.services.mozilla.com/D239942
2025-02-28 08:57:37 +00:00
Erich Gubler
92d6cc8d4b Bug 1949858 - build(rust): shim-upgrade core-graphics-types 0.1.3 → 0.2.0, core-foundation 0.9.4 → 0.10.0, core-foundation-sys 0.8.6 → 0.8.7 r=gfx-reviewers,glandium,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D239209
2025-02-24 15:29:54 +00:00
Butkovits Atila
d1846f9d0f Backed out 2 changesets (bug 1949858) for causing WebRender failures. CLOSED TREE
Backed out changeset 311381302426 (bug 1949858)
Backed out changeset a43a261a4dbb (bug 1949858)
2025-02-24 16:55:15 +02:00
Erich Gubler
2ed17e7034 Bug 1949858 - build(rust): upgrade core-graphics 0.23.1 → 0.24.0, core-text 20.1.0 → 21.0.0 r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D239210
2025-02-24 13:41:46 +00:00
Erich Gubler
de677e28d2 Bug 1949858 - build(rust): shim-upgrade core-graphics-types 0.1.3 → 0.2.0, core-foundation 0.9.4 → 0.10.0, core-foundation-sys 0.8.6 → 0.8.7 r=gfx-reviewers,glandium,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D239209
2025-02-24 13:41:46 +00:00
Henrik Skupin
10a118348a Bug 1910592 - [geckodriver] Update changelog and bump version to 0.36.0. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D238640
2025-02-24 06:52:49 +00:00
Henrik Skupin
672fdf6483 Bug 1910592 - Update Rust crate dependencies for geckodriver 0.36.0. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D238638
2025-02-24 06:52:48 +00:00
Jan-Niklas Jaeschke
174e8375e2 Bug 1942080, part 5.2 - Text Fragments: Compare common substrings in parallel using rayon. r=emilio
Filtering non-matching candidates is the biggest
perf bottleneck in the algorithm to  create a
text fragment, especially if the user attempts to
create a text fragment for a very common string
on a very large page.

Since the expensive code only does string comparisons,
it can easily be moved to rust and run in parallel
using rayon.

Differential Revision: https://phabricator.services.mozilla.com/D235559
2025-02-22 19:46:44 +00:00
Butkovits Atila
515aa5ce36 Backed out 2 changesets (bug 1949858) forcausing wrench bustages. CLOSED TREE
Backed out changeset a38ace2f6538 (bug 1949858)
Backed out changeset a56ed79b9609 (bug 1949858)
2025-02-22 06:25:42 +02:00
Erich Gubler
40cb43287c Bug 1949858 - build(rust): upgrade core-graphics 0.23.1 → 0.24.0, core-text 20.1.0 → 21.0.0 r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D239210
2025-02-22 03:48:44 +00:00
Erich Gubler
489cb02b0e Bug 1949858 - build(rust): shim-upgrade core-graphics-types 0.1.3 → 0.2.0, core-foundation 0.9.4 → 0.10.0, core-foundation-sys 0.8.6 → 0.8.7 r=gfx-reviewers,glandium,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D239209
2025-02-22 03:48:43 +00:00
Anna
20ceb96c36 Bug 1942805 - Builtins: building in xul instead of separate library r=glandium,keeler,geckoview-reviewers,browser-installer-reviewers,nalexander,owlish,jschanck
Differential Revision: https://phabricator.services.mozilla.com/D234953
2025-02-21 12:49:03 +00:00
Benjamin Beurdouche
1a446fa999 Bug 1949394 - Part 1: Upgrade mls-platform-api to 5d88241b and mls-rs to b747d7ef (based on mls-rs 0.45.0). r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D238923
2025-02-21 11:20:33 +00:00
Mike Hommey
14fcdc69ec Bug 1932031 - Upgrade libz-rs-sys to 0.4.1. r=supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D229449
2025-02-21 01:01:50 +00:00
John Schanck
b3319016c8 Bug 1949027 - remove support for legacy CRLite filter format. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D238680
2025-02-20 06:08:06 +00:00
Goloman Adrian
7a6f0dd01d Backed out 10 changesets (bug 1942805, bug 1620998) for causing grandle and ui failures.
Backed out changeset b840c4565b11 (bug 1942805)
Backed out changeset 7acecab7051d (bug 1620998)
Backed out changeset bad9fd65a113 (bug 1620998)
Backed out changeset 11b93a07b5b1 (bug 1620998)
Backed out changeset c6e1addf36e0 (bug 1620998)
Backed out changeset be300aa07606 (bug 1620998)
Backed out changeset fb9daf29a61a (bug 1620998)
Backed out changeset 2ee28adc6f8e (bug 1620998)
Backed out changeset ef24c2b9784c (bug 1620998)
Backed out changeset 8f5c82b3dbe5 (bug 1620998)
2025-02-19 21:24:01 +02:00
Anna
42368e5466 Bug 1942805 - Builtins: building in xul instead of separate library r=glandium,keeler,geckoview-reviewers,browser-installer-reviewers,nalexander,owlish
Differential Revision: https://phabricator.services.mozilla.com/D234953
2025-02-19 15:16:38 +00:00
Gabriele Svelto
2643d517f8 Bug 1620998 - Add logging to the crash helper r=afranchuk
Differential Revision: https://phabricator.services.mozilla.com/D234401
2025-02-19 12:58:35 +00:00
Gabriele Svelto
5b7d8fdf9a 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.

One limitation of the current code is that the crash helper process needs to
be running before we can start setting exception handlers in child processes.
This limitation is due to how Breakpad exception handlers register themselves
with the crash generator and prevents us from lazily starting the helper (or
restarting it on Android).

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-02-19 12:58:34 +00:00
Gabriele Svelto
a75d8b0ec4 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-02-19 12:58:33 +00:00
Butkovits Atila
e172dc8166 Backed out changeset 252a1b94c754 (bug 1942805) for causing failures at test_builtins.js. CLOSED TREE 2025-02-19 13:39:27 +02:00
Anna
9d12ca5e71 Bug 1942805 - Builtins: building in xul instead of separate library r=glandium,keeler,geckoview-reviewers,browser-installer-reviewers,nalexander,owlish
Differential Revision: https://phabricator.services.mozilla.com/D234953
2025-02-19 10:12:11 +00:00
Erich Gubler
a06dab1f5d Bug 1947780 - build(webgpu): update WGPU to 723abcb1d3d182f9a4bf973f02c6da39a4090f23 r=webgpu-reviewers,supply-chain-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D238138
2025-02-18 21:28:29 +00:00
Erich Gubler
090230a9f7 Bug 1948441 - chore(peek-poke): remove unused unicode-xid dep. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D238348
2025-02-15 04:32:02 +00:00
Erich Gubler
6cf443f7ec Bug 1947780 - chore: audit once_cell 1.20.2 → 1.20.3 r=supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D238137
2025-02-14 17:09:52 +00:00
Max Inden
f55183dd58 Bug 1942325 - update neqo to v0.12.2 r=kershaw,necko-reviewers,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D234901
2025-02-14 14:32:02 +00:00
Erich Gubler
4966460459 Bug 1945932 - refactor(geckodriver): use yaml-rust instead of serde_yaml r=webdriver-reviewers,glandium,supply-chain-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D237824
2025-02-13 21:46:10 +00:00
Alex Franchuk
2e9f714cdf Bug 1946542 pt2 - Populate crash reporter client glean clientinfo with build id at runtime r=gsvelto,gerard-majax
Differential Revision: https://phabricator.services.mozilla.com/D237628
2025-02-13 19:03:19 +00:00
Alex Franchuk
1bf22a9528 Bug 1946542 pt1 - Split the buildid_reader crate and ffi bindings r=gerard-majax
This makes `buildid_reader` usable without `nsstring`/`nserror` crates,
as they rely on functions compiled into libxul. What was previously in
`buildid_reader::reader` is now in `buildid_reader` (top-level), and the
previous top-level of `buildid_reader` has been moved to
`buildid_reader_ffi` (in the `ffi` subdirectory).

Differential Revision: https://phabricator.services.mozilla.com/D237941
2025-02-13 19:03:18 +00:00
Brian Tsoi
744e1815cf Bug 1565033: Add memory testing to crash reporter client. r=afranchuk,fluent-reviewers,supply-chain-reviewers,cmartin,flod,gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D231813
2025-02-13 06:32:47 +00:00
Stanca Serban
1594764183 Backed out 2 changesets (bug 1946542) for causing multiple failures.
Backed out changeset 9ab0d012d1c9 (bug 1946542)
Backed out changeset ff91adc5cf49 (bug 1946542)
2025-02-13 04:28:21 +02:00
Stanca Serban
4b816a2102 Backed out 10 changesets (bug 1620998, bug 1565033) for causing xpcshell failures.
Backed out changeset b2a854b53890 (bug 1565033)
Backed out changeset 72e6d58417a6 (bug 1620998)
Backed out changeset 36cbb4c4de20 (bug 1620998)
Backed out changeset 26b4bd0a30fe (bug 1620998)
Backed out changeset 5f24f386b12c (bug 1620998)
Backed out changeset 954fcb2f8ae1 (bug 1620998)
Backed out changeset 48a67f641eff (bug 1620998)
Backed out changeset e342d2531f46 (bug 1620998)
Backed out changeset 1be788431dae (bug 1620998)
Backed out changeset bcb528abe29d (bug 1620998)
2025-02-13 04:18:34 +02:00
Alex Franchuk
d20b004fef Bug 1946542 pt2 - Populate crash reporter client glean clientinfo with build id at runtime r=gsvelto,gerard-majax
Differential Revision: https://phabricator.services.mozilla.com/D237628
2025-02-12 21:53:54 +00:00
Alex Franchuk
20e0618c49 Bug 1946542 pt1 - Split the buildid_reader crate and ffi bindings r=gerard-majax
This makes `buildid_reader` usable without `nsstring`/`nserror` crates,
as they rely on functions compiled into libxul. What was previously in
`buildid_reader::reader` is now in `buildid_reader` (top-level), and the
previous top-level of `buildid_reader` has been moved to
`buildid_reader_ffi` (in the `ffi` subdirectory).

Differential Revision: https://phabricator.services.mozilla.com/D237941
2025-02-12 21:53:53 +00:00
Brian Tsoi
450c36b04b Bug 1565033: Add memory testing to crash reporter client. r=afranchuk,fluent-reviewers,supply-chain-reviewers,cmartin,flod,gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D231813
2025-02-12 17:56:08 +00:00
Erich Gubler
9955e9ccde Bug 1945694 - build(rust): upgrade cc 1.0.89 → 1.2.12 r=glandium,supply-chain-reviewers
`cc` upstream broke a few things that have been handled by other patches
motivated specifically by this upgrade:

1. `cc::Build` now rejects unknown targets not baked in. This breaks
   `swgl`'s usage of the `SWGL` target. We migrated away from this
   behavior in D235480.
2. `cc::Build::is_like_msvc`'s underlying logic changed, and now does
   not return `true`. This has been worked around in D236305, and will
   be removed after this patch in D236650.
3. PGO flag inheritance changed, which required us to explicitly pass
   some PTO- and LTO-related flags to keep compiling. This has been
   adjusted in D236966.

These are handled, and there should be no concern (finally) in landing
this. 🫡 Woot!

Differential Revision: https://phabricator.services.mozilla.com/D236957
2025-02-12 14:59:32 +00:00
Gabriele Svelto
c6cbcbe5fc Bug 1620998 - Add logging to the crash helper r=afranchuk
Differential Revision: https://phabricator.services.mozilla.com/D234401
2025-02-12 14:06:12 +00:00
Gabriele Svelto
e2f7a6a1c8 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.

One limitation of the current code is that the crash helper process needs to
be running before we can start setting exception handlers in child processes.
This limitation is due to how Breakpad exception handlers register themselves
with the crash generator and prevents us from lazily starting the helper (or
restarting it on Android).

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-02-12 14:06:10 +00:00
Gabriele Svelto
380f943c54 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-02-12 14:06:10 +00:00
Tooru Fujisawa
082bf439b8 Bug 1945707 - Part 6: Remove smoosh crate. r=nbp,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D237308
2025-02-12 00:41:32 +00:00
Sandor Molnar
77eb9e958e Backed out 9 changesets (bug 1620998) for causing multiple xpc failures. CLOSED TREE
Backed out changeset d261d33c1778 (bug 1620998)
Backed out changeset 159fa2982a24 (bug 1620998)
Backed out changeset 7b2fd4d66216 (bug 1620998)
Backed out changeset 81bf2c760466 (bug 1620998)
Backed out changeset bd4719db23d2 (bug 1620998)
Backed out changeset 074b06a16323 (bug 1620998)
Backed out changeset 0d6ef1c8e871 (bug 1620998)
Backed out changeset 0a7a0876a987 (bug 1620998)
Backed out changeset fe27920e71da (bug 1620998)
2025-02-11 19:23:09 +02:00
Erich Gubler
3011758fe5 Bug 1943149 - build(webgpu): update WGPU to db896a86d0db0637149d7012bd865059f8783ec3 r=supply-chain-reviewers,webgpu-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D236030
2025-02-11 16:05:29 +00:00
Gabriele Svelto
75e35c4b33 Bug 1620998 - Add logging to the crash helper r=afranchuk
Differential Revision: https://phabricator.services.mozilla.com/D234401
2025-02-11 13:46:08 +00:00
Gabriele Svelto
849a598e7b 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.

One limitation of the current code is that the crash helper process needs to
be running before we can start setting exception handlers in child processes.
This limitation is due to how Breakpad exception handlers register themselves
with the crash generator and prevents us from lazily starting the helper (or
restarting it on Android).

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-02-11 13:46:06 +00:00
Gabriele Svelto
4515cf389c 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-02-11 13:46:06 +00:00
Alexandru Marc
e3b8358964 Backed out 9 changesets (bug 1620998) for causing multiple failures
Backed out changeset fbdd468c1a87 (bug 1620998)
Backed out changeset 186864c03143 (bug 1620998)
Backed out changeset 76fdeb0d5f29 (bug 1620998)
Backed out changeset 948a12c0b735 (bug 1620998)
Backed out changeset d851c9093643 (bug 1620998)
Backed out changeset cd9fd4003d4c (bug 1620998)
Backed out changeset 285a2c5f5da3 (bug 1620998)
Backed out changeset 63b77e1967fb (bug 1620998)
Backed out changeset e15cdf03ffee (bug 1620998)
2025-02-10 13:36:08 +02:00