Commit graph

987688 commits

Author SHA1 Message Date
Valentin Gosu
7ab72cf96a Bug 1940027 - Use nsACString in jar code a=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D237704
2025-02-12 14:38:27 +00:00
Francesco Lodolo (:flod)
9e1c0c56f8 Bug 1946647 - Fix icons in Panic button for history and new window, a=dmeehan
Original Revision: https://phabricator.services.mozilla.com/D237177

Differential Revision: https://phabricator.services.mozilla.com/D237320
2025-02-12 01:15:35 +00:00
Thomas Wisniewski
79e4b8e576 Bug 697151 - distinguish between SYNC and ASYNC XMLHttpRequests in nsIContentPolicy types, and have ChannelEventQueue::MaybeSuspendIfEventsAreSuppressed only suspend async ones; a=dmeehan
Original Revision: https://phabricator.services.mozilla.com/D213516

Differential Revision: https://phabricator.services.mozilla.com/D237613
2025-02-11 14:44:28 +00:00
Kershaw Chang
f44b9c9921 Bug 1935004 - Remove res_ninit, a=dmeehan
Original Revision: https://phabricator.services.mozilla.com/D236345

Differential Revision: https://phabricator.services.mozilla.com/D237572
2025-02-10 18:02:23 +00:00
ffxbld
16e879ac28 No Bug, mozilla-esr128 repo-update HSTS HPKP remote-settings tld-suffixes - a=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D237538
2025-02-10 14:52:32 +00:00
Lee Salzman
1efaf9ba41 Bug 1945624. r=aosmond a=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D236664
2025-02-10 14:49:37 +00:00
Iain Ireland
1594f8f8d0 Bug 1942881: Remove RRegExpMatcher r=jandem, a=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D236071
2025-02-03 21:49:54 +00:00
Peter Van der Beken
26960c9b19 Bug 1944313 - Propagate XSLT expression failure correctly. r=farre, a=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D235895
2025-02-04 17:28:39 +00:00
smayya
90e6ebd641 Bug 1938471 - synchronize access to FetchDriver::mObserver. r=necko-reviewers,kershaw, a=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D235762
2025-02-04 15:48:43 +00:00
smayya
f05fe128f1 Bug 1938471 - Backed out changeset dcfa4149aaf3. r=necko-reviewers,kershaw, a=dmeehan
Please see the explaination for the fix in the bug [[ https://bugzilla.mozilla.org/show_bug.cgi?id=1938471#c16 | comment ]]

Differential Revision: https://phabricator.services.mozilla.com/D235761
2025-02-04 15:48:43 +00:00
Rob Wu
8b6f2a74f2 Bug 1826867 - Use NS_GetFinalChannelURI instead of GetURI in SessionHistoryEntry a=dmeehan
When redirects are involved, `DocumentLoadListener::DoOnStartRequest`
may call `ReplaceLoadingSessionHistoryEntryForLoad`, which updates the
history entry with the destination of a redirect. But if the redirection
target is a `moz-extension:`-URL, the URL becomes a jar:file:/file: URL.
This is because SessionHistoryInfo (in SessionHistoryEntry.cpp) looks up
the URL with `nsIChannel::GetURI`. For `moz-extension:`-URLs, the
underlying channel has a `jar:file:` or `file:` URL, as provided by
ExtensionProtocolHandler (via SubstitutingProtocolHandler::NewChannel).
For details, see https://bugzilla.mozilla.org/show_bug.cgi?id=1826867#c7

To fix this, this patch switches to `NS_GetFinalChannelURI` instead. For
more history on this type of bug and SessionHistoryInfo, see
https://bugzilla.mozilla.org/show_bug.cgi?id=1826867#c9

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

Differential Revision: https://phabricator.services.mozilla.com/D236901
2025-02-08 13:31:59 +00:00
André Bargull
811f17ca1e Bug 1945535: Update to tzdata 2025a (ESR128). r=spidermonkey-reviewers,dminor a=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D236566
2025-02-08 13:30:24 +00:00
Nazım Can Altınova
ade99491c4 Bug 1943912 - Do not reset the chunk manager while shutdown a=dmeehan
Original Revision: https://phabricator.services.mozilla.com/D235642

Differential Revision: https://phabricator.services.mozilla.com/D237219
2025-02-07 20:25:55 +00:00
Bob Owen
97dfb547ef Bug 1943586: Don't collect information in profiler_shutdown when we won't use it. a=dmeehan
Original Revision: https://phabricator.services.mozilla.com/D236346

Differential Revision: https://phabricator.services.mozilla.com/D237235
2025-02-07 20:23:56 +00:00
Rob Wu
b6a806fdf1 Bug 1942259 - Replace pipes imports a=dmeehan
pipes does not exist in Python 3.11 any more

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

Differential Revision: https://phabricator.services.mozilla.com/D236165
2025-02-07 18:08:44 +00:00
Rob Wu
a03dc5f488 Bug 1942259 - Move telnetlib import to BaseEmulator a=dmeehan
emulator.py currently has an unconditional telnetlib import, but the
file can also be imported when the functionality is not needed.

Because telnetlib was removed from Python 3.13, this unconditional
import breaks use cases that do not even care about telnet. As a stopgap
measure until a better fix is available, move the import to the function
that relies on telnet.

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

Differential Revision: https://phabricator.services.mozilla.com/D236164
2025-02-07 18:08:44 +00:00
Nicolas B. Pierron
c3b0d15ca3 Bug 1940716 - convertDoubleToInt32: Clobber destination register when zero. a=dmeehan
Original Revision: https://phabricator.services.mozilla.com/D234893

Differential Revision: https://phabricator.services.mozilla.com/D236700
2025-02-07 14:16:53 +00:00
alwu
9ca513777a Bug 1922889 - add mutex. r=media-playback-reviewers,aosmond, a=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D226398
2025-02-03 18:22:27 +00:00
Randell Jesup
836cb2bb61 Bug 1944126: Update WebTransportChild r=saschanaz, a=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D236002
2025-02-03 18:40:56 +00:00
Gabriele Svelto
879ae06a1d Bug 1944784 - Fix collecting the errors encountered when generating minidumps r=cmartin, a=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D236202
2025-02-03 15:31:33 +00:00
Matthew Gregan
0d315ac668 Bug 1944150 - Remove WASAPI stream shutdown timeout. r=cubeb-reviewers,padenot a=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D236070
2025-02-06 14:23:42 +00:00
Rob Wu
09639b067e Bug 1939087 - Truncate long name and log warning a=dmeehan
Original Revision: https://phabricator.services.mozilla.com/D233025

Differential Revision: https://phabricator.services.mozilla.com/D236900
2025-02-06 14:16:44 +00:00
ffxbld
4f80e55792 No Bug, mozilla-esr128 repo-update HSTS HPKP remote-settings tld-suffixes - a=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D237018
2025-02-06 13:04:48 +00:00
Francesco Lodolo (:flod)
a8cf861b86 Bug 1944233 - Update localization shipping in ESR128, r=bolsson a=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D235741
2025-02-05 18:09:44 +00:00
Mozilla Releng Treescript
f89561a133 No bug - Tagging f3783ad20bf40a11fb4b7ed088236c1a9f7be362 with FIREFOX_128_7_0esr_RELEASE a=release CLOSED TREE DONTBUILD 2025-02-04 13:18:39 +00:00
Mozilla Releng Treescript
7a2dc51eb9 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2025-02-03 16:18:10 +00:00
Mozilla Releng Treescript
1e0489eba2 No bug - Tagging f3783ad20bf40a11fb4b7ed088236c1a9f7be362 with FIREFOX_128_7_0esr_BUILD1 a=release CLOSED TREE DONTBUILD 2025-01-27 19:42:42 +00:00
Goloman Adrian
377a9412b4 Bug 1890792 - disable browser_print_content_analysis.js for frequent failures on win11_2009. r=jmaher, a=test-only 2025-01-03 19:07:21 +02:00
Cosmin Sabou
a60ad70623 Bug 1907085 - Disable browser_pointerlock_popup.js on linux 18.04 !debug and macOS catalina for frequent failures. r=intermittent-reviewers,jmaher a=test-only 2024-08-06 06:05:58 +00:00
Magnus Melin
cf4c93e86b Bug 1943650 - Command-line --help output misformatted after --dbus-service. r=emilio, a=RyanVM DONTBUILD 2025-01-26 12:28:50 +00:00
ffxbld
f5cc2a1cbc No Bug, mozilla-esr128 repo-update HSTS HPKP remote-settings tld-suffixes - a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D235589
2025-01-27 12:45:26 +00:00
Ryan VanderMeulen
74ec3f1600 Backed out changeset 9238cfd153bc (bug 1943011) for causing bug 1943722. 2025-01-25 08:38:57 -05:00
Micah Tigley
2abe81513e Bug 1937085 - Ensure about:logins is opened in non-popup browser window. r=credential-management-reviewers,issammani a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D232145
2025-01-23 22:14:03 +00:00
Emilio Cobos Álvarez
f54d7a84b4 Bug 1935471 - Make resolving image urls thread-safe. r=dshin, a=RyanVM
We can resolve them off the main thread now due to registered custom
properties (which requires the computed <url> serialization).

Differential Revision: https://phabricator.services.mozilla.com/D234959
2025-01-23 13:29:55 +00:00
Kershaw Chang
b686ede718 Bug 1943011 - If 'no-default-alpn' is not found, add 'http/1.1' to the list of records, a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D235170

Differential Revision: https://phabricator.services.mozilla.com/D235356
2025-01-24 15:42:46 +00:00
Andreas Pehrson
4aa75fd5e3 Bug 1937978 - Exit early with success when decrypting an empty CBCS subsample buffer with ClearKey. a=RyanVM
Without the early exit, DecryptCbcs() will try to get the address of the first
element in the subsample (Span), which with length 0 is forbidden.

This could also be solved by getting the address of the Span through data()
instead, to avoid dereferencing the first element. That seems more like a
footgun than the early exit however.

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

Differential Revision: https://phabricator.services.mozilla.com/D235407
2025-01-24 13:19:02 +00:00
Andreas Pehrson
51a88614d5 Bug 1908682 - Exit early with success when decrypting an empty buffer with ClearKey. a=RyanVM
Without the early exit, we allocate an empty std::vector which we may try to
access the first element on, leading to a crash.

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

Differential Revision: https://phabricator.services.mozilla.com/D235406
2025-01-24 13:19:02 +00:00
Emilio Cobos Álvarez
c705de6919 Bug 1930514 - Go back to round inner sizes. r=dholbert, a=RyanVM
Truncating them generally makes sense, but may be unexpected by some
websites, and rounding consistently with other APIs like client* is
probably more important than showing useless scrollbars in some cases.

I checked Chromium and it seems they round both client* / scroll* /
offset* APIs, and inner{Width,Height} (though they seem to round exact
half pixels down instead of up), so this should probably be safe.

This is tested already by
testing/web-platform/mozilla/tests/css/cssom/window_size_rounding.html

Differential Revision: https://phabricator.services.mozilla.com/D228960
2024-11-14 20:24:10 +00:00
Narcis Beleuzu
7425e124d8 Backed out changeset 0c6183497ae4 (bug 1943011) for xpcshell failure on test_trr_https_fallback.js . a=backout 2025-01-24 05:18:58 +02:00
Kershaw Chang
19b3c068e3 Bug 1943011 - If 'no-default-alpn' is not found, add 'http/1.1' to the list of records, a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D235170

Differential Revision: https://phabricator.services.mozilla.com/D235356
2025-01-24 01:29:33 +00:00
John Schanck
acbe49562b Bug 1941994 - avoid deadlock in WinWebAuthnService GetAutoFillEntries. a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D235082

Differential Revision: https://phabricator.services.mozilla.com/D235348
2025-01-24 01:29:13 +00:00
Paul Zuehlcke
224d121b09 Bug 1895285 - Disable browser_check_identity_state.js on Windows MSIX. r=intermittent-reviewers,jmaher a=test-only DONTBUILD 2024-07-03 13:21:47 +00:00
Boris Chiou
984653245b Bug 1923208 - Set a proper schedule time for transitionrun. a=RyanVM
See the testcase. If we replace a transition and flush it in the
meantime, after a timeout, we may fail to set a proper `mPendingReadyTime`
for the newly-created transition, because the refresh driver is not in
refresh when we call `Animation::EnsurePaintIsScheduled()` in
`Animation::PlayNoUpdate()`. So we don't have a pending ready time and
so we cannot trigger this transition at the current tick.

Therefore, this newly-created transition would be triggered at the next tick.
The means it doesn't have `mStartTime` when we enqueued the transition event
i.e. transitionrun, at the current tick. `zeroTimeStamp` would be null,
and we fail to sort the events.

In this patch, we just assign a proper schedule time for transitionrun
if `zeroTimeStamp` is null.

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

Differential Revision: https://phabricator.services.mozilla.com/D235387
2025-01-24 01:17:05 +00:00
Boris Chiou
bf2a64ad42 Bug 1923208 - Fallback to compare the order of event targets for CSSTransition if they have the same time. a=RyanVM
Since the cancelled transition has no owning element and its transition
generation is out-of-date, so we have to compare the event targets and
the transition generations in `AnimationEventInfo`. We still follow the
composite order defined in the spec but use the event target and transition
generation before cancelling this transition, to get the correct event order
if we have the same schedule time.

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

Differential Revision: https://phabricator.services.mozilla.com/D235386
2025-01-24 01:17:04 +00:00
Boris Chiou
7358d47c02 Bug 1923208 - Store animation index into AnimationEventDispatcher. a=RyanVM
We need this information when comparing the cancelled transitions/animations
in the following patches.

Note that we have to reorder the calling of `Animation::Cancel()` and
the update of `mAnimationIndex` to make sure we enqueue the cancel event
with the correct `mAnimationIndex`.

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

Differential Revision: https://phabricator.services.mozilla.com/D235385
2025-01-24 01:17:04 +00:00
Valentin Gosu
661107023a Bug 1917177 - Remove image mime types from documment accept header a=RyanVM
This aligns us with the fetch spec and Safari.

This patch also adds a pref to control whether supported image formats are also
part of the document accept header - defaults to false.

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

Differential Revision: https://phabricator.services.mozilla.com/D235365
2025-01-24 01:12:35 +00:00
Mike Kaply
8068a360da Bug 1932923 - Avoid external network requests in browser_google_behavior.js. a=test-only 2025-01-23 15:23:23 -05:00
Dennis Jackson
dc773eb77d Bug 1936150 - land NSS NSS_3_101_3_RTM UPGRADE_NSS_RELEASE, r=nss-reviewers,jschanck a=RyanVM
2025-01-23  Dennis Jackson  <djackson@mozilla.com>

	* doc/rst/releases/index.rst:
	Add release notes for 3.101.3
	[60be34d595b6] [NSS_3_101_3_RTM] <NSS_3_101_BRANCH>

	* lib/nss/nss.h, lib/softoken/softkver.h, lib/util/nssutil.h:
	Set verion numbers to 3.101.3
	[b799d486b567] <NSS_3_101_BRANCH>

2024-12-09  Maurice Dauer  <mdauer@mozilla.com>

	* lib/pkcs7/certread.c:
	Bug 1935984 - Ensure zero-initialization of collectArgs.cert,
	r=djackson,nss-reviewers

	[0c5bfd138fec] <NSS_3_101_BRANCH>

2024-12-06  Dana Keeler  <dkeeler@mozilla.com>

	* lib/softoken/pkcs11.c, lib/util/utilmod.c:
	Bug 1927953 - don't look for secmod.db in nssutil_ReadSecmodDB if
	NSS_DISABLE_DBM is set r=jschanck

	[2c13c7018b61] <NSS_3_101_BRANCH>

2024-11-27  Anna Weine  <anna.weine@mozilla.com>

	* lib/dev/devutil.c:
	Bug 1926256 - fix build error from 9505f79d r=jschanck

	[4a2a05674aa3] <NSS_3_101_BRANCH>

2024-11-26  John Schanck  <jschanck@mozilla.com>

	* lib/dev/devutil.c:
	Bug 1926256 - simplify error handling in
	get_token_objects_for_cache. r=rrelyea

	[72dc849de263] <NSS_3_101_BRANCH>

2024-10-21  John Schanck  <jschanck@mozilla.com>

	* cmd/pk12util/pk12util.c:
	Bug 1923767 - pk12util: improve error handling in
	p12U_ReadPKCS12File. r=nss-reviewers,nkulatova

	[23e5b96bfbdb] <NSS_3_101_BRANCH>

2024-09-24  ISHIKAWA, Chiaki  <ishikawa@yk.rim.or.jp>

	* lib/ssl/sslsnce.c:
	Bug 1909768 - UBSAN fix: applying zero offset to null pointer in
	sslsnce.c. r=kaie

	[49a0f03dc97b] <NSS_3_101_BRANCH>

2024-07-25  John Schanck  <jschanck@mozilla.com>

	* lib/softoken/pkcs11u.c:
	Bug 1908623 - move list size check after lock acquisition in
	sftk_PutObjectToList. r=rrelyea,nss-reviewers

	[b936ef0a883b] <NSS_3_101_BRANCH>

2024-09-26  Kai Engert  <kaie@kuix.de>

	* lib/pkcs7/p7decode.c:
	Bug 1899402 - Correctly destroy bulkkey in error scenario.
	r=jschanck

	[3200544b1a70] <NSS_3_101_BRANCH>

2024-07-29  John Schanck  <jschanck@mozilla.com>

	* lib/nss/nss.h, lib/softoken/softkver.h, lib/util/nssutil.h:
	Set version numbers to 3.101.2
	[f0fd00e7f8ee] <NSS_3_101_BRANCH>

2024-07-24  John Schanck  <jschanck@mozilla.com>

	* .hgtags:
	Added tag NSS_3_101_2_RTM for changeset 1204ed03458f
	[d7839c5f949e] <NSS_3_101_BRANCH>

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

Differential Revision: https://phabricator.services.mozilla.com/D235306
2025-01-23 17:59:00 +00:00
Mike Kaply
73f7a19f05 Bug 1932923 - Add support for setting parameters on search engines based on enterprise usage. r=Standard8 a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D233414
2025-01-23 17:58:27 +00:00
ffxbld
458b90fa8e No Bug, mozilla-esr128 repo-update HSTS HPKP remote-settings tld-suffixes - a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D235292
2025-01-23 17:58:26 +00:00