933523 Commits

Author SHA1 Message Date
Michael Froman
32e758687f Bug 1918268 (MOZ) - use non-deprecated timestamp accessors from api/video/video_frame.h 2024-09-20 15:34:48 -05:00
Michael Froman
f638706149 Bug 1918268 - Vendor libwebrtc from 161956b89d
Upstream commit: https://webrtc.googlesource.com/src/+/161956b89d90ff44829eda8d34ac6fa51856227e
    Cleanup deprecated accessors in VideoFrame

    Bug: None
    Change-Id: I3f8f428f04e86c38d5cf6d481709b7bcdfbd495c
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/357781
    Reviewed-by: Philip Eliasson <philipel@webrtc.org>
    Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#42671}
2024-09-17 10:05:27 -05:00
Michael Froman
1791811fc0 Bug 1918268 - Vendor libwebrtc from f9ddf7fed6
Upstream commit: https://webrtc.googlesource.com/src/+/f9ddf7fed6617c21f8be6f32737953751fb5701b
    Replace test frame capturer wanted_fps_ by target_capture_fps_.

    wanted_fps_ seems redundant with target_capture_fps_.
    The problem with wanted_fps_ is that it lowers the capture fps but does not decimate frames so that a 30 fps stream played at 5 fps is played slowly instead of played at the normal speed with dropped frames.

    Change-Id: I1440953f9909ad1d4a102a0671fe933d95498a1f
    Bug: b/355120692
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/357780
    Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
    Commit-Queue: Jeremy Leconte <jleconte@google.com>
    Cr-Commit-Position: refs/heads/main@{#42670}
2024-09-17 10:04:35 -05:00
Michael Froman
917b01df18 Bug 1918268 - Vendor libwebrtc from 8089959877
Upstream commit: https://webrtc.googlesource.com/src/+/80899598775cb1bd13e298e050a608339b86f551
    Remove private SRTP include

    Bug: chromium:40272799
    Change-Id: I42a63497aa8321475bd3e2604376c1514ecd623e
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/357543
    Commit-Queue: Björn Terelius <terelius@webrtc.org>
    Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
    Reviewed-by: Florent Castelli <orphis@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#42669}
2024-09-17 10:03:43 -05:00
Michael Froman
35f964b9e0 Bug 1918268 - Vendor libwebrtc from f065ff85e2
Upstream commit: https://webrtc.googlesource.com/src/+/f065ff85e2bbd90286ce4346f6da959eb0705fbf
    Cleanup expired field trial WebRTC-VoIPChannelRemixingAdjustmentKillSwitch

    Bug: chromium:40108588
    Change-Id: Ifc334819dd486ac791b5d04faa6d6bd77a481dd7
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/349644
    Reviewed-by: Per Åhgren <peah@webrtc.org>
    Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#42668}
2024-09-17 10:02:20 -05:00
Michael Froman
66eeb1ccdb Bug 1918268 - Vendor libwebrtc from 35f10a083d
Upstream commit: https://webrtc.googlesource.com/src/+/35f10a083d2f6eb65b4987776df334935a222be0
    Add listener to detect mute speech event, and callback function to handle the event

    Bug: webrtc:343347289
    Change-Id: I56b1433b0dd8220f95d7d72fb04b4f92fe4a905e
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/355761
    Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
    Reviewed-by: Harald Alvestrand <hta@webrtc.org>
    Commit-Queue: Abby Yeh <abbyyeh@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#42667}
2024-09-17 10:01:07 -05:00
Michael Froman
80fdbe3412 Bug 1918268 - Vendor libwebrtc from 7fe62f25d1
Upstream commit: https://webrtc.googlesource.com/src/+/7fe62f25d14aef7dc17c4ba7742f8065c22fc968
    Reland "Fix 'Image will be cropped if WindowCapturerWinGdi used'"

    This is a reland of commit 844225a76a98aa3be5aca09c19ab72a5e7b6c38a

    Original change's description:
    > Fix 'Image will be cropped if WindowCapturerWinGdi used'
    >
    > Bug: webrtc:15719
    > Change-Id: I7daf8ee5b90fbe9f1246f1d99211ffa0d8a19f73
    > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/330780
    > Reviewed-by: Alexander Cooper <alcooper@chromium.org>
    > Commit-Queue: Alexander Cooper <alcooper@chromium.org>
    > Cr-Commit-Position: refs/heads/main@{#41503}

    Bug: webrtc:15719
    Change-Id: Idbb2f4dcc8811d3b2b763a49adc7a57535b3d1b2
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/334380
    Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org>
    Reviewed-by: Alexander Cooper <alcooper@chromium.org>
    Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#42666}
2024-09-17 09:56:00 -05:00
Michael Froman
c8aeb30fac Bug 1918268 - Vendor libwebrtc from f90a3ad3b3
Upstream commit: https://webrtc.googlesource.com/src/+/f90a3ad3b334dd164656bed05fd04f2b9b9a3937
    Reenable disabled passing tests

    Libvpx was adjusted to support scenarios test verifies, but WebRTC tests were forgotten.

    Bug: webrtc:42223649
    Change-Id: I19a10c939d844d00dd564bc0a16fe21844cc7cfb
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/357680
    Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
    Reviewed-by: Philip Eliasson <philipel@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#42665}
2024-09-17 09:44:02 -05:00
Michael Froman
d34a8f32b3 Bug 1918268 - updated libwebrtc patch stack 2024-09-17 09:13:32 -05:00
Michael Froman
39d0b066f0 Bug 1918268 - updated default_config_env for v129 2024-09-17 07:57:11 -05:00
Michael Froman
c8260c4b9c Bug 1920151 - share same include list for changed build files in loop-ff.sh and elm_rebase.sh r=dbaker
Differential Revision: https://phabricator.services.mozilla.com/D222990
2024-09-20 19:10:30 +00:00
Noemi Erli
2398216e5c Backed out 3 changesets (bug 1894633) as requested by daisuke CLOSED TREE
Backed out changeset b3bf3c4a2462 (bug 1894633)
Backed out changeset a0717adf4b6a (bug 1894633)
Backed out changeset d4cca836dfbd (bug 1894633)
2024-09-30 23:52:01 +03:00
Sandor Molnar
88ed1b5802 Backed out changeset 1df25babebd4 (bug 1904671) for causing python unit test failures CLOSED TREE 2024-09-30 19:56:40 +03:00
Brad Werth
40939194ab Bug 1896843: Make webgpu setBindGroup take an optional bind group, matching spec. r=webidl,webgpu-reviewers,nical,saschanaz,ErichDonGubler
This includes a test that checks that setBindGroup can be passed a null
bindGroup.

Differential Revision: https://phabricator.services.mozilla.com/D223884
2024-09-30 15:08:02 +00:00
Yury Delendik
ce32d6fc48 Bug 1898031 - Fix JIT activation binding in DebuggerFrame. r=jandem
Allows Wasm DebuggerFrame to be suspended/resumed.

Disables ASAN for StackPointerInfo for better testing.

Depends on D214001

Differential Revision: https://phabricator.services.mozilla.com/D218246
2024-09-30 15:05:03 +00:00
Yury Delendik
687697fff0 Bug 1898031 - Debugger breakpoints should switch back to main stack. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D214001
2024-09-30 15:05:02 +00:00
Tim Huang
04045ee315 Bug 1921491 - Disable QueryParameterStripping in Nightly. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D223975
2024-09-30 15:04:03 +00:00
Dão Gottwald
4352076cc7 Bug 1920775 - Selecting tab in collapsed tab group should expand tab group. r=sthompson
Differential Revision: https://phabricator.services.mozilla.com/D224064
2024-09-30 14:58:29 +00:00
Nicolas Silva
ec7a7d1f83 Bug 1920678 - Purge WebRender's chunk pool when idle. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D223925
2024-09-30 14:56:28 +00:00
Nicolas Silva
191a255d19 Bug 1920678 - Add a pool for the memory chunks used by per-frame allocators. r=gfx-reviewers,lsalzman
Instead of dropping the frame's memory chunk when a frame is replaced, place the chunks into a global pool. This mostly helps when running stress tests like motionmark's html suite that cause intense allocation spikes (around 90 chunks per frame).

We should revisit whether this is needed if the cost of deallocating large regions of memory in mozjemalloc improves in the future.

Differential Revision: https://phabricator.services.mozilla.com/D223924
2024-09-30 14:56:28 +00:00
André Bargull
48dc28b7e6 Bug 1920712 - Part 11: Remove previous optimisations for Bigint.as{Int,Uint}N. r=spidermonkey-reviewers,jandem
This is now handled at the MIR level, so we can remove this optimisation.

Differential Revision: https://phabricator.services.mozilla.com/D223339
2024-09-30 14:48:50 +00:00
André Bargull
2098b2b239 Bug 1920712 - Part 10: Implement MBigIntAsUintN::foldsTo. r=spidermonkey-reviewers,jandem
Rewrites `BigInt.asUintN` to `MInt64ToBigInt(MBitAnd(int64, mask))`.

Differential Revision: https://phabricator.services.mozilla.com/D223338
2024-09-30 14:48:50 +00:00
André Bargull
ca0b5fa5bd Bug 1920712 - Part 9: Implement MBigIntAsIntN::foldsTo. r=spidermonkey-reviewers,jandem
Rewrite `BigInt.asIntN(cst, BigInt(IntPtr-or-Int64))` to perform the sign-extension
in inline assembly using either `MSignExtendIntPtr` or `MSignExtendInt64`. (Or use
shift instructions when native sign extension isn't possible.)

See bug 1685708 for why optimising `BigInt.asIntN` is useful.

Differential Revision: https://phabricator.services.mozilla.com/D223337
2024-09-30 14:48:49 +00:00
André Bargull
a0d1776586 Bug 1920712 - Part 8: Add MSignExtendIntPtr. r=spidermonkey-reviewers,jandem
This instruction is similar to `MSignExtendInt32`, but instead of just
extending its input to 32-bit, it allows extending to pointer size.

Used in part 9.

Differential Revision: https://phabricator.services.mozilla.com/D223336
2024-09-30 14:48:49 +00:00
André Bargull
cf6f6aa243 Bug 1920712 - Part 7: Clean-ups for {M,L}SignExtendInt{32,64}. r=spidermonkey-reviewers,jandem
Clean-ups to align with `MSignExtendIntPtr` from part 8:
- `MSignExtendInt{32,64}` don't have a type policy, so assert the input has
  the correct type.
- `MSignExtendInt{32,64}::congruentTo()` doesn't need to recheck the argument
  type after `congruentIfOperandsEqual()`.
- `LSignExtendInt32` doesn't need to store `MSignExtendInt32::Mode`, but can
  instead query its mir instruction.

Differential Revision: https://phabricator.services.mozilla.com/D223335
2024-09-30 14:48:48 +00:00
André Bargull
007d492e45 Bug 1920712 - Part 6: Add MacroAssembler::move{8,16}SignExtendToPtr. r=spidermonkey-reviewers,jandem
Will be used in part 8.

Differential Revision: https://phabricator.services.mozilla.com/D223334
2024-09-30 14:48:48 +00:00
André Bargull
b16c5f9c7c Bug 1920712 - Part 5: Use bool to store signed/unsigned type. r=spidermonkey-reviewers,jandem
When D219643 added the `MInt64ToBigInt::elementType` field, `Scalar::Type` was still
used in `CodeGenerator::visitInt64ToBigInt`. But today all callers only care about
the signed or unsigned state, so it's easier to encode this directly as a `bool`.

Differential Revision: https://phabricator.services.mozilla.com/D223333
2024-09-30 14:48:47 +00:00
André Bargull
ffa52b3f6b Bug 1920712 - Part 4: Remove no longer used Int32ToBigInt. r=spidermonkey-reviewers,jandem
`Int32ToBigInt` is no longer used after part 3.

Differential Revision: https://phabricator.services.mozilla.com/D223332
2024-09-30 14:48:47 +00:00
André Bargull
72014b70e2 Bug 1920712 - Part 3: Replace Int32ToBigIntResult with Int32ToIntPtr + IntPtrToBigIntResult. r=spidermonkey-reviewers,jandem
Using IntPtr sized operations allow easier integration with BigInt-as-IntPtr optimisations.

Also add existing Int32ToBigInt optimisations to IntPtrToBigInt:
- Use inline allocations in CacheIR.
- Handle constants in `MTruncateBigIntToInt64::foldsTo`.
- Handle `MIntPtrToBigInt` in `MToInt64::foldsTo`.

Change `LIRGenerator::visitInt32ToIntPtr` to ensure we don't see unexpected uses of
`MInt32ToIntPtr`, now that this instruction is also used outside of index operations.

Differential Revision: https://phabricator.services.mozilla.com/D223331
2024-09-30 14:48:47 +00:00
André Bargull
9f0370483e Bug 1920712 - Part 2: Pass result type to MBitNot. r=spidermonkey-reviewers,jandem
This matches the approach used by other arithmetic instructions.

Spotted this difference when working on part 1.

Differential Revision: https://phabricator.services.mozilla.com/D223330
2024-09-30 14:48:46 +00:00
André Bargull
b3f28640fe Bug 1920712 - Part 1: Disable recover support for Int64 operations. r=spidermonkey-reviewers,jandem
Prerequisite before using Int64-typed operations outside of Wasm.

Differential Revision: https://phabricator.services.mozilla.com/D223329
2024-09-30 14:48:46 +00:00
André Bargull
5dfaa365d5 Bug 1920511: Zero-byte register to avoid register stall in setCC + movzbl sequence. r=jseward
The sequence `setCC` + `movzbl` can cause a register stall due to the partial
register write performed by `setCC`. If possible emit a `xorl` before the
comparison to zero the output register. If the output register is aliased by
an input register, we can't zero it and instead keep `movzbl`. To also prevent
a possible register stall in this scenario, we could emit `movl(d, 0)` directly
before the `setCC`, but that'd lead to code size increases, becauce `movl` with
an immediate requires five bytes to materialise the immediate, whereas `movzbl`
with two register inputs only requires three bytes. (`xorl` with two register
inputs only requires two bytes, so it's even smaller than `movzbl`.)

Differential Revision: https://phabricator.services.mozilla.com/D223150
2024-09-30 14:42:32 +00:00
Florian Quèze
7ce6e62b8e Bug 1921751 - Migrate telemetry events to use Glean APIs for devtools.main, r=chutten,devtools-reviewers,nchevobbe.
Differential Revision: https://phabricator.services.mozilla.com/D223504
2024-09-30 14:37:48 +00:00
Jonathan Kew
f91f437690 Bug 1919906 - Use HTML text measurement in browser_less_common_selection_manipulations.js, as canvas text metrics may not precisely match HTML metrics. r=mak,urlbar-reviewers
Because of the possibility of different rendering modes, it's not guaranteed that
canvas2d.measureText will return exactly the same text metrics as HTML uses.
So instead of relying on canvas to measure substrings of the URLbar content,
measure by putting the text in a <span> and querying its offsetWidth.

Differential Revision: https://phabricator.services.mozilla.com/D223617
2024-09-30 14:23:05 +00:00
Jonathan Kew
8d00e32936 Bug 1919906 - Ensure fonts used in canvas2d do not apply forced-GDI-classic mode during layout/measurement. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D223361
2024-09-30 14:23:05 +00:00
Julian Descottes
3f7dc39e17 Bug 1904671 - Add wpt and wdspec jobs with async event dispatching enabled r=whimboo,taskgraph-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D218258
2024-09-30 14:21:58 +00:00
ffxbld
38c0390019 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes ct-logs - r=release-managers,dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D224098
2024-09-30 14:19:54 +00:00
Ed Lee
df107922f9 Bug 1911949 - Change the order of chat prompts with explain moved up for release r=tarek
Adjust prompt ordering and targeting.

Differential Revision: https://phabricator.services.mozilla.com/D223931
2024-09-30 14:17:23 +00:00
Ben Dean-Kawamura
12feebe16a Bug 1921280 - Vendor in the latest app-services commit, r=adw,urlbar-reviewers
This brought in a breaking change: `Suggestion.icon` is now the `bytes`
type.  To accomidate that, added UniFFI support for bytes and updated
the SuggestBackendRust code since that field is now a Uint8Array on the
JS side.

Differential Revision: https://phabricator.services.mozilla.com/D223774
2024-09-30 14:07:55 +00:00
Emilio Cobos Álvarez
9fcb32bb7c Bug 1911763 - Fix TestWinUtils. CLOSED TREE 2024-09-30 19:01:09 +03:00
Sandor Molnar
506456ab38 Backed out 2 changesets (bug 1919570, bug 1919785) for causing dt failures @ browser_dbg-sourcemaps-bogus.js CLOSED TREE
Backed out changeset 3371f31eeb2a (bug 1919785)
Backed out changeset 98d74e2fc2d5 (bug 1919570)
2024-09-30 18:24:49 +03:00
Sebastian Hengst
ee29a174fe Merge mozilla-central to autoland. CLOSED TREE 2024-09-30 17:03:19 +02:00
Sebastian Hengst
91a49bf6f6 Merge autoland to mozilla-central. a=merge 2024-09-30 16:55:23 +02:00
Sebastian Hengst
617835c8ba Backed out changeset 4baeb63e913c (bug 1913282) for frequent crashes. a=backout DONTBUILD 2024-09-30 16:53:47 +02:00
Mozilla Releng Treescript
5a4f7aa7b8 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2024-09-30 13:32:56 +00:00
Mozilla Releng Treescript
47dffde2ab No bug - tagging eaad836f0a492448489e0ffc73f261abda8b4b85 with FIREFOX_NIGHTLY_132_END a=release DONTBUILD CLOSED TREE 2024-09-30 13:32:45 +00:00
Gijs Kruitbosch
490e2e06f4 Bug 1912537 - adjust principal display logic for external protocol dialog, r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D220946
2024-09-30 13:30:33 +00:00
Ryan VanderMeulen
39c446c52a Bug 1921381 - Update junit to version 5.11.1. r=android-reviewers,sfamisa
Differential Revision: https://phabricator.services.mozilla.com/D223896
2024-09-30 13:22:50 +00:00
Andreas Farre
89c95b798e Bug 1919565 - Hide the text fragment from Navigation and Resource Timing API. r=dom-core,sefeng
Differential Revision: https://phabricator.services.mozilla.com/D222941
2024-09-30 13:17:23 +00:00
Gijs Kruitbosch
c9eba88f1f Bug 1920319 - add dedicated keypress handler for new tab buttons, r=tabbrowser-reviewers,dao
Right now, tabbrowser relies on browser-toolbarKeyNav.js for keyboard access to these buttons on macOS.
There's also toolkit handling for space, but not enter, in https://searchfox.org/mozilla-central/rev/9fe73403523732f57cd82d30590ecc272fb0b165/toolkit/content/widgets/button.js#27-34 .
In vertical tabs mode, browser-toolbarKeyNav does not help us as the buttons aren't in the toolbox.
On Nightly, the containers-related code in https://searchfox.org/mozilla-central/rev/9fe73403523732f57cd82d30590ecc272fb0b165/browser/components/tabbrowser/content/tabs.js#1422-1428
adds the buttons to gClickAndHoldListeners, which have their own keypress handling. This happens whenever
containers are enabled. Those are not enabled by default on non-nightly, and so we end up missing a keypress
handler in vertical tabs mode on non-Nightly on macOS.

This is all a big mess and we should probably figure out a better solution. But given this needs beta uplift,
the expedient solution seems to be a dedicated listener and making sure that only 1 listener is invoked.

Differential Revision: https://phabricator.services.mozilla.com/D224094
2024-09-30 13:15:28 +00:00