Commit Graph

982581 Commits

Author SHA1 Message Date
Kagami Sascha Rosylight
dd172dd5bf Bug 1988751 - Forbid notification permission in nested first party iframes a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D265282

Differential Revision: https://phabricator.services.mozilla.com/D266552
2025-09-28 18:35:39 +00:00
Brad Werth
27566fec30 Bug 1983838: Provide a default convertType implementation. r=ahale a=RyanVM
This ensures there are sane values in the dst array.

Differential Revision: https://phabricator.services.mozilla.com/D262997
2025-09-28 18:10:58 +00:00
Tooru Fujisawa
9571910e5c Bug 1990116 - Use the error report to detect warnings in workers and worklets. a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D265768

Differential Revision: https://phabricator.services.mozilla.com/D266292
2025-09-27 23:36:14 +00:00
Iain Ireland
fa777865b5 Bug 1989978: Don't support unwritable iterator indices a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D266023

Differential Revision: https://phabricator.services.mozilla.com/D266472
2025-09-27 15:05:04 +00:00
Ryan Hunt
6675b28392 Bug 1986922 - Add magicdsfilterQuest3.dll to block list. a=RyanVM DONTBUILD
Original Revision: https://phabricator.services.mozilla.com/D264949

Differential Revision: https://phabricator.services.mozilla.com/D266358
2025-09-26 20:12:36 +00:00
Lee Salzman
1e0317aa80 Bug 1989899. r=ahale a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D266060
2025-09-26 20:12:14 +00:00
Olli Pettay
312d909cd8 Bug 1973699, modernize nsDocShell accesses a bit, a=RyanVM DONTBUILD
Original Revision: https://phabricator.services.mozilla.com/D265021

Differential Revision: https://phabricator.services.mozilla.com/D266239
2025-09-26 14:49:51 +00:00
Rob Wu
d01e2df606 Bug 1982950 - Stop polling as soon as process exits a=RyanVM DONTBUILD
The patch to bug 1979546 refactored the logic that awaits the process
termination. The logic that processes process termination should stop
the poll loop() via updatePollEvents(). This did not happen, because
updatePollEvents() considered a process alive if it is in
`io.processes`, but the updatePollEvents() was not called when
`cleanupProcess` cleared the last reference.

Consequently, the poll loop continued forever if the process's pipes
closed before the process.

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

Differential Revision: https://phabricator.services.mozilla.com/D266338
2025-09-26 14:48:27 +00:00
Rob Wu
9ad1e61544 Bug 1979546 - Replace WaitForMultipleObjects with IOCP in Subprocess a=RyanVM DONTBUILD
The current WaitForMultipleObjects-based implementation causes a
deadlock if 16 or more processes are spawned, as explained in the bug.

This patch replaces the use of events and WaitForMultipleObjects with
I/O Completion Ports (IOCP) as the mechanism to monitor I/O progress
and process terminations. This is not subject to the
MAXIMUM_WAIT_OBJECTS (64) limit of WaitForMultipleObjects.

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

Differential Revision: https://phabricator.services.mozilla.com/D266337
2025-09-26 14:48:24 +00:00
Ben Dean-Kawamura
827a745d82 Bug 1989840 - vendor app-services fix, a=RyanVM
- Updated `Cargo.toml` to point to the app-services commit with the fix
- Reverted my default rust to `1.86.0`
- Ran `./mach configure` and `./mach vendor rust`

Differential Revision: https://phabricator.services.mozilla.com/D266197
2025-09-26 04:24:20 +00:00
Andrew McCreight
a8ffb60fd2 Bug 1987806 - Null check compartmentPrivate in FindSameOriginCompartment. a=RyanVM
We're hitting some null crashes in CompartmentOriginInfo::IsSameOrigin,
so maybe this is due to a null compartment private? We're iterating
over all compartments in a zone during SetNewDocument so maybe there's
something weird to stumble over.

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

Differential Revision: https://phabricator.services.mozilla.com/D266166
2025-09-26 04:15:26 +00:00
alwu
5467b82c15 Bug 1989734 - use the index to find the first SPS. r=media-playback-reviewers,karlt a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D265908
2025-09-26 03:23:56 +00:00
Lee Salzman
1d97d5f6f4 Bug 1989517 - Ensure DrawTarget removed from RecordedTextureDestruction playback. r=aosmond, a=RyanVM
CanvasTranslator::RemoveTexture delayed the call to RemoveDrawTarget till all keepalives are
gone. However, this may take place long after RecordedTextureDestruction actually called
RemoveTexture. This gives time for subsequent DrawTargets with the same ReferencePtr to be
created, causing the wrong DrawTargets to be removed.

This patch ensures that when RemoveTexture is called from a RecordedTextureDestruction event
that the DrawTarget is always removed then and there, rather than waiting.

Differential Revision: https://phabricator.services.mozilla.com/D265867
2025-09-26 03:23:53 +00:00
Lee Salzman
509a406228 Bug 1988114. r=gfx-reviewers,ahale,aosmond a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D266194
2025-09-26 03:23:51 +00:00
Mike Hommey
94e68b81a7 Bug 1982003 - Apply allocator-api2 upstream fix to build with rust 1.89. a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D264362

Differential Revision: https://phabricator.services.mozilla.com/D264537
2025-09-26 02:57:19 +00:00
Mike Hommey
40dc24686f Bug 1982003 - Upgrade allocator-api2 to 0.2.21. a=RyanVM
The issue that made us fork the crate locally was actually fixed
upstream in 0.2.21.

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

Differential Revision: https://phabricator.services.mozilla.com/D264536
2025-09-26 02:57:16 +00:00
DonalMe
713f5caf2d Revert "Bug 1988114. r=ahale a=dmeehan" for causing build failues
This reverts commit 35523c86dc.
2025-09-25 13:39:19 +00:00
DonalMe
a76aca3306 Revert "Bug 1989517 - Ensure DrawTarget removed from RecordedTextureDestruction playback. r=aosmond, a=dmeehan" for causing build failures
This reverts commit 7ea9fd74e4.
2025-09-25 13:39:16 +00:00
Lee Salzman
ce0b8a6e42 Bug 1989945. r=ahale a=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D265664
2025-09-25 13:05:41 +00:00
Lee Salzman
7ea9fd74e4 Bug 1989517 - Ensure DrawTarget removed from RecordedTextureDestruction playback. r=aosmond, a=dmeehan
CanvasTranslator::RemoveTexture delayed the call to RemoveDrawTarget till all keepalives are
gone. However, this may take place long after RecordedTextureDestruction actually called
RemoveTexture. This gives time for subsequent DrawTargets with the same ReferencePtr to be
created, causing the wrong DrawTargets to be removed.

This patch ensures that when RemoveTexture is called from a RecordedTextureDestruction event
that the DrawTarget is always removed then and there, rather than waiting.

Differential Revision: https://phabricator.services.mozilla.com/D265867
2025-09-25 13:05:38 +00:00
Lee Salzman
35523c86dc Bug 1988114. r=ahale a=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D264683
2025-09-25 13:05:35 +00:00
William Durand
6f08eaa188 Bug 1989205 - Update recommended.xpi file to fix a test (permafailure) for ESR. r=robwu a=dmeehan DONTBUILD
The new XPI file has been generated from this PR [1], and signed by the
AMO -dev instance (which uses the nonprod cert). FTR since this add-on
needs a recommendation state, we must add the add-on to the "By Firefox"
promoted group via the AMO admin before getting the version signed.

Before:

```
$ xpidump old.xpi
MANIFEST:
  ID        : N/A
  Version   : 2.0
  Enterprise: No

RECOMMENDATION:
  [Line]

SIGNATURES:
  PKCS7:
    └── PRESENT / PRODUCTION / SHA-1 / REGULAR ADD-ON
    └── Certificates:
	└── Common Name         (CN): signingca1.addons.mozilla.org
	    Organizational Unit (OU): Mozilla AMO Production Signing Service
	    End Date                : 2025-04-04T00:00:00Z
	└── Common Name         (CN): {811d77f1-f306-4187-9251-b4ff99bad60b}
	    Organizational Unit (OU): Production
	    End Date                : 2030-09-15T16:50:45Z
  COSE:
    └── PRESENT / PRODUCTION / ES256 / REGULAR ADD-ON
    └── Certificates:
	└── Common Name         (CN): signingca1.addons.mozilla.org
	    Organizational Unit (OU): Mozilla AMO Production Signing Service
	    End Date                : 2025-04-04T00:00:00Z
	└── Common Name         (CN): {811d77f1-f306-4187-9251-b4ff99bad60b}
	    Organizational Unit (OU): Production
	    End Date                : 2030-09-15T16:50:45Z
```

After:

```
$ xpidump new.xpi
MANIFEST:
  ID        : recommended-line@test.mozilla.org
  Version   : 3.0
  Enterprise: No

RECOMMENDATION:
  [Line]

SIGNATURES:
  PKCS7:
    └── PRESENT / STAGING / SHA-256 / REGULAR ADD-ON
    └── Certificates:
	└── Common Name         (CN): cas-intermediate-amo-ca-staging
	    Organizational Unit (OU): Mozilla Staging Signing Service
	    End Date                : 2050-12-31T00:00:00Z
	└── Common Name         (CN): recommended-line@test.mozilla.org
	    Organizational Unit (OU): Production
	    End Date                : 2035-09-17T07:29:49Z
  COSE:
    └── PRESENT / STAGING / ES256 / REGULAR ADD-ON
    └── Certificates:
	└── Common Name         (CN): cas-intermediate-amo-ca-staging
	    Organizational Unit (OU): Mozilla Staging Signing Service
	    End Date                : 2050-12-31T00:00:00Z
	└── Common Name         (CN): recommended-line@test.mozilla.org
	    Organizational Unit (OU): Production
	    End Date                : 2035-09-17T07:29:49Z
```

[1]: https://github.com/mozilla/mozilla-central-test-xpis/pull/15

Differential Revision: https://phabricator.services.mozilla.com/D265576
2025-09-25 13:00:32 +00:00
Karl Tomlinson
11829818fa Bug 1988931 use GetInstanceIfExists() from MediaTrackGraphImpl::GetInstance() a=dmeehan DONTBUILD
Original Revision: https://phabricator.services.mozilla.com/D265213

Differential Revision: https://phabricator.services.mozilla.com/D265876
2025-09-25 12:47:39 +00:00
ffxbld
4728bcf71e No Bug, mozilla-esr140 repo-update HSTS HPKP remote-settings tld-suffixes ct-logs - a=dmeehan DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D266146
2025-09-25 12:46:58 +00:00
Tom Schuster
27b976ad7f Bug 1979536 - Align <object> type attribute behavior closer with other browsers. a=dmeehan
Original Revision: https://phabricator.services.mozilla.com/D262791

Differential Revision: https://phabricator.services.mozilla.com/D265625
2025-09-23 14:55:41 +00:00
Henri Sivonen
8c188f23b4 Bug 1967381 - Optimize Document::RecomputeLanguageFromCharset. a=dmeehan DONTBUILD
Original Revision: https://phabricator.services.mozilla.com/D251598

Differential Revision: https://phabricator.services.mozilla.com/D264905
2025-09-23 14:51:55 +00:00
Kershaw Chang
35da1c77c5 Bug 1980812 - Avoid setting explicit h2 ALPN for connections, a=dmeehan
Original Revision: https://phabricator.services.mozilla.com/D265491

Differential Revision: https://phabricator.services.mozilla.com/D265492
2025-09-22 16:25:41 +00:00
Lee Salzman
bfac3b3d31 Bug 1989127. r=ahale a=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D265372
2025-09-22 14:15:49 +00:00
Lee Salzman
ac301ae584 Bug 1988912. r=ahale a=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D265351
2025-09-22 14:15:47 +00:00
Andrew McCreight
309c387fc9 Bug 1987428 - Make CallArgs::operator[] consistent with ::get. a=dmeehan DONTBUILD
Original Revision: https://phabricator.services.mozilla.com/D264095

Differential Revision: https://phabricator.services.mozilla.com/D265484
2025-09-22 14:09:37 +00:00
Andrew McCreight
b16b2d8711 Bug 1987780 - Add release asserts to mozilla::Queue. a=dmeehan DONTBUILD
Original Revision: https://phabricator.services.mozilla.com/D264319

Differential Revision: https://phabricator.services.mozilla.com/D265480
2025-09-22 14:09:14 +00:00
Jan de Mooij
92b634843b Bug 1987227 part 2 - Emit correct instructions for cmp8 with byte registers on x64. a=dmeehan DONTBUILD
Use `oneByteOp8` to emit the `REX` prefix for byte registers if needed. This fixes an
issue with our code for `LStringToLowerCase` for certain register combinations/values.

With patches for bug 1986983 this was caught by jit-tests on Win64-debug builds.

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

Differential Revision: https://phabricator.services.mozilla.com/D264208
2025-09-22 14:05:47 +00:00
Jan de Mooij
21ba16fd52 Bug 1987227 part 1 - Add test for cmp8 with byte registers on x64. a=dmeehan DONTBUILD
This uses the Zydis disassembler to check the generated code is what we expect.

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

Differential Revision: https://phabricator.services.mozilla.com/D264207
2025-09-22 14:05:44 +00:00
Ryan Hunt
fdb7d96e3c Bug 1987624 - wasm: Refactor GetBufferSource. a=dmeehan DONTBUILD
Original Revision: https://phabricator.services.mozilla.com/D264478

Differential Revision: https://phabricator.services.mozilla.com/D265497
2025-09-22 14:03:58 +00:00
ffxbld
869bc13cbd No Bug, mozilla-esr140 repo-update HSTS HPKP remote-settings tld-suffixes ct-logs - a=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D265594
2025-09-22 12:02:02 +00:00
Rob Wu
f031088fb4 Bug 1984724 - Account for missing data_collection field (ESR140 port) a=dmeehan
extensions.json can miss the data_collection field when it was generated
by a Firefox version that did not support it. The implementation did not
account for this, and prevented extensions from updating due to a
runtime error.

This patch fixes the issue by adding a null check, and unit tests for
background updates. The unit test does not exercise the code path of the
"manual update" scenario from the bug, because of complexity and the
fact that its implementation is going to be replaced with the same logic
of the background update check (bug 1974732).

This patch also includes smaller fixups related to this bug and patch:
- https://phabricator.services.mozilla.com/D263925
- https://phabricator.services.mozilla.com/D264372

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

Differential Revision: https://phabricator.services.mozilla.com/D264618
2025-09-19 17:01:49 +00:00
Valentin Gosu
ccbc5e6940 Bug 1895277 - Update nsAuthSSPI to check certificate hash algorithm a=dmeehan DONTBUILD
Original Revision: https://phabricator.services.mozilla.com/D262779

Differential Revision: https://phabricator.services.mozilla.com/D265280
2025-09-19 16:57:19 +00:00
Kershaw Chang
654ec70bfc Bug 1987350 - Keep mInputFrameDataStream alive in Http2Session::RecvWindowUpdate, a=dmeehan DONTBUILD
Original Revision: https://phabricator.services.mozilla.com/D264183

Differential Revision: https://phabricator.services.mozilla.com/D264577
2025-09-19 16:56:03 +00:00
Luca Greco
82394c910e Bug 1983869 - Fix 'extensions settings' link click handling in post-install popup to preventing it to break customize mode. a=dmeehan
Original Revision: https://phabricator.services.mozilla.com/D264085

Differential Revision: https://phabricator.services.mozilla.com/D264286
2025-09-19 03:03:01 +00:00
Gabriele Svelto
a2e0149356 Bug 1975979 - Remove the crash helper listener socket on Linux and macOS a=dmeehan
Original Revision: https://phabricator.services.mozilla.com/D262410

Differential Revision: https://phabricator.services.mozilla.com/D263340
2025-09-19 02:56:19 +00:00
Julien Cristau
d6674b563e Bug 1989122 - update cron-bouncer-check config for esr140 as current ESR. a=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D265229
2025-09-18 11:54:56 +00:00
ffxbld
40a96d47f3 No Bug, mozilla-esr140 repo-update HSTS HPKP remote-settings tld-suffixes ct-logs - a=dmeehan DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D265258
2025-09-18 11:51:45 +00:00
Release Engineering Landoscript
786cf32bb6 No Bug - Update configs after merge day operations a=release
IGNORE BROKEN CHANGESETS
CLOSED TREE
2025-09-15 12:39:18 +00:00
Release Engineering Landoscript
c5298ef7c6 Automatic version bump NO BUG a=release CLOSED TREE 2025-09-15 12:39:13 +00:00
Tom Schuster
2ea021b947 Bug 1973900 - Remove support for the codebase attribute from <object>. r=farre,dom-core a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D254958
2025-09-08 18:24:16 +00:00
Jonathan Kew
da94da9a91 Bug 1986417 - Try to ensure regional flags (encoded with WAVING BLACK FLAG + tag letters) render properly. a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D263906
2025-09-08 15:49:38 +00:00
ffxbld
228d3bd24d No Bug, mozilla-esr140 repo-update HSTS HPKP remote-settings tld-suffixes ct-logs - a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D264058
2025-09-08 12:10:39 +00:00
Ryan VanderMeulen
b5c40204b0 Bug 1986539 - Update l10n-changesets on ESR140. a=RyanVM DONTBUILD 2025-09-08 12:07:00 +00:00
Fatih Kilic
bc7689a036 Bug 1986031 - Use GetAncestorWindow instead of GetWindow in OffscreenCanvasPromptRunnable to allow prompting from nested workers. r=tjr a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D263136
2025-09-05 21:00:44 +00:00
Fatih Kilic
c674f99b18 Bug 1985073 - Fix the thread-safety issues with canvas permission prompting. a=RyanVM
Previously, as seen, I wrote some horrible code. This patch intends to fix the thread safety issue in the permission prompt code for OffscreenCanvas.

For context, with privacy.fingerprintingProtection=True and privacy.fingerprintingProtection.overrides="+CanvasImageExtractionPrompt", when a canvas is read, we randomize the data, and return the randomized data. At the same time, we show a permission prompt asking the user if they want to allow the website to read the canvas data without randomization. It is a non-blocking prompt (i.e. we allow further canvas reads, it just keeps adding the randomization).

We have two types of canvases. HTMLCanvasElement and OffscreenCanvas. The former is used in the main thread, the latter can be used in both the main thread and worker threads.

To ask for permission, we need to communicate with the parent process with the correct window. However, accessing window from a worker thread is not thread safe. We need to dispatch to the main thread to access the window.

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

Differential Revision: https://phabricator.services.mozilla.com/D263138
2025-09-05 21:00:42 +00:00