Граф коммитов

926941 Коммитов

Автор SHA1 Сообщение Дата
Kershaw Chang 0aa93e371f Bug 1876423 - Make SocketProcessParent thread-safe, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D217800
2024-08-07 09:43:30 +00:00
Kershaw Chang 0685bc4873 Bug 1910068 - Introduce origin-to-force-quic-on, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D217802
2024-08-07 09:42:52 +00:00
Emilio Cobos Álvarez e6fc1a88bb Bug 1911605 - Make decode() checks for "will we replace the current request" cheaper. r=smaug
No behavior change but this is cheaper and more straight-forward
(doesn't depend on the innards of PrepareNextRequest).

Differential Revision: https://phabricator.services.mozilla.com/D218543
2024-08-07 09:20:55 +00:00
Javier Fernández García-Boente 83c38a9417 Bug 1793429 - Make the deriveBits's length argument Nullable r=keeler,webidl,smaug
The PR#345 [1] of the WebCrypto API specification changed the type
of the deriveBits's length argument to become 'optional' and with
'null' as default value.

The affected WebCrypto algorithms (HKDF, PBKDF2, ECDH and X25519)
will be adapted to handle the case of a null length properly.

[1] https://github.com/w3c/webcrypto/pull/345

Differential Revision: https://phabricator.services.mozilla.com/D217532
2024-08-07 09:17:48 +00:00
Valentin Gosu 7c81dccec4 Bug 1911759 - Add triggeringPrincipal override to RequestInit r=necko-reviewers,webidl,smaug,kershaw
This allows code with Chrome priviledges to use the fetch API
to specify a triggering principal instead of needing to use
XMLHttpRequest.
The triggeringPrincipal is only used when the fetch principal
is already the systemPrincipal.

Differential Revision: https://phabricator.services.mozilla.com/D213418
2024-08-07 09:16:20 +00:00
Valentin Gosu b8bb90e3f2 Bug 1911759 - Implement (subset of) NEL spec r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D209820
2024-08-07 09:16:20 +00:00
Valentin Gosu 917b314a6c Bug 1911759 - Expose last status on nsIHttpChannelInternal r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D210145
2024-08-07 09:16:20 +00:00
Valentin Gosu 2c41ef3bf1 Bug 1911759 - Add nsIIOService.originAttributesForNetworkState r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D209819
2024-08-07 09:16:19 +00:00
Brendan Abolivier 71dea2f041 Bug 1911837 - Skip tests relying on browser components for Thunderbird. r=mtigley,rsafaeian,credential-management-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D218657
2024-08-07 08:51:57 +00:00
AndiAJ c4dd122bda Bug 1911973 - Update the test targets for the legacy UI task r=ohorvath
Some test targets weren't matching our actual UI tests.

This happened because of a mistake done while doing the "TestRail test matching" task in these PR's [[ https://github.com/mozilla-mobile/firefox-android/pull/4034 | #4034 ]] [[ https://github.com/mozilla-mobile/firefox-android/pull/3530 | #3530 ]] [[ https://github.com/mozilla-mobile/firefox-android/pull/3731 | #3731 ]]

Double checked and updated the targets from flank-arm-legacy-api-tests.yml and now everything should be up to date.

Differential Revision: https://phabricator.services.mozilla.com/D218714
2024-08-07 08:39:05 +00:00
Tom Schuster 36f10e25a8 Bug 1891792 - Remove inline popup event handlers in FullPageTranslationsPanel. r=translations-reviewers,nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D217930
2024-08-07 08:37:55 +00:00
Max Inden 2217e98397 Bug 1911792 - update neqo to v0.8.2 r=kershaw,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D218637
2024-08-07 08:32:09 +00:00
Mike Hommey ef3fe58632 Bug 1911047 - Silence TSan false positive in http3server. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D218711
2024-08-07 08:15:33 +00:00
Jan Varga 17cf1cbb27 Bug 1910848 - Rework QuotaManagerService methods for getting usage to use async messages with async responses; r=dom-storage-reviewers,jari
Sub actors are still created, but their only purpose is to allow cancellation
of alreaady created requests. Actual results are now returned as asynchronous
responses to the asynchronous messages.

Differential Revision: https://phabricator.services.mozilla.com/D194097
2024-08-07 07:53:16 +00:00
Jan Varga 9de14f6dca Bug 1910848 - Add testing for nsIQuotaUsageRequest.cancel(); r=dom-storage-reviewers,jari
Differential Revision: https://phabricator.services.mozilla.com/D194085
2024-08-07 07:53:16 +00:00
Jan Varga 103fa3cf0f Bug 1910848 - Add support for pausing QM IO thread after finishing directory work; r=dom-storage-reviewers,hsingh,asuth
Differential Revision: https://phabricator.services.mozilla.com/D194176
2024-08-07 07:53:15 +00:00
Jan Varga 52eedfef26 Bug 1910848 - Convert test_getUsage.js from using generator functions to using async functions instead; r=dom-storage-reviewers,hsingh,asuth
Differential Revision: https://phabricator.services.mozilla.com/D194082
2024-08-07 07:53:15 +00:00
Jan Varga 378f5dc3a7 Bug 1910848 - Add a test for nsIQuotaManagerService::GetUsageForPrincipal; r=hsingh
This test is needed for making sure that upcoming refactoring doesn't regress
getting origin usage, especially the cancelling of requests.

Differential Revision: https://phabricator.services.mozilla.com/D194073
2024-08-07 07:53:15 +00:00
Jan Varga 34e65f9481 Bug 1910848 - Make it possible to use ResolvableNormalOriginOp with move-only types; r=dom-storage-reviewers,jari
Differential Revision: https://phabricator.services.mozilla.com/D194070
2024-08-07 07:53:14 +00:00
Jan Varga 43721610fa Bug 1910848 - Make it easy to define new PromiseResolveOrRejectCallback based callbacks; r=dom-storage-reviewers,jari
It's now also possible to define callbacks for move-only types.

Differential Revision: https://phabricator.services.mozilla.com/D194064
2024-08-07 07:53:14 +00:00
Jan Varga 0fdaa464ac Bug 1910848 - Make it easy to define new ResponsePromiseResolveOrRejectCallback based types; r=dom-storage-reviewers,jari
Differential Revision: https://phabricator.services.mozilla.com/D194058
2024-08-07 07:53:13 +00:00
Jan Varga 87682b399e Bug 1910848 - Move BackgroundThreadObject to separate files; r=dom-storage-reviewers,jari
This will allow to include QuotaCommon.h in header files less often.

Differential Revision: https://phabricator.services.mozilla.com/D194056
2024-08-07 07:53:13 +00:00
Jan Varga d6b1701348 Bug 1910848 - Replace custom OriginUsage with a common OriginUsageMetadata struct; r=dom-storage-reviewers,jari
This is a prerequisite to make GetUsageOp independent from the actor.

Differential Revision: https://phabricator.services.mozilla.com/D194053
2024-08-07 07:53:13 +00:00
Jan Varga 4b2b6abbcb Bug 1910848 - Make PQuotaUsageRequest protocol refcounted; r=dom-storage-reviewers,jari
The class which implements the protocol is already refcounted, but the
interaction with IPC still uses manual deallocation.

Differential Revision: https://phabricator.services.mozilla.com/D194042
2024-08-07 07:53:12 +00:00
Jan Varga b5f5165387 Bug 1910848 - Pull out OriginOperationBase::mActorDestroyed to actor classes; r=dom-storage-reviewers,jari
OriginOperationBase is finally fully abstract.

Differential Revision: https://phabricator.services.mozilla.com/D194037
2024-08-07 07:53:12 +00:00
Jan Varga 09c98ba2e9 Bug 1910848 - Encapsulate NormalOriginOperationBase::mCanceled; r=dom-storage-reviewers,jari
Differential Revision: https://phabricator.services.mozilla.com/D194036
2024-08-07 07:53:11 +00:00
Jan Varga 2c3dabb0be Bug 1910848 - Align QuotaUsageRequestBase::SendResults and ResolvableNormalOriginOp::SendResults; r=dom-storage-reviewers,jari
ResolvableNormalOriginOp::SendResults currently doesn't check the mCanceled
flag despite that it inherits from NormalOriginOperationBase which allows
setting mCanceled to true.

Differential Revision: https://phabricator.services.mozilla.com/D194035
2024-08-07 07:53:11 +00:00
Jan Varga 074e65d8da Bug 1910848 - Pull out GetUsageForOrigin and GetUsageForOriginEntries methods from QuotaUsageRequestBase into a new base class; r=dom-storage-reviewers,jari
This is one of the things which are needed for making GetUsageOp and
GetOriginUsageOp independent from the actor. In practise, for changing the main
base class of the operations from QuotaUsageRequestBase to
ResolvableNormalOriginOp.

Differential Revision: https://phabricator.services.mozilla.com/D194011
2024-08-07 07:53:10 +00:00
Jan Varga a8a97973c3 Bug 1910848 - Pull out TraverseRepositoryHelper::GetIsCanceledFlag method into a new base class; r=dom-storage-reviewers,jari
Multiple helper classes will need to call this method.

Differential Revision: https://phabricator.services.mozilla.com/D194010
2024-08-07 07:53:10 +00:00
Nicolas Silva 66ad9230b3 Bug 1911538 - Avoid allocating a string in gecko_profiler::add_marker. r=profiler-reviewers,canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D218520
2024-08-07 07:33:57 +00:00
Norisz Fay ebaeeedc6c Backed out changeset bd37586e34ed (bug 1903977) for causing WR bustages CLOSED TREE 2024-08-07 10:37:22 +03:00
Nicolas Silva 8252cf3aa6 Bug 1903977 - Add a blob tile pool. r=gfx-reviewers,gw
The tile pool keeps a strong reference to all of its allocations and reuses them when their reference count gets down to one.
Jemalloc only uses thread-local arenas for small allocations (<496 bytes) so it does not matter what thread the blob tiles which are typically much larger, are deallocated in.

Differential Revision: https://phabricator.services.mozilla.com/D218547
2024-08-07 07:17:19 +00:00
AndiAJ b648944166 Bug 1807268 - Disable tabsCounterShortcutMenuNewTabFromNavbarTest UI test r=ohorvath
The UI test sometimes failed because of the HomeActivity ANR.
Let's disable it for the moment and see if we'll keep it after refactoring our suite to use the redesigned toolbar.

Differential Revision: https://phabricator.services.mozilla.com/D218712
2024-08-07 07:13:59 +00:00
Mozilla Releng Treescript 18baa52dee no bug - Bumping Mobile l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
ach -> 81ca948331ccb1966b268b297088bc1dccc256a5
an -> 81ca948331ccb1966b268b297088bc1dccc256a5
ar -> 81ca948331ccb1966b268b297088bc1dccc256a5
ast -> 81ca948331ccb1966b268b297088bc1dccc256a5
az -> 81ca948331ccb1966b268b297088bc1dccc256a5
be -> 81ca948331ccb1966b268b297088bc1dccc256a5
bg -> 81ca948331ccb1966b268b297088bc1dccc256a5
bn -> 81ca948331ccb1966b268b297088bc1dccc256a5
br -> 81ca948331ccb1966b268b297088bc1dccc256a5
bs -> 81ca948331ccb1966b268b297088bc1dccc256a5
ca -> 81ca948331ccb1966b268b297088bc1dccc256a5
cak -> 81ca948331ccb1966b268b297088bc1dccc256a5
cs -> 81ca948331ccb1966b268b297088bc1dccc256a5
cy -> 81ca948331ccb1966b268b297088bc1dccc256a5
da -> 81ca948331ccb1966b268b297088bc1dccc256a5
de -> 81ca948331ccb1966b268b297088bc1dccc256a5
dsb -> 81ca948331ccb1966b268b297088bc1dccc256a5
el -> 81ca948331ccb1966b268b297088bc1dccc256a5
en-CA -> 81ca948331ccb1966b268b297088bc1dccc256a5
en-GB -> 81ca948331ccb1966b268b297088bc1dccc256a5
eo -> 81ca948331ccb1966b268b297088bc1dccc256a5
es-AR -> 81ca948331ccb1966b268b297088bc1dccc256a5
es-CL -> 81ca948331ccb1966b268b297088bc1dccc256a5
es-ES -> 81ca948331ccb1966b268b297088bc1dccc256a5
es-MX -> 81ca948331ccb1966b268b297088bc1dccc256a5
et -> 81ca948331ccb1966b268b297088bc1dccc256a5
eu -> 81ca948331ccb1966b268b297088bc1dccc256a5
fa -> 81ca948331ccb1966b268b297088bc1dccc256a5
ff -> 81ca948331ccb1966b268b297088bc1dccc256a5
fi -> 81ca948331ccb1966b268b297088bc1dccc256a5
fr -> 81ca948331ccb1966b268b297088bc1dccc256a5
fy-NL -> 81ca948331ccb1966b268b297088bc1dccc256a5
ga-IE -> 81ca948331ccb1966b268b297088bc1dccc256a5
gd -> 81ca948331ccb1966b268b297088bc1dccc256a5
gl -> 81ca948331ccb1966b268b297088bc1dccc256a5
gn -> 81ca948331ccb1966b268b297088bc1dccc256a5
gu-IN -> 81ca948331ccb1966b268b297088bc1dccc256a5
he -> 81ca948331ccb1966b268b297088bc1dccc256a5
hi-IN -> 81ca948331ccb1966b268b297088bc1dccc256a5
hr -> 81ca948331ccb1966b268b297088bc1dccc256a5
hsb -> 81ca948331ccb1966b268b297088bc1dccc256a5
hu -> 81ca948331ccb1966b268b297088bc1dccc256a5
hy-AM -> 81ca948331ccb1966b268b297088bc1dccc256a5
ia -> 81ca948331ccb1966b268b297088bc1dccc256a5
id -> 81ca948331ccb1966b268b297088bc1dccc256a5
is -> 81ca948331ccb1966b268b297088bc1dccc256a5
it -> 81ca948331ccb1966b268b297088bc1dccc256a5
ja -> 81ca948331ccb1966b268b297088bc1dccc256a5
ka -> 81ca948331ccb1966b268b297088bc1dccc256a5
kab -> 81ca948331ccb1966b268b297088bc1dccc256a5
kk -> 81ca948331ccb1966b268b297088bc1dccc256a5
km -> 81ca948331ccb1966b268b297088bc1dccc256a5
kn -> 81ca948331ccb1966b268b297088bc1dccc256a5
ko -> 81ca948331ccb1966b268b297088bc1dccc256a5
lij -> 81ca948331ccb1966b268b297088bc1dccc256a5
lo -> 81ca948331ccb1966b268b297088bc1dccc256a5
lt -> 81ca948331ccb1966b268b297088bc1dccc256a5
ltg -> 81ca948331ccb1966b268b297088bc1dccc256a5
lv -> 81ca948331ccb1966b268b297088bc1dccc256a5
meh -> 81ca948331ccb1966b268b297088bc1dccc256a5
mix -> 81ca948331ccb1966b268b297088bc1dccc256a5
ml -> 81ca948331ccb1966b268b297088bc1dccc256a5
mr -> 81ca948331ccb1966b268b297088bc1dccc256a5
ms -> 81ca948331ccb1966b268b297088bc1dccc256a5
my -> 81ca948331ccb1966b268b297088bc1dccc256a5
nb-NO -> 81ca948331ccb1966b268b297088bc1dccc256a5
ne-NP -> 81ca948331ccb1966b268b297088bc1dccc256a5
nl -> 81ca948331ccb1966b268b297088bc1dccc256a5
nn-NO -> 81ca948331ccb1966b268b297088bc1dccc256a5
oc -> 81ca948331ccb1966b268b297088bc1dccc256a5
pa-IN -> 81ca948331ccb1966b268b297088bc1dccc256a5
pl -> 81ca948331ccb1966b268b297088bc1dccc256a5
pt-BR -> 81ca948331ccb1966b268b297088bc1dccc256a5
pt-PT -> 81ca948331ccb1966b268b297088bc1dccc256a5
rm -> 81ca948331ccb1966b268b297088bc1dccc256a5
ro -> 81ca948331ccb1966b268b297088bc1dccc256a5
ru -> 81ca948331ccb1966b268b297088bc1dccc256a5
sk -> 81ca948331ccb1966b268b297088bc1dccc256a5
sl -> 81ca948331ccb1966b268b297088bc1dccc256a5
son -> 81ca948331ccb1966b268b297088bc1dccc256a5
sq -> 81ca948331ccb1966b268b297088bc1dccc256a5
sr -> 81ca948331ccb1966b268b297088bc1dccc256a5
sv-SE -> 81ca948331ccb1966b268b297088bc1dccc256a5
ta -> 81ca948331ccb1966b268b297088bc1dccc256a5
te -> 81ca948331ccb1966b268b297088bc1dccc256a5
th -> 81ca948331ccb1966b268b297088bc1dccc256a5
tl -> 81ca948331ccb1966b268b297088bc1dccc256a5
tr -> 81ca948331ccb1966b268b297088bc1dccc256a5
trs -> 81ca948331ccb1966b268b297088bc1dccc256a5
uk -> 81ca948331ccb1966b268b297088bc1dccc256a5
ur -> 81ca948331ccb1966b268b297088bc1dccc256a5
uz -> 81ca948331ccb1966b268b297088bc1dccc256a5
vi -> 81ca948331ccb1966b268b297088bc1dccc256a5
wo -> 81ca948331ccb1966b268b297088bc1dccc256a5
xh -> 81ca948331ccb1966b268b297088bc1dccc256a5
zam -> 81ca948331ccb1966b268b297088bc1dccc256a5
zh-CN -> 81ca948331ccb1966b268b297088bc1dccc256a5
zh-TW -> 81ca948331ccb1966b268b297088bc1dccc256a5
2024-08-07 07:03:17 +00:00
Mozilla Releng Treescript 9817a20d62 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
ach -> 81ca948331ccb1966b268b297088bc1dccc256a5
af -> 81ca948331ccb1966b268b297088bc1dccc256a5
an -> 81ca948331ccb1966b268b297088bc1dccc256a5
ar -> 81ca948331ccb1966b268b297088bc1dccc256a5
ast -> 81ca948331ccb1966b268b297088bc1dccc256a5
az -> 81ca948331ccb1966b268b297088bc1dccc256a5
be -> 81ca948331ccb1966b268b297088bc1dccc256a5
bg -> 81ca948331ccb1966b268b297088bc1dccc256a5
bn -> 81ca948331ccb1966b268b297088bc1dccc256a5
bo -> 81ca948331ccb1966b268b297088bc1dccc256a5
br -> 81ca948331ccb1966b268b297088bc1dccc256a5
brx -> 81ca948331ccb1966b268b297088bc1dccc256a5
bs -> 81ca948331ccb1966b268b297088bc1dccc256a5
ca -> 81ca948331ccb1966b268b297088bc1dccc256a5
ca-valencia -> 81ca948331ccb1966b268b297088bc1dccc256a5
cak -> 81ca948331ccb1966b268b297088bc1dccc256a5
ckb -> 81ca948331ccb1966b268b297088bc1dccc256a5
cs -> 81ca948331ccb1966b268b297088bc1dccc256a5
cy -> 81ca948331ccb1966b268b297088bc1dccc256a5
da -> 81ca948331ccb1966b268b297088bc1dccc256a5
de -> 81ca948331ccb1966b268b297088bc1dccc256a5
dsb -> 81ca948331ccb1966b268b297088bc1dccc256a5
el -> 81ca948331ccb1966b268b297088bc1dccc256a5
en-CA -> 81ca948331ccb1966b268b297088bc1dccc256a5
en-GB -> 81ca948331ccb1966b268b297088bc1dccc256a5
eo -> 81ca948331ccb1966b268b297088bc1dccc256a5
es-AR -> 81ca948331ccb1966b268b297088bc1dccc256a5
es-CL -> 81ca948331ccb1966b268b297088bc1dccc256a5
es-ES -> 81ca948331ccb1966b268b297088bc1dccc256a5
es-MX -> 81ca948331ccb1966b268b297088bc1dccc256a5
et -> 81ca948331ccb1966b268b297088bc1dccc256a5
eu -> 81ca948331ccb1966b268b297088bc1dccc256a5
fa -> 81ca948331ccb1966b268b297088bc1dccc256a5
ff -> 81ca948331ccb1966b268b297088bc1dccc256a5
fi -> 81ca948331ccb1966b268b297088bc1dccc256a5
fr -> 81ca948331ccb1966b268b297088bc1dccc256a5
fur -> 81ca948331ccb1966b268b297088bc1dccc256a5
fy-NL -> 81ca948331ccb1966b268b297088bc1dccc256a5
ga-IE -> 81ca948331ccb1966b268b297088bc1dccc256a5
gd -> 81ca948331ccb1966b268b297088bc1dccc256a5
gl -> 81ca948331ccb1966b268b297088bc1dccc256a5
gn -> 81ca948331ccb1966b268b297088bc1dccc256a5
gu-IN -> 81ca948331ccb1966b268b297088bc1dccc256a5
he -> 81ca948331ccb1966b268b297088bc1dccc256a5
hi-IN -> 81ca948331ccb1966b268b297088bc1dccc256a5
hr -> 81ca948331ccb1966b268b297088bc1dccc256a5
hsb -> 81ca948331ccb1966b268b297088bc1dccc256a5
hu -> 81ca948331ccb1966b268b297088bc1dccc256a5
hy-AM -> 81ca948331ccb1966b268b297088bc1dccc256a5
hye -> 81ca948331ccb1966b268b297088bc1dccc256a5
ia -> 81ca948331ccb1966b268b297088bc1dccc256a5
id -> 81ca948331ccb1966b268b297088bc1dccc256a5
is -> 81ca948331ccb1966b268b297088bc1dccc256a5
it -> 81ca948331ccb1966b268b297088bc1dccc256a5
ja -> 81ca948331ccb1966b268b297088bc1dccc256a5
ja-JP-mac -> 81ca948331ccb1966b268b297088bc1dccc256a5
ka -> 81ca948331ccb1966b268b297088bc1dccc256a5
kab -> 81ca948331ccb1966b268b297088bc1dccc256a5
kk -> 81ca948331ccb1966b268b297088bc1dccc256a5
km -> 81ca948331ccb1966b268b297088bc1dccc256a5
kn -> 81ca948331ccb1966b268b297088bc1dccc256a5
ko -> 81ca948331ccb1966b268b297088bc1dccc256a5
lij -> 81ca948331ccb1966b268b297088bc1dccc256a5
lo -> 81ca948331ccb1966b268b297088bc1dccc256a5
lt -> 81ca948331ccb1966b268b297088bc1dccc256a5
ltg -> 81ca948331ccb1966b268b297088bc1dccc256a5
lv -> 81ca948331ccb1966b268b297088bc1dccc256a5
meh -> 81ca948331ccb1966b268b297088bc1dccc256a5
mk -> 81ca948331ccb1966b268b297088bc1dccc256a5
mr -> 81ca948331ccb1966b268b297088bc1dccc256a5
ms -> 81ca948331ccb1966b268b297088bc1dccc256a5
my -> 81ca948331ccb1966b268b297088bc1dccc256a5
nb-NO -> 81ca948331ccb1966b268b297088bc1dccc256a5
ne-NP -> 81ca948331ccb1966b268b297088bc1dccc256a5
nl -> 81ca948331ccb1966b268b297088bc1dccc256a5
nn-NO -> 81ca948331ccb1966b268b297088bc1dccc256a5
oc -> 81ca948331ccb1966b268b297088bc1dccc256a5
pa-IN -> 81ca948331ccb1966b268b297088bc1dccc256a5
pl -> 81ca948331ccb1966b268b297088bc1dccc256a5
pt-BR -> 81ca948331ccb1966b268b297088bc1dccc256a5
pt-PT -> 81ca948331ccb1966b268b297088bc1dccc256a5
rm -> 81ca948331ccb1966b268b297088bc1dccc256a5
ro -> 81ca948331ccb1966b268b297088bc1dccc256a5
ru -> 81ca948331ccb1966b268b297088bc1dccc256a5
sat -> 81ca948331ccb1966b268b297088bc1dccc256a5
sc -> 81ca948331ccb1966b268b297088bc1dccc256a5
scn -> 81ca948331ccb1966b268b297088bc1dccc256a5
sco -> 81ca948331ccb1966b268b297088bc1dccc256a5
si -> 81ca948331ccb1966b268b297088bc1dccc256a5
sk -> 81ca948331ccb1966b268b297088bc1dccc256a5
skr -> 81ca948331ccb1966b268b297088bc1dccc256a5
sl -> 81ca948331ccb1966b268b297088bc1dccc256a5
son -> 81ca948331ccb1966b268b297088bc1dccc256a5
sq -> 81ca948331ccb1966b268b297088bc1dccc256a5
sr -> 81ca948331ccb1966b268b297088bc1dccc256a5
sv-SE -> 81ca948331ccb1966b268b297088bc1dccc256a5
szl -> 81ca948331ccb1966b268b297088bc1dccc256a5
ta -> 81ca948331ccb1966b268b297088bc1dccc256a5
te -> 81ca948331ccb1966b268b297088bc1dccc256a5
tg -> 81ca948331ccb1966b268b297088bc1dccc256a5
th -> 81ca948331ccb1966b268b297088bc1dccc256a5
tl -> 81ca948331ccb1966b268b297088bc1dccc256a5
tr -> 81ca948331ccb1966b268b297088bc1dccc256a5
trs -> 81ca948331ccb1966b268b297088bc1dccc256a5
uk -> 81ca948331ccb1966b268b297088bc1dccc256a5
ur -> 81ca948331ccb1966b268b297088bc1dccc256a5
uz -> 81ca948331ccb1966b268b297088bc1dccc256a5
vi -> 81ca948331ccb1966b268b297088bc1dccc256a5
wo -> 81ca948331ccb1966b268b297088bc1dccc256a5
xh -> 81ca948331ccb1966b268b297088bc1dccc256a5
zh-CN -> 81ca948331ccb1966b268b297088bc1dccc256a5
zh-TW -> 81ca948331ccb1966b268b297088bc1dccc256a5
2024-08-07 07:03:10 +00:00
Mugurell 58beb47649 Bug 1908620 - Hide all toolbars when find in page is active r=android-reviewers,skhan
When the find in page bar is active:
- all toolbars, no matter their configuration will be hidden
- the engine view will expand to cover all screen minus the find in page bar

When the find in page bar is closed:
- the toolbars are restored - they will be shown as before find in page
- the engine view will be restored to the configuration from before find in page

Differential Revision: https://phabricator.services.mozilla.com/D217742
2024-08-07 06:16:12 +00:00
Frédéric Wang 8ca8f43fc4 Bug 1908069 - Add border/padding/margin support to msqrt, mroot and menclose. r=emilio
See D216670 for the general approach taken.

Differential Revision: https://phabricator.services.mozilla.com/D216980
2024-08-07 06:00:45 +00:00
Frédéric Wang 0483682329 Bug 1908069 - Add border/padding/margin support to scripted elements. r=emilio
See D216670 for the general approach taken.

Differential Revision: https://phabricator.services.mozilla.com/D216924
2024-08-07 06:00:45 +00:00
Frédéric Wang 8956b160de Bug 1908069 - Add border/padding/margin support to MathML token elements. r=emilio
See D216670 for the general approach taken.

Differential Revision: https://phabricator.services.mozilla.com/D216855
2024-08-07 06:00:44 +00:00
Frédéric Wang f508d43e1d Bug 1908069 - Add border/padding/margin support to mrow-like elements. r=emilio
See D216670 for the general approach taken.

This also fixes nsMathMLContainerFrame::UpdateIntrinsicISize which is
in particular used by nsMathMLmathBlockFrame and
nsMathMLmathInlineFrame when calculating intrinsic size of the <math>
tag and aligns merror's UA style on MathML Core at
https://w3c.github.io/mathml-core/#user-agent-stylesheet.

Differential Revision: https://phabricator.services.mozilla.com/D216686
2024-08-07 06:00:44 +00:00
Frédéric Wang 44c741bd28 Bug 1908069 - Add border/padding/margin support to <mfrac>. r=emilio
This is the first patch of the series that actually take
border/padding/margin into account for MathML layout. One subtility is
that Gecko distinguishes the ink nsBoundingMetrics box and the
ReflowOutput box for accurate positioning of math components contrary
to the current version of MathML Core [1].

For MathML Core and the WPT tests, it is assumed that border/padding are
used to inflate the content box [2] [3] and it does not really matter
whether we inflate the ink bounding box, or simply adjust its offsets
inside the normal bounding box. We choose the former and introduce a
helper function InflateReflowAndBoundingMetrics for that purpose, which
will be reused in follow-up patches. After inflating these boxes, the
offsets of children and painted items must also be adjusted by the
left/top border+padding.

Regarding margins, MathML Core says that we should use "margin boxes"
and WPT tests simply check that the layout of MathML constructions
containing mspace elements with margins is not changed if we move
these margins inside the mspace's width/height/depth attributes. To
pass these tests, we similarly need to inflate both the ink and
non-ink bounding boxes by the margin.

However, the margins can be negative possibly leading to negative
dimensions of "margin boxes". To make the code more generic, we
simplify adjust all usages of the children's nsBoundingMetrics and
ReflowOutput to include these margins. When calling FinishReflowChild
at the end, the offsets of children must be adjusted by these margins.

This patch also reimplements the extra one-pixel padding around a
fraction using rules from MathML Core's UA stylesheet at
https://w3c.github.io/mathml-core/#user-agent-stylesheet

[1] https://github.com/w3c/mathml-core/issues/78
[2] 27c8d234ee/mathml/relations/css-styling/padding-border-margin/border-002.html (L25)
[4] 27c8d234ee/mathml/relations/css-styling/padding-border-margin/padding-002.html (L26)
[3] 27c8d234ee/mathml/relations/css-styling/padding-border-margin/margin-003.html (L50)

Differential Revision: https://phabricator.services.mozilla.com/D216670
2024-08-07 06:00:44 +00:00
Frédéric Wang a395718820 Bug 1908069 - Extend and tweak MathML padding/border/margin tests. r=emilio
This patch adds reftests to verify how padding/border/margin values on
an msqrt, mroot and mfrac elements affect the offsets of their painted
bars and radicals.

In addition, it includes a couple of tweaks:

* padding-border-margin-003.html: Wrap the stretchy op in an mrow to
  work around Firefox's bug 236963.

* margin-003.html: Use backstick characters for template literals.

* border-002, padding-002, margin-003.html: These tests rely on
  compareSpaceWithAndWithoutStyle. Use `<math display="block">` to work
  around Firefox's bug 1908913. To get more reliable sizes, force empty
  mrow and token elements to contain some text and use ahem fonts. Use
  mtext instead of mi so they are not transformed to unicode italic.
  Finally, relax a bit the error tolerance.

* mo-lspace-rspace-4: To make the test more reliable, use ahem fonts.

Differential Revision: https://phabricator.services.mozilla.com/D216684
2024-08-07 06:00:43 +00:00
Frédéric Wang bcc3be9085 Bug 1908069 - Introduce PlaceFlags parameter to MathML layout methods. r=emilio
MathML classes has a few Place*() methods  used for layout and intrinsic
size calculation. These methods have a parameter "aPlaceOrigin"
indicating whether the children and other painted objects should have
their final positions set, or if the method is only called for measuring.
This parameter is typically set to false when doing intrinsic size
calculation or when performing some non-final measurement for operator
stretching.

For intrinsic size calculation, it is generally enough to perform
placement with aPlaceOrigin=false and ignoring the vertical metrics.
Some Place*() methods also have a parameter "aWidthOnly" for special
handling. For example, msqrt stretches a radical symbol vertically to
match the height of the content but when doing intrinsic size
calculation this is approximated to nsMathMLChar::GetMaxWidth() instead.
When we implement border/padding/margin we should also be able to
choose between using IntrinsicISizeOffsets() or GetUsed*() methods.

Finally, some Place*() methods initially call a place routing of a
parent class before further tweaking the layout. For example, msqrt
uses mrow layout on children and adds some radical symbol on top of
them. When we implement border/padding, we should make sure we don't
add the border/padding before the final result.

In order to handle all these placement behaviors, a new EnumSet is
introduced. This commit does not change behavior. Handling of padding,
border and margin will be handled in follow-up patches.

Differential Revision: https://phabricator.services.mozilla.com/D216669
2024-08-07 06:00:43 +00:00
c8ef 7a1a9c40a3 Bug 1911403 - fix typo in source code -> r=nalexander,profiler-reviewers,jandem,masayuki,canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D218474
2024-08-07 05:35:02 +00:00
Norisz Fay e0d9d31d41 Backed out changeset 0d53cc2130df (bug 1901769) for causing bc failure on browser_navigator_clipboard_clickjacking.js CLOSED TREE 2024-08-07 09:17:31 +03:00
Lee Salzman 4e34359960 Bug 1909796 - Allow clip paths larger than int32. r=aosmond
The isEmpty check against path bounds would inadvertently fails because it checks
if the width/height would fit in an int32. However, since the bounds will be intersected
with a further clip rectangle that is already validated, this check is superfluous and
can filter out some valid clip paths. Replacing this check with isEmpty64, which doesn't
do the final limit check resolves this issue.

Differential Revision: https://phabricator.services.mozilla.com/D218706
2024-08-07 04:42:48 +00:00
Daniel Minor 891d104826 Bug 1896390 - Add getter for Iterator.constructor to eager-ecma-allowlist.js; r=nchevobbe,devtools-reviewers,arai
Differential Revision: https://phabricator.services.mozilla.com/D218124
2024-08-07 03:47:53 +00:00
Daniel Minor 085595ab3a Bug 1896390 - Ship iterator helpers; r=mgaudet,webidl,emilio
Differential Revision: https://phabricator.services.mozilla.com/D217744
2024-08-07 03:47:53 +00:00
Tomislav Jovanovic 71e68d7c0d Bug 1911476 - Fix nsIScriptError initialization r=geckoview-reviewers,emilio,m_kato
This was regressed/missed in bug 1910698, cought by ts check in
extensions code, and I also fixed a couple other places.

Differential Revision: https://phabricator.services.mozilla.com/D218504
2024-08-07 02:01:58 +00:00
Tomislav Jovanovic c180df69cb Bug 1911476 - Enable basic IDE types support in toolkit/ and browser/ r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D218503
2024-08-07 02:01:58 +00:00