Commit Graph

982544 Commits

Author SHA1 Message Date
Yury Delendik
d4a199cc60 Bug 1992130 - Fix arguments types for std::copy. a=pascalc
Differential Revision: https://phabricator.services.mozilla.com/D268882
2025-10-21 09:14:27 +00:00
Timothy Nikkel
39315e05a8 Bug 1991458. a=pascalc
Original Revision: https://phabricator.services.mozilla.com/D267389

Differential Revision: https://phabricator.services.mozilla.com/D268695
2025-10-20 07:48:19 +00:00
Kagami Sascha Rosylight
19a6662a64 Bug 1980904 - Deny notification requests for all cross origins a=RyanVM
Including same sites.

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

Differential Revision: https://phabricator.services.mozilla.com/D267964
2025-10-18 18:02:00 +00:00
Olli Pettay
74ba37c339 Bug 1961648, avoid using ObserverService late during shutdown, a=RyanVM DONTBUILD
Original Revision: https://phabricator.services.mozilla.com/D265675

Differential Revision: https://phabricator.services.mozilla.com/D268905
2025-10-18 18:01:29 +00:00
Valentin Gosu
45b12df108 Bug 1994728 - Also fix dns_service_wrap test r=necko-reviewers,kershaw a=test-only
Differential Revision: https://phabricator.services.mozilla.com/D268923
2025-10-18 15:11:32 +00:00
Valentin Gosu
9fa1fadb82 Bug 1994728 - Fix test_dns_service.js to mock the DNS response r=necko-reviewers,kershaw a=test-only
Differential Revision: https://phabricator.services.mozilla.com/D268884
2025-10-18 15:11:30 +00:00
mcheang
848482276a Bug 1994348 - Fix test_selector_db_out_of_date failure. r=Standard8 a=test-only
The test is updated to check the most important engines and not every
single engine in the list.

Differential Revision: https://phabricator.services.mozilla.com/D269120
2025-10-18 15:11:28 +00:00
Andrew Osmond
dc1fd8e886 Bug 1994241. a=pascalc
Original Revision: https://phabricator.services.mozilla.com/D268585

Differential Revision: https://phabricator.services.mozilla.com/D268621
2025-10-17 07:15:07 +00:00
ffxbld
edd34d92c0 No Bug, mozilla-esr140 repo-update HSTS HPKP remote-settings tld-suffixes ct-logs - a=pascalc DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D268851
2025-10-16 11:04:40 +00:00
Release Engineering Landoscript
5b46c4f386 No Bug - Update configs after merge day operations a=release
IGNORE BROKEN CHANGESETS
CLOSED TREE
2025-10-13 11:26:59 +00:00
Release Engineering Landoscript
a91ab2ce56 Automatic version bump NO BUG a=release CLOSED TREE 2025-10-13 11:26:56 +00:00
ffxbld
e80a7d9275 No Bug, mozilla-esr140 repo-update HSTS HPKP remote-settings tld-suffixes ct-logs - a=pascalc DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D268114
2025-10-13 10:04:12 +00:00
David Shin
19f835d232 Bug 1990786: Don't transform empty overflow. a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D266907

Differential Revision: https://phabricator.services.mozilla.com/D267818
2025-10-09 12:15:38 +00:00
Andrew Osmond
1d31c84e92 Bug 1992856 - Disable remote canvas as the final fallback step before disabling the GPU process. a=RyanVM
Given that we would otherwise disable remote canvas when we disable the
GPU process, it is not meaningfully worse for users to just disable
remote canvas keeping the GPU process as the final step. It is still
preferable to losing the GPU process sandbox. This includes D2D canvas,
accelerated canvas and WebGPU, as well as WebGL on Android.

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

Differential Revision: https://phabricator.services.mozilla.com/D267862
2025-10-09 12:14:44 +00:00
Andrew Osmond
14de960c73 Bug 1992430 - Disable WebGPU if the GPU process is disabled on platforms with a GPU process. a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D267425

Differential Revision: https://phabricator.services.mozilla.com/D267861
2025-10-09 12:14:41 +00:00
Rob Wu
3bca077f3b Bug 1991950 - Hold onto buffer while IO is pending a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D267719

Differential Revision: https://phabricator.services.mozilla.com/D267842
2025-10-09 12:11:56 +00:00
Rob Wu
7986b34f92 Bug 1983138 - Fix use of winLastError in subprocess a=RyanVM
Before this patch, an attempt to read from a program that closed its
stdout would result in a never-resolving read promise on Windows.

Before this patch, an attempt to write to a program that closed its
stdin would result in a never-resolving write promise on Windows.

This patch fixes both issues by fixing the typo that prevented the
implementation from detecting errors, and adds test coverage.

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

Differential Revision: https://phabricator.services.mozilla.com/D267841
2025-10-09 12:11:53 +00:00
ffxbld
bb5601e4fa No Bug, mozilla-esr140 repo-update HSTS HPKP remote-settings ct-logs - a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D267580
2025-10-06 11:42:39 +00:00
Dennis Jackson
a7d47931c4 Bug 1992388 - Release NSS 3.112.2 for ESR. r=jschanck a=RyanVM. UPGRADE_NSS_RELEASE
Differential Revision: https://phabricator.services.mozilla.com/D267406
2025-10-03 20:12:13 +00:00
Jed Davis
a5e7b10758 Bug 1975576 - Allow ioctls used by WebRTC for interface info in Linux socket process sandbox. a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D265735

Differential Revision: https://phabricator.services.mozilla.com/D267151
2025-10-03 02:50:48 +00:00
Lee Salzman
9121587c58 Bug 1991899 - Use RecordedEventArray for variable-sized recording data. r=aosmond a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D267087
2025-10-03 02:30:16 +00:00
Lee Salzman
dcb678f865 Bug 1991899 - Only use dash pattern storage when necessary. r=aosmond a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D267059
2025-10-03 02:30:13 +00:00
Morgan Rae Reschenberg
48ff0757ca Bug 1990785: Verify text attributes exist before adding to them r=Jamie, a=RyanVM DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D266937
2025-10-03 01:41:15 +00:00
Henri Sivonen
7253f21762 Bug 1782501 - Be defensive against flush counts getting out of sync for parser-created about:blank. a=RyanVM DONTBUILD
Original Revision: https://phabricator.services.mozilla.com/D266750

Differential Revision: https://phabricator.services.mozilla.com/D267162
2025-10-03 01:40:43 +00:00
Michael Kaply
a11f5b9cfc Bug 1971973 - Add enterprise policy for Generative AI. a=RyanVM DONTBUILD
Original Revision: https://phabricator.services.mozilla.com/D263430

Differential Revision: https://phabricator.services.mozilla.com/D267306
2025-10-03 01:39:48 +00:00
Michael Kaply
6964d1d151 Bug 1889569 - Disable more print entrypoints when print is disabled. a=RyanVM DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D267304
2025-10-03 01:37:32 +00:00
Kershaw Chang
0ba04d051b Bug 1990699 - Allow fallback to coalescing connection, a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D267311

Differential Revision: https://phabricator.services.mozilla.com/D267314
2025-10-02 20:53:47 +00:00
Cristian Tuns
0124237872 Revert "Bug 1975576 - Allow ioctls used by WebRTC for interface info in Linux socket process sandbox. a=RyanVM DONTBUILD" for causing build bustages in SandboxFilter.cpp
This reverts commit 0242b773ca.
2025-10-02 13:34:03 +00:00
ffxbld
75a9b42a9d No Bug, mozilla-esr140 repo-update HSTS HPKP remote-settings tld-suffixes ct-logs - a=diannaS
Differential Revision: https://phabricator.services.mozilla.com/D267205
2025-10-02 12:35:24 +00:00
Jed Davis
0242b773ca Bug 1975576 - Allow ioctls used by WebRTC for interface info in Linux socket process sandbox. a=RyanVM DONTBUILD
Original Revision: https://phabricator.services.mozilla.com/D265735

Differential Revision: https://phabricator.services.mozilla.com/D267151
2025-10-02 12:11:24 +00:00
Daniel Holbert
cd6cafbe76 Bug 1969753: Let image.natural-size-fallback.enabled ride the trains (remove Nightly-only guard). a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D251994

Differential Revision: https://phabricator.services.mozilla.com/D267129
2025-10-02 01:02:14 +00:00
Daniel Holbert
3d163cc822 Bug 1965560 part 4: Adjust img.width/img.height internals to return the naturalWidth and naturalHeight when the img is not being rendered. a=RyanVM
This is to implement the spec text here, where the spec defines the IDL
attributes width and height in terms of the natural width and height when the
image is not being rendered:
https://html.spec.whatwg.org/multipage/embedded-content.html#dom-img-width

This patch diverges from that^ spec text in two key ways, for interoperability,
as described in this github comment:
https://github.com/whatwg/html/issues/11287#issuecomment-2923467541

I've called these out in the code itself, and I intend to update the spec to
address this divergence in that whatwg/html github-issue.

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

Differential Revision: https://phabricator.services.mozilla.com/D267128
2025-10-02 01:02:10 +00:00
Daniel Holbert
0a2d3789fb Bug 1965560 part 3: Swap the declaration order of two variables in nsImageLoadingContent::GetWidthHeightForImage(). a=RyanVM
No behavior-change.

This moves the 'const nsAttrValue* value' decl to its first use where it
belongs; and moves the 'CSSIntSize size' decl a bit earlier, where we'll need
it to be in the next patch.

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

Differential Revision: https://phabricator.services.mozilla.com/D267127
2025-10-02 01:02:07 +00:00
Daniel Holbert
45c4fe8584 Bug 1965560 part 2: Give NaturalSize() a param to let callers opt-out of density-correction. a=RyanVM
This patch doesn't change behavior for now (because none of the existing
callsites pass the param to opt out); but a later patch in this series will
add a callsite that does opt out of density-correction.

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

Differential Revision: https://phabricator.services.mozilla.com/D267126
2025-10-02 01:02:03 +00:00
Daniel Holbert
563afbfce4 Bug 1965560 part 1: Move NaturalWidth() function from HTMLImageElement to its superclass nsImageLoadingContent.cpp. a=RyanVM
This patch doesn't change behavior; it's just moving this function from a
derived class to its superclass (because a later patch in this series will need
to call it from the superclass).

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

Differential Revision: https://phabricator.services.mozilla.com/D267125
2025-10-02 01:01:59 +00:00
Daniel Holbert
126265d69e Bug 1969478 part 4: Extend WPT naturalWidth-naturalHeight-width-height.tentative.html to repeat each test with 'display:none' on the image. a=RyanVM
When the image isn't rendered, the values returned by img.width and img.height
are supposed to be different in many cases, and that's what we're testing for
here.

Relevant spec text on these differences is here:
https://html.spec.whatwg.org/multipage/embedded-content.html#dom-img-width
 "if the image is being rendered; or else ..."

(though that spec text needs some nuance added per
https://github.com/whatwg/html/issues/11287#issuecomment-2923467541 )

Firefox Nightly fails a bunch of the new tests added here, and those failures
will be fixed in bug 1965560 as noted in the .ini file.

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

Differential Revision: https://phabricator.services.mozilla.com/D267123
2025-10-02 01:01:56 +00:00
Daniel Holbert
210b5e9bf9 Bug 1969478 part 3: Extend WPT naturalWidth-naturalHeight-width-height.tentative.html to test img with srcset and different density values. a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D251971

Differential Revision: https://phabricator.services.mozilla.com/D267122
2025-10-02 01:01:53 +00:00
Daniel Holbert
b2d6c2d1b2 Bug 1969478 part 2: Copy subtests from naturalWidth-naturalHeight.html to naturalWidth-naturalHeight-width-height.tentative.html. a=RyanVM
This lets us encode updated expectations for these scenarios (based on more
web=compatible soon-to-be-proposed spec text[1]) right now in
naturalWidth-naturalHeight-width-height.tentative.html, while letting
naturalWidth-naturalHeight.html continue to encode the expectations of current
spec text for the time being.

(Note that some of the scenarios in the older test are already tested in the
newer test and hence don't need to be copied over.)

[1] https://github.com/whatwg/html/issues/11287

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

Differential Revision: https://phabricator.services.mozilla.com/D267121
2025-10-02 01:01:49 +00:00
Daniel Holbert
dfd471c795 Bug 1969478 part 1: Rename naturalWidth-naturalHeight-unavailable.tentative.html to naturalWidth-naturalHeight-width-height.tentative.html. a=RyanVM
I originally created this test as a placeholder to test some edge cases where
the naturalWidth and naturalHeight might be unavailable (hence "unavailable" in
the name), with the intent of ultimately merging it back into
naturalWidth-naturalHeight.html once
https://github.com/whatwg/html/issues/11287 was resolved.

However, I'm now planning for this test to just be the canonical test
for the img.{naturalWidth,naturalHeight,width,height} attributes, for a variety
of scenarios (not just ones where the natural width/height might be
unavailable).  Then we can remove the naturalWidth-naturalHeight.html test
entirely (obsoleted by this test) when the spec change is complete.

This patch is the first part of this -- just renaming the test and updating
the title to reflect its new broader purpose.

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

Differential Revision: https://phabricator.services.mozilla.com/D267120
2025-10-02 01:01:46 +00:00
Daniel Holbert
b9d21a62b9 Bug 1969487: Remove unnecessary styles from WPT naturalWidth-naturalHeight-unavailable.tentative.html. a=RyanVM
This is just cleanup and doesn't change the behavior of this test. The img
elements here are 'display:block', so:
* 'vertical-align' doesn't apply.
* 'width:max-content' is basically redundant, since block-level replaced
  elements already size to their max-content size.

Hence, I'm removing these unnecessary styles.

(I re-ran the test in both Firefox and Chrome to make sure the results don't
change.)

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

Differential Revision: https://phabricator.services.mozilla.com/D267119
2025-10-02 01:01:42 +00:00
Daniel Holbert
b90db4cb46 Bug 1969000: Change WPT naturalWidth-naturalHeight-unavailable.tentative.html to append its img elements dynamically with JS. a=RyanVM
This patch doesn't fundamentally change the behavior or expectations of this
test.

This patch simply moves all of the img elements to a <template> (which is not
rendered), and then appends a clone of those elements to a container within
the body; and then those cloned img elements are what get tested.

This sets the stage for later patches to append additional modified copies of
these img elements, with small modifications (e.g. using 'srcset' rather than
'src').

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

Differential Revision: https://phabricator.services.mozilla.com/D267118
2025-10-02 01:01:39 +00:00
Ryan VanderMeulen
0af041b429 Bug 1986142 - Fix lint warnings. a=me DONTBUILD 2025-10-02 00:29:20 +00:00
Hubert Boma Manilla
c8e6b3801c Bug 1986142 - [devtools] Properly escape all new lines characters (make sure no carraige returns) a=RyanVM
While reverting all the work related to cross platform escaping of curl (See  Bug 1976589), i tried to cleanup the
escaping of new line characters, but introduced carriage returns (\r).

This patch reverts back to the original fix from Bug 1968414

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

Differential Revision: https://phabricator.services.mozilla.com/D267045
2025-10-01 23:58:04 +00:00
Hubert Boma Manilla
4d9d5d34cb Bug 1976589 - [devtools] Stop escaping for other platforms when using Copy As Curl(Windows) r=devtools-reviewers,ochameau a=RyanVM
This patch reverts important parts of D243110 related to Bug 1950001
This goal is for the Copy As Curl(Windows) to work properly on just the windows CMD

Differential Revision: https://phabricator.services.mozilla.com/D255793
2025-10-01 23:58:01 +00:00
Hubert Boma Manilla
0497f73908 Bug 1974973 - [devtools] Stop escaping for other platforms when selecting Copy as curl (POSIX) r=devtools-reviewers,ochameau a=RyanVM
- This patch should revert the fixes from Bug 1960198, Bug 1949994 and Bug 1962301.
- The goal of this patch is Copy as curl (POSIX) should only work on Linux.

Differential Revision: https://phabricator.services.mozilla.com/D255784
2025-10-01 23:57:58 +00:00
Jonathan Kew
7d396ff5b4 Bug 1988244 - Guard the space-features bit vectors with the feature-info mutex. a=RyanVM DONTBUILD
Original Revision: https://phabricator.services.mozilla.com/D266136

Differential Revision: https://phabricator.services.mozilla.com/D267025
2025-10-01 23:56:19 +00:00
Dana Keeler
f51bb96e4e Bug 1987422 - osclientcerts: null-check before wrapping CF objects a=RyanVM DONTBUILD
Original Revision: https://phabricator.services.mozilla.com/D264138

Differential Revision: https://phabricator.services.mozilla.com/D267026
2025-10-01 18:09:47 +00:00
Lee Salzman
e2d46879fa Bug 1990970. r=gfx-reviewers,ahale a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D266513
2025-10-01 01:55:42 +00:00
Lee Salzman
b6af1bdf04 Bug 1991040. r=gfx-reviewers,aosmond,ahale a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D266457
2025-10-01 01:55:39 +00:00
John M. Schanck
69c4362895 Bug 1981587 - expose enterprise policy configurable pref to allow direct attestation. a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D265375

Differential Revision: https://phabricator.services.mozilla.com/D266840
2025-10-01 00:25:56 +00:00