Commit Graph

876298 Commits

Author SHA1 Message Date
Natalia Csoregi
b2d1ea1805 Backed out 5 changesets (bug 1884319, bug 1884325, bug 1884327, bug 1884321, bug 1884320) for causing linting failures. CLOSED TREE
Backed out changeset 8d3c7cdde934 (bug 1884327)
Backed out changeset 94eb43d52775 (bug 1884325)
Backed out changeset 3bc46d60be63 (bug 1884321)
Backed out changeset 092aaec7347a (bug 1884320)
Backed out changeset 2c5461b6268d (bug 1884319)
2024-03-11 10:37:15 +02:00
Natalia Csoregi
b30c2bc032 Backed out changeset 55d4631b4b19 (bug 1884392) for causing spidermonkey bustages. CLOSED TREE 2024-03-11 10:32:11 +02:00
Masayuki Nakano
900d40dd31 Bug 1883562 - part 2: Make EditorBase::DeleteRangesWithTransaction and the fallback path of AutoDeleteRangesHandler work with single range r=m_kato
Although from the maintenance cost point of view, we should not duplicate
`EditorBase::DeleteRangesWithTransaction`, but let's add a wrapper for it
for making the callers simpler.

Differential Revision: https://phabricator.services.mozilla.com/D203854
2024-03-11 08:01:51 +00:00
Masayuki Nakano
4099ab71e0 Bug 1883562 - part 1: Make AutoBlockElementsJoiner work with one range r=m_kato
It and its helper class, `AutoInclusiveAncestorBlockElementsJoiner` work with
multiple ranges, but they handle special cases only with the first range.
That means that deleting content will be different if same structure is selected
with multiple ranges and that must be not expected by the users.

Differential Revision: https://phabricator.services.mozilla.com/D203853
2024-03-11 08:01:50 +00:00
Gabriele Svelto
04c1dc8ebd Bug 1870823 - Fix remaining linting issues r=gerard-majax
Differential Revision: https://phabricator.services.mozilla.com/D196839
2024-03-11 07:45:10 +00:00
Gabriele Svelto
ea27494566 Bug 1870823 - Add product name, version, release channel and build id to the symbol files r=gerard-majax
Differential Revision: https://phabricator.services.mozilla.com/D196838
2024-03-11 07:45:09 +00:00
serge-sans-paille
416f019769 Bug 1883858 - Remove configure checks that no longer make sense r=glandium
AC_C_CONST is officially useless, see https://www.gnu.org/software/autoconf/manual/autoconf-2.60/html_node/C-Compiler.html
AC_TYPE_SIZE_T is probably as useless, size_t is a standard type in C99 (from stddef.h)
AC_EXEEXT sets EXEEXT which is never used (and the internal ac_cv_exeext which is not used either)
MISSING_X is never referenced

Differential Revision: https://phabricator.services.mozilla.com/D203732
2024-03-11 07:45:03 +00:00
serge-sans-paille
e91a5b1294 Bug 1884327 - faster perfect hash r=ahochheiden
While we're at it, also remove the `six` layer, which slightly impacts
some callers.

Depends on D204009

Differential Revision: https://phabricator.services.mozilla.com/D204010
2024-03-11 07:42:02 +00:00
serge-sans-paille
66a10622d6 Bug 1884325 - Remove six layer in dom/bindings r=ahochheiden
Depends on D204008

Differential Revision: https://phabricator.services.mozilla.com/D204009
2024-03-11 07:42:01 +00:00
serge-sans-paille
d057b3a027 Bug 1884321 - faster webildl.py: faster filename access r=ahochheiden
Depends on D204007

Differential Revision: https://phabricator.services.mozilla.com/D204008
2024-03-11 07:42:01 +00:00
serge-sans-paille
3a9dfa192f Bug 1884320 - faster webildl.py: faster enum type r=ahochheiden
Current implementation relies on __getattr__ which is relatively slow
(this method gets called upon failed attribute lookup) while we could
use a straight-forward implementation that keeps the same nice
properties.

Depends on D204006

Differential Revision: https://phabricator.services.mozilla.com/D204007
2024-03-11 07:42:01 +00:00
serge-sans-paille
7c5bf9f474 Bug 1884319 - faster webildl.py: faster indent r=ahochheiden
To no surprise, `re.sub` is overkill here.

Differential Revision: https://phabricator.services.mozilla.com/D204006
2024-03-11 07:42:00 +00:00
serge-sans-paille
2aabb9b681 Bug 1884392 - Remove six dependency from RunCbindgen.py r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D204050
2024-03-11 07:41:24 +00:00
Natalia Csoregi
2cb7fdd031 Backed out changeset 18dde41563b1 (bug 1882818) for causing Bug 1884613. CLOSED TREE 2024-03-11 09:45:35 +02:00
kycn
8c82adbd7f Bug 1883220 - Add SHIP (session history in parent) variant for gv-junit test suite. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D203782
2024-03-11 07:21:45 +00:00
Mozilla Releng Treescript
9989571d72 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
es-AR -> b78fcea612a5238597bf79bbe384303b000bdf09
es-ES -> 4d5aa891eb23ff7dce56edf582cccda615b1d323
fur -> 1976d965fe702dd8bf199855922e9b05fc86bf4d
pl -> e2f630ac31982521f4e0f2a76b17705611bcdfea
ro -> 014649510be0915aa21e83e96bf30fce92c9b547
tr -> 541cb626f1c8eeb9ddf87f473de456b28a02cae7
2024-03-11 07:03:32 +00:00
Zach Hoffman
ab5c06ed01 Bug 1877383 - Preserve computed registered custom property types. r=firefox-style-system-reviewers,emilio
Add a TODO for bug 1883255, since D203361 fixes bug 1870348.

Add a TODO for bug 1884606, since WPTs for interpolating custom
properties with syntax `<transform-function>` and with value `none` now
fail.

Differential Revision: https://phabricator.services.mozilla.com/D203361
2024-03-11 05:50:18 +00:00
Zach Hoffman
66a5a47ab6 Bug 1864736 - Use ComputedRegisteredValue for custom property maps. r=firefox-style-system-reviewers,emilio
Unparsed custom properties are the
ComputedRegisteredValueInner::Universal variant.

Although the inner value is the ComputedRegisteredValueInner type,
custom property maps hold only the
ComputedRegisteredValueInner::Universal variant to keep behavior
unchanged for now.

D203360 also removes Arc<> from the CustomPropertiesMap value.

Differential Revision: https://phabricator.services.mozilla.com/D203360
2024-03-11 05:50:17 +00:00
Zach Hoffman
99116998a4 Bug 1864736 - Eliminate redundant URL data. r=zsun
Now that registered custom property values contain URL data, URL data is
eliminated as an argument in some places, and the ComputedValue.url_data
field is removed.

Differential Revision: https://phabricator.services.mozilla.com/D203359
2024-03-11 05:50:17 +00:00
Zach Hoffman
b027e2c241 Bug 1864736 - Add URL data to registered custom property struct. r=zsun
The URL data is necessary to uncompute the value for animation. This was
handled previously by adding the URL data to CustomAnimatedValue.
However, now that a registered custom property is passed to
CustomAnimatedValue::from_computed instead of a VariableValue, that
registered custom property should include URL data.

Differential Revision: https://phabricator.services.mozilla.com/D203358
2024-03-11 05:50:17 +00:00
Zach Hoffman
f2057a8210 Bug 1864736 - Rustfmt sources changed in bug 1864736. r=firefox-style-system-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D203357
2024-03-11 05:50:16 +00:00
Cristian Tuns
e4866809a2 Backed out 5 changesets (bug 1864736, bug 1877383) for causing build bustages with is_parsed CLOSED TREE
Backed out changeset 230e45fd2ece (bug 1877383)
Backed out changeset 3f19bcf6a34f (bug 1864736)
Backed out changeset cc6c51d8d712 (bug 1864736)
Backed out changeset eefa88f79557 (bug 1864736)
Backed out changeset 7cddfe0bce3a (bug 1864736)
2024-03-11 01:11:17 -04:00
Zach Hoffman
45d3aedb0d Bug 1877383 - Preserve computed registered custom property types. r=firefox-style-system-reviewers,emilio
Add a TODO for bug 1883255, since D203361 fixes bug 1870348.

Add a TODO for bug 1884606, since WPTs for interpolating custom
properties with syntax `<transform-function>` and with value `none` now
fail.

Differential Revision: https://phabricator.services.mozilla.com/D203361
2024-03-11 04:51:35 +00:00
Zach Hoffman
7dc40b169a Bug 1864736 - Use ComputedRegisteredValue for custom property maps. r=firefox-style-system-reviewers,emilio
Unparsed custom properties are the
ComputedRegisteredValueInner::Universal variant.

Although the inner value is the ComputedRegisteredValueInner type,
custom property maps hold only the
ComputedRegisteredValueInner::Universal variant to keep behavior
unchanged for now.

D203360 also removes Arc<> from the CustomPropertiesMap value.

Differential Revision: https://phabricator.services.mozilla.com/D203360
2024-03-11 04:51:34 +00:00
Zach Hoffman
3e2b37473e Bug 1864736 - Eliminate redundant URL data. r=zsun
Now that registered custom property values contain URL data, URL data is
eliminated as an argument in some places, and the ComputedValue.url_data
field is removed.

Differential Revision: https://phabricator.services.mozilla.com/D203359
2024-03-11 04:51:34 +00:00
Zach Hoffman
26f684248e Bug 1864736 - Add URL data to registered custom property struct. r=zsun
The URL data is necessary to uncompute the value for animation. This was
handled previously by adding the URL data to CustomAnimatedValue.
However, now that a registered custom property is passed to
CustomAnimatedValue::from_computed instead of a VariableValue, that
registered custom property should include URL data.

Differential Revision: https://phabricator.services.mozilla.com/D203358
2024-03-11 04:51:34 +00:00
Zach Hoffman
7558103d38 Bug 1864736 - Rustfmt sources changed in bug 1864736. r=firefox-style-system-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D203357
2024-03-11 04:51:33 +00:00
Makoto Kato
a3d5a112dd Bug 1847701 - Accept-language format should be language-region format like Dekstop and Chrome/Android. r=geckoview-reviewers,necko-reviewers,platform-i18n-reviewers,valentin
As spec (RFC 7231), accept-language can accept language tag (BCP 47).

Currently, Firefox Android uses `Locale.toLanguageTag` API. But it may
append variant and extensions etc.

But Chrome/Android and desktop browser use <language>-<region> format for
this header, so we should use same format for compatibility.

Differential Revision: https://phabricator.services.mozilla.com/D203121
2024-03-11 02:46:19 +00:00
sunil mayya
1a9a659014 Bug 1883391 - add telemetry to collect delta between OnDataFinished and OnStopRequest in CSSLoader. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D203945
2024-03-10 19:03:13 +00:00
Mozilla Releng Treescript
1c941a3509 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
eo -> 0703bd4dc6605ebc478e0b5d60196ac82a6481db
is -> ed40eeffd08b16534acf0d5213c0eb866aa18a08
ja -> fc85259a7e8f5e53ebda328267f3b91693acf6aa
ja-JP-mac -> 2b68173e13fea3c5bfb33940fdb46972c5ab9a22
sk -> b1d9ff43cf15a951b69a1371544fea05480be4b3
tr -> 2ca41221706975fca651734153ecdca52c999be8
uk -> 9b05529e47fa161da593d310d8612a73b124b37d
2024-03-10 19:03:30 +00:00
Cristian Tuns
b60cb73160 Backed out changeset 19762bd6f793 (bug 1883391) for causing build bustages in StreamLoader.cpp CLOSED TREE 2024-03-10 14:05:10 -04:00
sunil mayya
800616a182 Bug 1883391 - add telemetry to collect delta between OnDataFinished and OnStopRequest in CSSLoader. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D203945
2024-03-10 17:20:44 +00:00
sunil mayya
655607212f Bug 1864817 - implement OnDataFinished for CSSLoader. r=jesup,necko-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D189403
2024-03-10 14:12:04 +00:00
Joel Maher
6bb4a62c85 Bug 1868690 - add --no-use-pep517 and remove two_pass from mozbase. r=releng-reviewers,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D201231
2024-03-10 13:56:35 +00:00
Valentin Gosu
34b7da2258 Bug 1883626 - Avoid race between HttpChannelParent::Delete and HttpChannelParent::SendRedirectFailed r=necko-reviewers,kershaw
When HttpChannelParent::OnRedirectResult is called with an error code,
CompleteRedirect would end up calling SendRedirectFailed, then soon after
we'd call redirectChannel->Delete()

RecvRedirectFailed() then calls mRedirectChannelChild->Cancel() which races
against the Delete called by the main proces.

Differential Revision: https://phabricator.services.mozilla.com/D203601
2024-03-10 09:41:49 +00:00
Mozilla Releng Treescript
a379682ede no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
da -> a7efb19f09da188d1dd40b7ea32c35cfc7558cff
de -> 3b87373324928a82466baa406162476ea5f90d42
dsb -> ad7805f6ba6d4f7c321fa345c4e347e5967dc8b7
ia -> 77d434d098092f38a91a7d6ab84fe7b8180dee02
nb-NO -> 1b2a87998064d72ecf5728c39e421b76f39f1cf8
pt-PT -> 21cae5315562557f51bda5fd56b3428aa52a6bd5
sv-SE -> e63931a5631be2fa1d4a4253df3541fdfa3000cb
tr -> 75437d27bbadea212d940a6d7c7fd1d91e3ec444
2024-03-10 07:02:14 +00:00
Markus Stange
88398f1e16 Bug 1883522 - When running with MOZ_USE_PERFORMANCE_MARKER_FILE=1, mmap the marker file to help out perf + simpleperf + samply. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D203536
2024-03-09 23:04:01 +00:00
Issam Mani
c6cb32e0b1 Bug 1884440 - Stringify json payload and rename telemetry event field. r=sgalich
Differential Revision: https://phabricator.services.mozilla.com/D204093
2024-03-09 20:57:06 +00:00
Mozilla Releng Treescript
e73ecc33ea no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
be -> 1f349ae8edbb4470157fd4773da538d67a85af2a
da -> 0e782d218f6d87fb0a398afc00dfeed874a2d43b
de -> 26c4c85a03cd07dd550e9562f73c4a599956cd6f
el -> 96f11733bfbf4b243962a3e02c36bf2e8739d609
fi -> cc64153528560bb3f90c772a3be459b045a70d32
he -> 34cd41d090d6000ba5cd084f07c878a5acf93c73
hsb -> cd2c094b04a6e32f2cbd0e3c1e51f28a7ccef767
it -> c08889765d4f4552440b1137de60fd8aceb7abfc
pa-IN -> fc0a99f3cb10239b8b75b9e780bf1e592159a78f
sv-SE -> 2da7cf38c20b22d1e4bc25a919628f913074759a
zh-CN -> dfe27e8f973c79a55b4867722fd6ae3f5029bc98
zh-TW -> e80e1659707222d3130aa3f0a79dda9c13b2a029
2024-03-09 18:59:26 +00:00
Kelly Cochrane
ec892767dc Bug 1884322 - Only toggle mute/unmute tabs in Fx View with Enter/Space keys if using keyboard navigation r=fxview-reviewers,jsudiaman
Differential Revision: https://phabricator.services.mozilla.com/D204042
2024-03-09 17:14:17 +00:00
Martin Robinson
31ff1d38e5 Bug 1884403 - WebRender should only depend on glean when building for Gecko r=jrmuizel
Make glean an optional dependency that is only enabled when building
WebRender for Gecko.

Differential Revision: https://phabricator.services.mozilla.com/D204059
2024-03-09 15:30:27 +00:00
Marco Bonardo
f76fe359ca Bug 1882815 - Enable cross-container Tab Search for Release. r=jteow
Differential Revision: https://phabricator.services.mozilla.com/D203731
2024-03-09 12:05:45 +00:00
Marco Bonardo
c7f9c988cd Bug 1883845 - Switch to tab entries in Top Sites (zero prefix) don't support cross container search. r=jteow
Differential Revision: https://phabricator.services.mozilla.com/D203730
2024-03-09 12:05:44 +00:00
Jan-Niklas Jaeschke
aa9f0ab239 Bug 1881695: Implemented a new Cache to store the index of a node in a parent. r=smaug
This new cache implementation keeps the last N node/index combos in a stack-allocated array, which will be queried before calling nsINode::ComputeIndexOf().

Differential Revision: https://phabricator.services.mozilla.com/D203900
2024-03-09 11:13:55 +00:00
Dale Harvey
4a22f9ee86 Bug 1781972 - Defer loading QuickActions until they are first queries. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D203901
2024-03-09 10:38:13 +00:00
Jan de Mooij
ec1d145ff7 Bug 1884368 - Remove GetPcScript and PcScriptCache. r=iain
We no longer call `GetPcScript` or `cx->currentScript()` on hot paths so we
can now try to use `FrameIter` instead. This lets us remove the custom frame iteration
code and the fixed-size cache for it.

Differential Revision: https://phabricator.services.mozilla.com/D204035
2024-03-09 07:18:24 +00:00
Jan de Mooij
d5fb343391 Bug 1871947 - Add test. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D197604
2024-03-09 07:07:19 +00:00
Jan de Mooij
1f75ae1cc0 Bug 1871089 - Add test and comments. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D197609
2024-03-09 07:06:03 +00:00
Mozilla Releng Treescript
a3b85d9bed no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
ar -> d56d7c7d8d152dba0ad37bd64409de8b10cf047e
be -> d3eeb7626701ac52c85aa9c2a9fdbe19d5cea383
br -> de4ee0d4cce6abdb6c956ad1111c899b4ae04532
ca -> af77f39dc801618332b7144bf6961ad20cdad902
cs -> da6fd553465ee18382f3cc75c21cc3d1c548158a
cy -> 59ba79d5f08da0b51c36c862e2ebeda3127202c1
da -> cd5470ba35ad1754d6aabdc3191449fcbc8aa468
de -> 8f1dca348fbc904d61fb8082bf9e63728f301e64
dsb -> 8c2c3a920e2f63635e2d44c2d28c80acf5ebec07
el -> a1f238263169c8f1d99310f43b58f90f883ab667
en-CA -> ab531bbd3b919f4c90e37220d4c6884ec9ffb396
en-GB -> c26bd29b6e64166297b5da48852358a401faf46c
eo -> 3dd80a08aaeea033dc3c2a02b595a9bf34e95889
es-AR -> bc9565288ada6cfb106fcfb6e7557c80c856d906
es-CL -> 872f104f71715c23ea206c39d0538bfeefb241b8
es-ES -> 6699d65fe839c08b5c6a156599a24f3a1885da5f
es-MX -> 149690523cf68e68d054767a4768ee28a82cfacf
et -> 0e1b079fd67d92a3ae75d4da71171d69f20f5025
eu -> b6c43671f4115e36b9fc50aeba83fb42e03c67f3
fi -> 2fd95ffb6b6ebbfc8a03558ec176aa0512d86c6b
fr -> 8f13f9dfe50c1edba64902bda9b7fb769c0c2b0a
fur -> be0dac8dd6255f03456d1f101b824d29663d3c74
fy-NL -> e117b7f0e5ff1f34acf0f7bf563e781044a1649c
gd -> ddbbbdb5eab841b95d00b6defcc86593a1b5253a
gl -> 7759f48de6b417c8a9eb296dbf8a8e548639de6a
gn -> 4c732e30bcf483ff6753716655d0b06c6265216e
he -> ed6ba0427f09389648d3fe8ed260fef518d03747
hsb -> 68a5a37eff50ad586ac5ee69d3121f5040b5e6c5
hu -> 1efc1eb07546b8351452cad82a7b4a38ad8c9157
hye -> ca4162a68506e26d7786212c3de98f2ba5628c55
ia -> 7d1ef3520a3ac95ce1d7aae5071f8208858c2847
id -> fac640f92b280128f208e308178a9efc9b378d6c
is -> d3b7a5bae5af5480d2823e5a0751600c7b79c78b
ja-JP-mac -> 99c7d02c4b82659775d5712db549cb0f31bf2e20
ka -> 9525652bf79359f6daa8a739cf91a05d116f1bad
kab -> 4807d8d223a8017d2283d256226ac6131a963ebf
kk -> 9185934b11ced46f03dae5a85dbed37dc59c66ea
ko -> 4aa3875c0632447c8f3ab906a866c206bf063647
lo -> 8dfaec0e0128fd7ffa033fe88f991fc41177e7a8
lt -> ce52f16cb4f53c2fbc156e00a895aa479a0293f9
nb-NO -> b19abff19d3e1bf985ef1282f1f8b08d7536e07a
nl -> af2d13daedbd50e6a2b836c586245084b9466aa1
nn-NO -> 4a3d9d4c8d20d577844b7c5cc9bb548bbbbca76b
oc -> 314ebebf11519e1940d38feee1001c002bd55d49
pa-IN -> 8749d3016c2473b16e47a12339ce7a627acc9c43
pl -> 04ce2051f287a9f7f1e0ad106f22e6bc9389cb66
pt-BR -> 652635a805c55f2a4e247b3fff2e004cc8b12d08
pt-PT -> 42f7ce2449b6ce3b9938022608534c2b29f803e8
rm -> 8bb7b89fa9b324ec367b3f80527cebba3a428b95
ro -> 4e8d830a609ec4c88b73c3e85aa0b5503b5eee50
ru -> cb8014f84b60343ae204d527ba20b2a9cf5ec788
sat -> cc8aeb497943c42bd693bbe3b9bc5d34b16de227
sc -> 2beb703b2da66326ef740fd61ee6d168c7a332e5
si -> af5f9ae08dd57027884ee287b840225431b20aa3
sk -> 3c56569806d84ab35ed39a33dae5974c55f26f8c
skr -> 206804bd0f1ca91307b6bf4ba9e513841a76f58b
sl -> b6652dc1a69dd52363141f14e31d762909fe1f81
sq -> b100762ed06f3b53b37c0a62bbd30e87144b48a6
sr -> d296ac219c6775bc4bffdff40d6ab9c73c225821
sv-SE -> 222445f583e493237e7c385da189c4a1d26fc24c
szl -> 2bcba850238885e2e7fb9b12ae2b6fd1da7056ec
tg -> 161d2e09c39d1d94e90caf3e1fa55f60fa2ae5bb
th -> fd7efe6ce07379c9f33f0199bff9be9880af48ea
tr -> 7522cab01ab4029a60a77446f2baed066be2b784
uk -> b90eeff3df758a314d43c4e93b6bd092161cf903
vi -> cde933743ea42c55f149948ecfe4764079ef258f
zh-CN -> 1318432402a85e26f61958fd9a89d1648bfb709a
zh-TW -> 496b7d7155ed6c0ef07f46d190fd79cb83a2b573
2024-03-09 07:02:12 +00:00
Kelsey Gilbert
e23c373711 Bug 1883225 - webgl.texSubImage(video): re-enable gpu-blit for RGBA, and RGB iff RGB8+SRGB8 renderable. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D203698
2024-03-09 05:35:20 +00:00