Commit Graph

917997 Commits

Author SHA1 Message Date
Alexandre Poirot
dce178ad20 Bug 1883847 - [devtools] Add support for server side SHARED_WORKER target support. r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D204873
2024-05-27 09:53:53 +00:00
Emilio Cobos Álvarez
4d37e38a11 Bug 1898217 - Don't let menus overlap OS bar on GTK. r=stransky
Since in some DEs at least it would make the menu not clickable.

Differential Revision: https://phabricator.services.mozilla.com/D211714
2024-05-27 09:47:21 +00:00
Cristian Tuns
56a55d7252 Backed out changeset d66c4f215994 (bug 1809824) for causing android-lint-fenix failures CLOSED TREE 2024-05-27 05:41:57 -04:00
Gabriele Svelto
1cf3b81e8d Bug 1898180 - Use proper process ID for all the crash reporter functions r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D211166
2024-05-27 09:32:11 +00:00
Cristian Tuns
10d3567120 Merge mozilla-central to autoland on a CLOSED TREE 2024-05-27 05:30:16 -04:00
mcarare
3ed9a98412 Bug 1809824 - Properly check collection size before deleting tab. r=android-reviewers,boek
Differential Revision: https://phabricator.services.mozilla.com/D211050
2024-05-27 08:43:38 +00:00
Cristian Tuns
a06e8c19b7 Backed out changeset 8397cd70db46 (bug 1893359) for causing build bustages in MPRISServiceHandler.cpp CLOSED TREE 2024-05-27 04:41:14 -04:00
Jan-Erik Rediger
f73e2344c5 Bug 1897219 - FOG: Pass the ride-along-pings map to the Glean SDK r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D210793
2024-05-27 08:07:29 +00:00
Jan-Erik Rediger
f12a7bec61 Bug 1898570 - Update to Glean v60.2.0 r=chutten,supply-chain-reviewers,mach-reviewers,android-reviewers,tthibaud
Differential Revision: https://phabricator.services.mozilla.com/D211415
2024-05-27 08:07:29 +00:00
stransky
3e7a5b219c Bug 1893359 [MPRIS] Use remoting name as desktop entry identifier r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D211340
2024-05-27 08:06:36 +00:00
Cristian Tuns
7ff01c593b Backed out changeset afd749e54038 (bug 1898078) for causing fenix failures. CLOSED TREE 2024-05-27 03:56:29 -04:00
AndiAJ
1c9710f194 Bug 1841966 - Fix verifyOpenLinkInNewPrivateTabContextMenuOptionTest UI test r=ohorvath
The UI test takes use of the retry rule and was flaky because:
# on the first try after performing the click on the "Switch" button nothing happened (should switch to private browsing)
# on the second and third retry, the switch to private browsing is properly performed, but when trying to verify the existing open tabs, an empty tabs tray was displayed

The problem on the second and third retry most likely happened because of some syncing problems between UIAutomator and Compose.
Noticed in the past that in some cases the wait performed using UIAutomator will block the the test if the next steps are being performed with Compose.

To overcome this problem, I've replaced the UIAutomator **waitForExists** with **waitUntilAtLeastOneExists** that is part of Compose in the **verifyExistingOpenTabs** function.

The UI test successfully passed 300x on Firebase 
Ran all UI tests 1x on Firebase and successfully passed 

Differential Revision: https://phabricator.services.mozilla.com/D211367
2024-05-27 07:27:11 +00:00
Julien Cristau
3759e3792f Bug 1898762 - copy windows en-US full installers for nightly to the timestamped -l10n directory. r=releng-reviewers,taskgraph-reviewers,gabriel
This makes it possible for bouncer to point at any locale's installer in
the same place (see bug 1895249).

Differential Revision: https://phabricator.services.mozilla.com/D211560
2024-05-27 07:12:59 +00:00
Julien Cristau
42c1073273 Bug 1898762 - copy windows en-US full installers for nightly to the timestamped -l10n directory. r=releng-reviewers,taskgraph-reviewers,gabriel
This makes it possible for bouncer to point at any locale's installer in
the same place (see bug 1895249).

Differential Revision: https://phabricator.services.mozilla.com/D211560
2024-05-27 07:12:59 +00:00
oana.horvath
d5bd7b2e18 Bug 1858875 - Workaround to open the ETP settings when the button is not available in the quick action sheet r=ajoltan DONTBUILD
The test is sometimes flaky when the network connection is bad and trackers don't get blocked, so the protection quick settings sheet doesn't have a "Details" section which contains the button for the ETP settings.
Re-ran the test 50 times, all green: https://treeherder.mozilla.org/jobs?repo=try&revision=9f4373ed5f749ee72d64cf4c490d25470a77fa27&selectedTaskRun=AOedklhKSBiM6cwpudB1_w.0

Differential Revision: https://phabricator.services.mozilla.com/D211523
2024-05-27 07:10:06 +00:00
Mozilla Releng Treescript
3eaca13506 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
sl -> bdfe2ac5f376d7de41fcfeb964a4c9e44eecab3a
zh-TW -> cec8f0c2ac4512f7be9b759bc2de21026c57163c
2024-05-27 07:00:32 +00:00
Pier Angelo Vendrame
5c25e1c461 Bug 1787790: Normalize system fonts with RFP on. r=emilio
System fonts can leak any user customization of system fonts, or user's
locale (e.g., en-US and ja Windows have different system fonts).
Also, Linux distributions/desktop environments set default fonts in
different ways.

Customization can be detected either with font metrics, the font allowed
list is not enabled or the font is included in it, or with
getComputedStyle, that leaks the name of the font that Firefox tries to
apply.

This patch try to prevent these leaks by using a generic "sans-serif"
for all system fonts, except on macOS, where it uses "-apple-system",
and on Android, where these fonts always use Roboto.

Differential Revision: https://phabricator.services.mozilla.com/D163576
2024-05-27 06:57:04 +00:00
oana.horvath
dcae3aecb0 Bug 1898078 - Fix failures due to location permission prompt r=aaronmt DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D211214
2024-05-27 06:51:08 +00:00
James Teh
fb990d83da Bug 1898661: In the Dev Tools tree LabelCell and TreeCell components, don't aria-labelledby the span with the column header. r=devtools-reviewers,nchevobbe
Now that the a11y engine correctly traverses aria-labelledby during name computation per the spec, the aria-labelledby overrides the content of the cell when computing the name for the tree item.
Strictly speaking, putting aria-labelledby on a span is a spec violation these days anyway.

Differential Revision: https://phabricator.services.mozilla.com/D211503
2024-05-27 06:40:35 +00:00
Tooru Fujisawa
071e366ef9 Bug 1898677 - Cache the result of bytecode encoding condition. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D211517
2024-05-27 06:31:16 +00:00
James Teh
ad246a46f8 Bug 1897597 part 2: Don't treat bidi split continuations as line breaks. r=morgan
Continuations occur when text wraps onto a new line (fluid continuations), but they also occur when the text direction changes (non-fluid continuations).
Previously, TextLeafRange assumed that all continuations were line breaks.
Now, we explicitly treat fluid continuations as line breaks.
It's also possible for a non-fluid continuation to be on a different line if the text direction changes between the end of the previous line and the start of another.
In that case, we must use a line iterator to check whether they are on different lines.

Differential Revision: https://phabricator.services.mozilla.com/D210893
2024-05-27 06:21:04 +00:00
James Teh
b8d61523d1 Bug 1897597 part 1: Split TextLeafRange code to check whether frames are on different lines into a separate function. r=morgan
There should be no functional change here.
However, we're going to need to reuse this elsewhere in the next patch.

Differential Revision: https://phabricator.services.mozilla.com/D210986
2024-05-27 06:21:03 +00:00
Mozilla Releng Treescript
6f56801283 no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE 2024-05-27 00:17:00 +00:00
James Teh
f0250b65b5 Bug 1898198: Fix RemoteAccessible::TakeFocus when the browser UI has focus. r=eeejay
Previously, this didn't move the focus at all in this case.

Differential Revision: https://phabricator.services.mozilla.com/D211314
2024-05-26 21:50:29 +00:00
longsonr
ebd4094092 Bug 1899041 - Additional rendering observer container optimisations r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D211678
2024-05-26 19:06:59 +00:00
Mozilla Releng Treescript
6bda9aa9c8 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
es-ES -> cd1d7ecb859473beb9f5975bd2aa85dd18f32be9
it -> 48b85357a3d93e11ef4d1c49bb5fabbde94f805d
nn-NO -> d662ee37c46422ec8e17c6830d2d9a1495ac0dac
2024-05-26 19:01:45 +00:00
Gregory Pappas
dd4a8773bb Bug 1851085 - Remove layout.css.computed-style.shorthands pref r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D211487
2024-05-26 16:47:47 +00:00
Andrew Osmond
3609b689a2 Bug 1899018 - Enable threadsafe GL on Linux with NVIDIA 545.23.6 out to release. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D211668
2024-05-26 16:13:19 +00:00
Eden Chuang
076bd81ff5 Bug 1898108 - Making WorkerPrivate::mDebuggerQueue accesses protected by WorkerPrivate::mMutex. r=dom-worker-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D211213
2024-05-26 15:55:49 +00:00
Olli Pettay
1f04aa4fed Bug 1898813 - Add a test for the target of coalesced and predicted events, r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D211614
2024-05-26 12:07:04 +00:00
Mozilla Releng Treescript
d551afaf61 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
skr -> 9a11ba5f5a2f51e198fd881693979f675e485d9e
2024-05-26 07:00:54 +00:00
Cosmin Sabou
6b6ae5aba8 Bug 1848488 - Disable browser_should_restore_tab.js on linux 18.04 debug for frequent failures. r=intermittent-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D211658
2024-05-26 03:13:27 +00:00
Andrew Osmond
9bae18b630 Bug 1898894 - Enable DMABuf on Linux with NVIDIA 545.23.6 out to release. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D211661
2024-05-26 02:00:12 +00:00
Mozilla Releng Treescript
5760e12361 no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE 2024-05-26 00:19:25 +00:00
Mozilla Releng Treescript
7452d1f23c no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
fur -> a23e87ca4d1ce11d9d13c274d19288caf1e55989
pt-PT -> 76c51dabdc947c7f9d481af738f70c1809520051
sc -> 2a063975554454ccd092726f50c0659f970854c1
skr -> 85fbc2b9fc9e5c8ed3e70e9f31b472bdc431516a
2024-05-25 18:59:25 +00:00
Harshit Sohaney
ffbc69a780 Bug 1895978 - Add the new clear on shutdown cache pref to the cache purging task code. r=pbz,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D210681
2024-05-25 15:19:14 +00:00
Harshit Sohaney
17372d5f6f Bug 1896949 - Re-enable the new clear history dialog. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D210682
2024-05-25 15:19:14 +00:00
Harshit Sohaney
4af67d7e8c Bug 1895612 - Add new prefs to run the clear history pref migration again for all users for the new clear history dialog. r=pbz
Depends on D208411

Differential Revision: https://phabricator.services.mozilla.com/D209758
2024-05-25 15:19:14 +00:00
Harshit Sohaney
7b989030f6 Bug 1892947 - (part 2) tests for clear cookies and site data on shutdown pref alignment with new clear history dialog. r=pbz,settings-reviewers
Depends on D208410

Differential Revision: https://phabricator.services.mozilla.com/D208411
2024-05-25 15:19:13 +00:00
Harshit Sohaney
f92dcd93b0 Bug 1892947 - Align clear on shutdown for cookies and site data section prefs to the new clear on shutdown prefs. r=pbz,settings-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D208410
2024-05-25 15:19:13 +00:00
André Bargull
c83e44bb5d Bug 1898538 - Part 8: Workaround GC hazard warning in PrepareTemporalFields. r=spidermonkey-reviewers,sfink
GC hazard analysis complains that `const TemporalFields FallbackValues{}` contains
GC things and the `GetProperty` call in the next (!) loop iteration may trigger a GC.

Workaround this warning by moving `const TemporalFields FallbackValues{}` into a
separate function.

Depends on D211399

Differential Revision: https://phabricator.services.mozilla.com/D211400
2024-05-25 14:25:55 +00:00
André Bargull
01407360bd Bug 1898538 - Part 7: Fix shift zero case. r=spidermonkey-reviewers,sfink
Running the tests with optimisations enabled uncovered a bug in the
shift operator implementations:
The code from "Hacker's Delight" assumes that shifting an N-bit integer by N bits
returns zero, i.e. `i64 >> 64 == 0`, but this is undefined behaviour in C++. The
shift operators executed this case when `shift == 0`, because then
`low >> (64 - shift) == low >> (64 - 0) == low >> 64`. Add an extra branch to
handle the case when `shift` is zero to avoid hitting UB.

Depends on D211398

Differential Revision: https://phabricator.services.mozilla.com/D211399
2024-05-25 14:25:55 +00:00
André Bargull
e5dc0f434e Bug 1898538 - Part 6: Make Int128 test compatible with older GCC/Clang. r=spidermonkey-reviewers,sfink
Only recent Clang/GCC implement CWG2518. Workaround this limitation by directly
calling `std::abort`.

GCC <10 complains about unused functions in `constexpr` contexts. This can be
worked around by adding a couple of `[[maybe_unused]]`.

The `to_array` function to implement `std::to_array` from C++20 doesn't compile
under older GCC, because the compiler doesn't add necessary type conversions.
Explicitly casting all inputs to `int64_t` resp. `uint64_t` fixes this. With
the explicit casts it's no longer necessary to call `to_array' and we can
instead directly create the `std::array`.

Depends on D211397

Differential Revision: https://phabricator.services.mozilla.com/D211398
2024-05-25 14:25:55 +00:00
André Bargull
25c083af9f Bug 1898538 - Part 5: GCC 8 disallows MOZ_CRASH in constexpr functions. r=sfink,glandium,spidermonkey-reviewers
GCC 8 doesn't like `MOZ_CRASH` in a `constexpr` function. The `constexpr` functions
are used for `static_assert`s, so removing `constexpr` isn't possible without also
losing the `static_assert`. `MOZ_CRASH` is allowed starting with GCC 9, so for now
simply call `std::abort` when under GCC 8 and hope nobody is too mad about missing
crash annotations when compiling with GCC 8.

Depends on D211396

Differential Revision: https://phabricator.services.mozilla.com/D211397
2024-05-25 14:25:54 +00:00
André Bargull
c28af84fbe Bug 1898538 - Part 4: Workaround object linkage restriction in GCC 8. r=spidermonkey-reviewers,sfink
GCC 8 complains that `epochLimit` has no object linkage. Moving the constant
into the top-level fixes this issue. GCC 9 no longer needs this workaround.

Depends on D211395

Differential Revision: https://phabricator.services.mozilla.com/D211396
2024-05-25 14:25:54 +00:00
André Bargull
1acaa5abbd Bug 1898538 - Part 3: Avoid type limits warning. r=spidermonkey-reviewers,sfink
GCC complains when checking if an unsigned type is negative.

Depends on D211394

Differential Revision: https://phabricator.services.mozilla.com/D211395
2024-05-25 14:25:53 +00:00
André Bargull
51c36a532a Bug 1898538 - Part 2: Avoid multi-line comment warning. r=spidermonkey-reviewers,sfink
GCC complains about the backslash character at the end of the line.

Depends on D211393

Differential Revision: https://phabricator.services.mozilla.com/D211394
2024-05-25 14:25:53 +00:00
André Bargull
e148b2e72a Bug 1898538 - Part 1: Remove constexpr when calling CountLeadingZeroes64. r=spidermonkey-reviewers,sfink
GCC 8 complains when calling `mozilla::CountLeadingZeroes64` in a `constexpr`, because
`mozilla::CountLeadingZeroes64` isn't `constexpr`.

Remove `constexpr` from all functions which are (transitively) calling
`mozilla::CountLeadingZeroes64`.

Differential Revision: https://phabricator.services.mozilla.com/D211393
2024-05-25 14:25:52 +00:00
André Bargull
4b230b632a Bug 1898186 - Part 11: Pass calendar-id to calendar methods. r=spidermonkey-reviewers,sfink
Supporting more built-in calendars requires to have the calendar-id at hand.

Depends on D211187

Differential Revision: https://phabricator.services.mozilla.com/D211188
2024-05-25 14:25:52 +00:00
André Bargull
86e344406d Bug 1898186 - Part 10: Use EnumSet for TemporalFields. r=spidermonkey-reviewers,sfink
Using `EnumSet` instead of `std::initializer_list` will make integration of
more built-in calendars easier. And `EnumSet` can also be passed more
efficiently (in a single register).

Also merges the two `Temporal.Calendar.prototype.mergeFields` implementations, so
we can more easily extend it when adding support for more built-in calendars.

Differential Revision: https://phabricator.services.mozilla.com/D211187
2024-05-25 14:25:52 +00:00