Commit graph

820933 commits

Author SHA1 Message Date
Mike Hommey
83caa2d8dc Bug 1802075 - Avoid calling "--stop-server" as a command on local build failure. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D162814
2022-11-23 20:38:52 +00:00
Mike Hommey
667209b76a Bug 632224 - Add missing HOST_LDFLAGS when linking HOST_SIMPLE_PROGRAMS. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D162819
2022-11-23 20:37:48 +00:00
Thomas Wisniewski
30fc75f4ab Bug 1800969 - Alias -webkit-clip-path to clip-path for webcompat; r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D162674
2022-11-23 20:26:14 +00:00
Thomas Wisniewski
98dcd314c1 Bug 1717806 - Fix a match-pattern for the Advertising.com shim to un-break video playback on tf1.fr; r=pbz,webcompat-reviewers,ksenia
Differential Revision: https://phabricator.services.mozilla.com/D162897
2022-11-23 20:26:00 +00:00
Zac McKenney
e20312a8cd Bug 1785807 - Added duplication check and proper capitilization for computeAcceptLanguages. r=geckoview-reviewers,extension-reviewers,calu,owlish,robwu
Differential Revision: https://phabricator.services.mozilla.com/D162678
2022-11-23 19:25:24 +00:00
Alex Ionescu
0916724862 Bug 1797443 - Automatically find latest revision for side-by-side r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D160326
2022-11-23 19:18:25 +00:00
Butkovits Atila
65e34f4628 Backed out 4 changesets (bug 1768581, bug 1709184) for causing high frequency Xpcshell failures at test_bug1274685_unowned_list.js. CLOSED TREE
Backed out changeset 6bae0f16eae9 (bug 1768581)
Backed out changeset 1f111f5b8baf (bug 1768581)
Backed out changeset a3d89b2ef44a (bug 1709184)
Backed out changeset 98f1dc6f0123 (bug 1709184)
2022-11-23 22:09:33 +02:00
William Durand
ba892a21a4 Bug 1793743 - Let ExtensionTestUtils generate extension IDs in createExtensions(). r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D162849
2022-11-23 19:07:45 +00:00
Sebastian Hengst
4ec9893790 Bug 1801593 - set requestStorageAccess-nested-cross-origin-iframe.sub.https.window.html as intermittent on all platforms
Intermittent expectations for most platforms got added in bug 1801556.

Differential Revision: https://phabricator.services.mozilla.com/D162876
2022-11-23 19:04:28 +00:00
Mozilla Releng Treescript
e91cc3b489 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
be -> 6697737655bfe6f04122974375149bd5fee80c09
cy -> cd620ebed1eaf7351173e9fa857d952d18749353
fy-NL -> eb293a8289019b1a7b76c4042ae85847f306ae11
gn -> f5554755095621a859dec668defde53c8597f79e
he -> f8412db317596c5de64e8b25c830932c096c8d24
id -> e5bb8a2bf8e81381db1260fe11c47ee897b26d2e
kk -> f143464d3db190b13a5af83850a312e0e1e13a61
ko -> e83d874f1401b56562a2c1b96bd6d25f00c56134
nb-NO -> 846bca95023e2033ec4c81a17ef0aaf91cd6f707
ne-NP -> 42274ea9cc3b2488e5cf833b9fceb5d78086dea7
nl -> afc882e62bbf4af74c2213fec221c2c406a61b47
nn-NO -> 895bf9c224a1449050fa9ebb420898eee0bdee50
oc -> 808109d3c0b921071b857edcd9adeb6b822a4bd7
pa-IN -> 41e159df855ef2860af336bf94ec815ee45c5261
pl -> c1b7e036331c59e2f50390b916a6644c8ef67a5a
pt-BR -> 8dead75f9afeb34e57a3bcd24ed4a564db9e762d
pt-PT -> e2004dd62601de421adba549123e28cf12667900
rm -> 9aab30ed3488612383a6375e29710c65aa20839c
ro -> eb15422dff28cc0d0508087b5f1c0a3f2a162810
ru -> 4f72f42aebcdf1f10e37ab944e68d9f99248e301
sat -> cf2deb96e3f4b97388ac68e37b0fe77aa8ca5ccb
sc -> 4edb194a09f972b9f845ae54200eee27c2b2b463
scn -> 283982fa0bf0d263ebe5e794d591606d925a85f0
sco -> 7286fdcb8d91a9a29a438c618fffd0bdb1cb5b0a
si -> 6a2812646d45d14201ebfcd909c7279804bfdffc
sk -> bd460eecadaae22035a8634d68a68c3d384ea62e
sl -> 9dbe217e692e7a95d465bcb03e5696548c8d9068
son -> ece161c6f98dc74b9ceecccaeffc7021d2674cfd
sq -> a0b37bb9492563a6c4bf0f861609fd0ad04efbee
sr -> 83c23500f949ffece0043bd3d9ad7d8dca477fee
sv-SE -> da22e7cc6743fffcd865376a6e03d4d6fe440e0f
szl -> 288ce9f945ed54282721c3fcbc73136521f61acd
ta -> 8e8d7e7e882623a79e617fe9015e83aeb8b374bb
te -> 24148539eedf61dbfeecf8caed406af43378d7b0
tg -> a69d98b8a5a43c6b93aae80a26671d05c1757a63
th -> 03d6c6fe98e05db98bfed25a0b24a72bfdeea4c8
tl -> 7622da9019fbe7c83a37fdd4ce38ce0281b8db88
tr -> 8b56fdc7d226a359747095054358cc0808438b8e
trs -> 9051ef497149dcd0e93aa756194bae624948b0c0
uk -> 114c255e8bfb8cb6ef52f24063c9600d1696fe74
ur -> 571c8f23ca554cf45fb08099702934fd714bc487
uz -> a3b642a27582d2e30170d9fff35abe3447e71ac2
vi -> dcc6eed4c4cf39b0405f4f01fdc2734571c6951b
wo -> 8c57aedad9503f34bf3d72908376020e91ac7f88
xh -> 5f571f2c741c6eab39c6eb4492484c9afeab1cb7
zh-CN -> b9c1eb440d8d9b10fb00d1dbdc33c1d5270b92f1
zh-TW -> 71359b8934fdeabf50cf125214373e3a1b408960
2022-11-23 19:06:35 +00:00
Emilio Cobos Álvarez
26d1a61070 Bug 1801826 - Prepend rather than append mozillabuild path. r=ahochheiden
This makes sure that we find the right tools in the right msys2
environment in case we get called from another msys2 env.

Differential Revision: https://phabricator.services.mozilla.com/D162753
2022-11-23 18:17:28 +00:00
André Bargull
b40bfc63bc Bug 1792775 - Part 14: Temporarily disable some test262 tests. r=dminor
Temporarily disable some test262 tests which no longer produce the expected
results when using CLDR 42 resp. Unicode 15. We can re-enable those tests when
we next update test262 and the following PRs are all merged upstream:
- https://github.com/tc39/test262/pull/3662
- https://github.com/tc39/test262/pull/3663
- https://github.com/tc39/test262/pull/3676

Differential Revision: https://phabricator.services.mozilla.com/D160192
2022-11-23 17:56:19 +00:00
André Bargull
b8b2604d87 Bug 1792775 - Part 13: Updating ICU requires a clobber. r=platform-i18n-reviewers,dminor
See bug 1315397 for why a clobber is necessary.

Differential Revision: https://phabricator.services.mozilla.com/D160191
2022-11-23 17:56:18 +00:00
André Bargull
e8010ad8bf Bug 1792775 - Part 12: Bump minimum required ICU version to 72.1. r=platform-i18n-reviewers,dminor
Require at least ICU 72, because we're using ICU APIs which are only stable
in ICU 72.

Differential Revision: https://phabricator.services.mozilla.com/D160190
2022-11-23 17:56:18 +00:00
André Bargull
86a29191ae Bug 1792775 - Part 11.1: Update expected test results in non-SpiderMonkey files. r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D162707
2022-11-23 17:56:18 +00:00
André Bargull
5722569893 Bug 1792775 - Part 11: Update expected test results. r=platform-i18n-reviewers,dminor
CLDR 42 replaced plain ASCII space U+0020 with U+202F when formatting dates.
This change requires to update the expected results for more tests than usual.

Differential Revision: https://phabricator.services.mozilla.com/D160189
2022-11-23 17:56:17 +00:00
André Bargull
34ecb14fc8 Bug 1792775 - Part 10: Normalise U+202F to U+0020 when parsing dates. r=dminor
CLDR 42 replaced plain ASCII space U+0020 with U+202F when formatting dates.
For backward-compatibility reasons we want to ensure that
`Date.parse(date.toLocaleString())` works when the default locale is English,
therefore we have to normalise U+202F to U+0020.

Differential Revision: https://phabricator.services.mozilla.com/D160188
2022-11-23 17:56:17 +00:00
André Bargull
fb11119301 Bug 1792775 - Part 9: Handle new script codes in GetCommonFallbackFonts. r=platform-i18n-reviewers,jfkthame
Use the fallback path for both new script codes.

Differential Revision: https://phabricator.services.mozilla.com/D160187
2022-11-23 17:56:16 +00:00
André Bargull
ff0958538f Bug 1792775 - Part 8: Remove no longer needed ICU draft API guards. r=platform-i18n-reviewers,jfkthame
`UDAT_STANDALONE_NARROW_QUARTERS` has been promoted from draft to stable.

Differential Revision: https://phabricator.services.mozilla.com/D160186
2022-11-23 17:56:16 +00:00
André Bargull
c79afec58b Bug 1792775 - Part 7: Update Gecko to Unicode 15. r=platform-i18n-reviewers,jfkthame
Update Gecko to Unicode 15 by running `genUnicodePropertyData.pl` and
`genSpecialCasingData.pl`.

Differential Revision: https://phabricator.services.mozilla.com/D160185
2022-11-23 17:56:16 +00:00
André Bargull
ec5ac464fd Bug 1792775 - Part 6: Update SpiderMonkey to Unicode 15. r=dminor
Update SpiderMonkey to Unicode 15 by running `./make_unicode.py --version=UNIDATA`.

Differential Revision: https://phabricator.services.mozilla.com/D160184
2022-11-23 17:56:15 +00:00
André Bargull
b786c92fb9 Bug 1792775 - Part 5: Update numbering systems. r=platform-i18n-reviewers,dminor
Update numbering systems by running `./make_intl_data.py numbering`.

Differential Revision: https://phabricator.services.mozilla.com/D160183
2022-11-23 17:56:15 +00:00
André Bargull
712f253cf0 Bug 1792775 - Part 4: Update measurement units. r=platform-i18n-reviewers,dminor
Update measurement units by running `./make_intl_data.py units`.

Differential Revision: https://phabricator.services.mozilla.com/D160182
2022-11-23 17:56:14 +00:00
André Bargull
44945dd321 Bug 1792775 - Part 3: Update language tag mappings. r=platform-i18n-reviewers,dminor
Update language tags by running `./make_intl_data.py langtags`.

Differential Revision: https://phabricator.services.mozilla.com/D160181
2022-11-23 17:56:14 +00:00
André Bargull
450cd2c190 Bug 1792775 - Part 2: Update in-tree ICU to 72. r=platform-i18n-reviewers,dminor
Update to ICU 72 by running `./update-icu.sh https://github.com/unicode-org/icu.git maint/maint-72`.

Differential Revision: https://phabricator.services.mozilla.com/D160180
2022-11-23 17:56:04 +00:00
André Bargull
c527db03ac Bug 1792775 - Part 1.1: Remove unused "personNames" table from ICU data file. r=platform-i18n-reviewers,gregtatum
We don't use the "personNames" data, so let's filter it out to reduce the ICU data file size.

Depends on D160179

Differential Revision: https://phabricator.services.mozilla.com/D162706
2022-11-23 17:56:04 +00:00
André Bargull
7a825e75ec Bug 1792775 - Part 1: Update or remove ICU patches. r=platform-i18n-reviewers,dminor
Remove the patch for bug 1766220 because the local patch was just a backport
from the ICU development branch.

And update the local patches for Sorbian and WASI integration to apply cleanly
on ICU 72.

Differential Revision: https://phabricator.services.mozilla.com/D160179
2022-11-23 17:56:03 +00:00
negin
a67bb980d3 Bug 1800126 - [Cleanup] Refactor OnboardingVideo in its own component r=yozhang
[try](https://treeherder.mozilla.org/jobs?repo=try&revision=50e8d3a693d5a8cf6a6f3bf601c9cd241f5145e6)

Differential Revision: https://phabricator.services.mozilla.com/D162420
2022-11-23 17:50:13 +00:00
Jon Coppeard
ea46d79df2 Bug 1800263 - Part 5: Tidyup GCMarker interface and make methods private where possible r=sfink
This class has become pretty complicated. I've tried to reorder the methods in
a way that groups related methods together and to make methods private where
possible.

Differential Revision: https://phabricator.services.mozilla.com/D162397
2022-11-23 17:38:06 +00:00
Jon Coppeard
e0ad7fbd59 Bug 1800263 - Part 4: Push marking options through markAndTraverse to avoid setting the flag for things we've already marked r=sfink
As a further optimisation we can move the flag update into
GCMarker::markAndTraverse so we don't set the flag for thing we've already
marked.

Differential Revision: https://phabricator.services.mozilla.com/D162396
2022-11-23 17:38:06 +00:00
Jon Coppeard
3530f50735 Bug 1800263 - Part 3: Add a root marking mode with its own tracer r=sfink
This adds a new marking mode for root marking and templates MarkingTracer on a
options bitmask. The GCMarker's tracer becomes a variant and we change the
constructed variant when the mode changes.

The templating allows us to make parts of the marking path conditional using if
constexpr on the marking options.

Differential Revision: https://phabricator.services.mozilla.com/D162395
2022-11-23 17:38:06 +00:00
Jon Coppeard
fe4a65c478 Bug 1800263 - Part 2: Add MarkingTracer as a member of GCMarker r=sfink
Previously GCMarker was a JSTracer. This separates out the impelmentation of
the tracer interface into another class.

The idea here is that we will change the tracer class used in different phases
of the GC. This will allow us to skip setting this compartment flag outside
root marker, and later allow us to select a different way of accessing the mark
bits for parallel marking.

Differential Revision: https://phabricator.services.mozilla.com/D162394
2022-11-23 17:38:05 +00:00
Jon Coppeard
d93ecad4b7 Bug 1800263 - Part 1: Tidup, make MarkingState a private enum inside GCMarker r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D162393
2022-11-23 17:38:05 +00:00
Yoshi Cheng-Hao Huang
2c1867b493 Bug 1802173: Worklet.AddModule should return AbortError if fails to fetch the script. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D162867
2022-11-23 17:20:06 +00:00
M. Sirringhaus
c6b7ac16e0 Bug 1800056 - Replace 'dim' in controller/building.py to fix './mach static-analysis check' . r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D162274
2022-11-23 17:17:48 +00:00
Dan Minor
dcabb90063 Bug 1793959 - Implement DecoratorEmitter::emitCreateDecoratorContextObject; r=mgaudet
This implements the emitter for DecoratorContext objects. The implementations of
the DecoratorAccess object and addInitializer are postponed to follow up bugs.

Differential Revision: https://phabricator.services.mozilla.com/D162143
2022-11-23 16:47:14 +00:00
Dan Minor
9e5c7fe94e Bug 1793959 - Add DecoratorEmitter::emitDecoratorCall; r=mgaudet
This is a basic implementation of applying a decorator to a method, leaving
many details to subsequent patches and bugs.

Differential Revision: https://phabricator.services.mozilla.com/D162141
2022-11-23 16:47:14 +00:00
Dan Minor
3a86e5a300 Bug 1793959 - Add ThrowMsgKind::DecoratorInvalidReturnType; r=mgaudet
We'll need to be able to throw a TypeError if the decorator returns something
other than a callable or undefined.

Differential Revision: https://phabricator.services.mozilla.com/D162140
2022-11-23 16:47:13 +00:00
Dan Minor
2755bc5a1c Bug 1793959 - Add DecoratorEmitter; r=mgaudet
This adds a stub DecoratorEmitter to the build system.

Differential Revision: https://phabricator.services.mozilla.com/D162139
2022-11-23 16:47:13 +00:00
Paul Adenot
1d31bafb33 Bug 1774416 - Allow dynamically fetching uprofiler functions to profile libraries that can't access the Gecko profiler API. r=canaltinova
This is solving a particular problem for us in media land. libxul depends on
libmoz{avcodec,format,util}, but not the opposite. We can't use the profiler
functions (thread registration, markers, etc.) there.

Unfortunately those libraries contain most of the interesting part for a few
codecs, including their own thread pool, so we really want to register those
threads and add markers to their innards so that we can figure out what's going
on and how to use them in the most efficient way.

Another problem is that those libraries are in C, and the markers API is in
C++.

The trick here is that when those libraries are being called into, the functions
in MicroGeckoProfiler.h (that exposes a C API for the profiler) are available in
the address space (it's never too early), so we can fetch them and start using
them, without having libmoz{avcodec,format,util} link to libxul.

This let us write temporary patches over vendored dependencies to diagnose
locally, and/or carry small and easily rebaseable patches to register important
threads that are otherwise invisible to the profiler.

Differential Revision: https://phabricator.services.mozilla.com/D149543
2022-11-23 16:39:35 +00:00
Greg Stoll
01a5c02624 Bug 1760668 - part 2: blocklist DLL in socket process only. r=handyman
Differential Revision: https://phabricator.services.mozilla.com/D160587
2022-11-23 16:25:05 +00:00
Emilio Cobos Álvarez
6c417c9069 Bug 1802169 - Remove unused -moz-window-frame appearance constants. r=cmartin
Differential Revision: https://phabricator.services.mozilla.com/D162864
2022-11-23 16:20:02 +00:00
Emilio Cobos Álvarez
d0e9f50241 Bug 1802142 - Remove layer="true" from tab throbber. r=dao
It doesn't do much now that we're not using XUL layout, and it's
unnecessary because the tab throbber animation uses CSS transforms
nowadays anyways.

Depends on D162850

Differential Revision: https://phabricator.services.mozilla.com/D162851
2022-11-23 16:03:46 +00:00
Emilio Cobos Álvarez
cae250f709 Bug 1802142 - Remove no longer used browser-bottombox. r=dao
I don't see anything else using it, it's just an empty box.

I found this while looking at layer="" attribute usage.

Differential Revision: https://phabricator.services.mozilla.com/D162850
2022-11-23 16:03:46 +00:00
Emilio Cobos Álvarez
1de770d28e Bug 1802147 - Remove Win7-specific radius. r=dao
This radius is smaller than the radius that these panels have everywhere
else (8px) which seems unintended.

Differential Revision: https://phabricator.services.mozilla.com/D162854
2022-11-23 16:03:19 +00:00
Jens Stutte
218fbd6c78 Bug 1768581 - Part 13: Postpone main nsThread destruction after full XPCOM shutdown. r=xpcom-reviewers,nika
Some debug infrastructure like MOZ_WEAKPTR_INIT_THREAD_SAFETY_CHECK  that can apparently be triggered by nsComponentManagerImpl::gComponentManager->FreeService() seem to rely on the existence of a serial event target even if they do not post any events. So it seems sound to keep a representation of the main thread as nsThread object until after final XPCOM shutdown.
But nsThreadManager::ShutdownMainThread() does more, it processes the last round of events, removes the thread's observer  and closes down the background event target. We do not want to move these operations to happen later than before, such that we split the nsThread release into a separate function and move that together with AbstractThread::ShutdownMainThread() behind FreeService().

Depends on D160628

Differential Revision: https://phabricator.services.mozilla.com/D162497
2022-11-23 16:03:18 +00:00
Jens Stutte
e86c2f3f76 Bug 1768581 - Part 12: Swap the order of MaybeFastShutdown and KillClearOnShutdown inside AdvanceShutdownPhase and add extra NS_ProcessPendingEvents for the main thread. r=xpcom-reviewers,nika
This change will effectively anticipate the fast shutdown by half a phase, making it more coherent with the phase it is defined to happen.

Depends on D160250

Differential Revision: https://phabricator.services.mozilla.com/D160628
2022-11-23 16:03:18 +00:00
Jens Stutte
0968ae7a04 Bug 1709184 - Part 11: Add a paranoia check against re-entrance in AdvanceShutdownPhase. r=xpcom-reviewers,nika
Depends on D160176

Differential Revision: https://phabricator.services.mozilla.com/D160250
2022-11-23 16:03:17 +00:00
Jens Stutte
b2a17869b6 Bug 1709184 - Part 10: Process pending MT events before advancing the shutdown phase. r=xpcom-reviewers,nika,kmag
Differential Revision: https://phabricator.services.mozilla.com/D160176
2022-11-23 16:03:17 +00:00
Cosmin Sabou
700c12ed49 Bug 1799645 - Mark the-offscreen-canvas/initial.reset tests as passing. r=hsivonen,aryx
These only run on backlog as of https://searchfox.org/mozilla-central/source/testing/web-platform/meta/html/canvas/offscreen/the-offscreen-canvas/__dir__.ini and they're now permanent passing.

Differential Revision: https://phabricator.services.mozilla.com/D162795
2022-11-23 15:58:01 +00:00