874836 Commits

Author SHA1 Message Date
serge-sans-paille
ec606a05bb Bug 1881545 - Move nl_langinfo and CODESET check from js/src/old-configure.in to js/moz.configure r=glandium
This makes codeset.m4 unused, so also remove it while we're at it.

Differential Revision: https://phabricator.services.mozilla.com/D202450
2024-02-28 11:11:18 +00:00
serge-sans-paille
16e12507f5 Bug 1881539 - Remove redundant -lm check from js/src/old-configure.in r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D202448
2024-02-28 11:11:18 +00:00
serge-sans-paille
00c979d8c7 Bug 1881499 - Move res_ninit check to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D202421
2024-02-28 11:11:18 +00:00
serge-sans-paille
ac2f2c943a Bug 1880424 - Move clock_monotonic check to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D201942
2024-02-28 11:11:17 +00:00
serge-sans-paille
f3cfc8bfd7 Bug 1880420 - Move __thread detection to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D201937
2024-02-28 11:11:17 +00:00
serge-sans-paille
f41191e67a Bug 1882025 - Harmonize is_gcc and building_with_gcc r=glandium
No need to have the same function twice.

Depends on D201724

Differential Revision: https://phabricator.services.mozilla.com/D202721
2024-02-28 11:11:16 +00:00
serge-sans-paille
1142b832db Bug 1880103 - Move dead_strip linker check to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D201724
2024-02-28 11:11:16 +00:00
serge-sans-paille
c05e0c4124 Bug 1880102 - Provide invert operator for SandoxedFunction r=glandium,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D201721
2024-02-28 11:11:16 +00:00
stransky
39cfce3ebc Bug 1882462 [Linux] Destroy layer manager for hidden popup windows r=emilio
Until Bug 1654938 is fixed we delete layer manager for hidden popups,
otherwise it can easily hold 1GB+ memory for long time.

Differential Revision: https://phabricator.services.mozilla.com/D202910
2024-02-28 11:04:01 +00:00
Sandor Molnar
20535c222d Merge mozilla-central to autoland. a=merge 2024-02-28 12:10:44 +02:00
Sandor Molnar
e1b3f3ba7c Backed out changeset 76f0bd102fa8 (bug 1882044) for causing bug 1882416 bug 1882321 bug 1882367. CLOSED TREE 2024-02-28 12:04:20 +02:00
Alexandra Borovova
0c3b17a215 Bug 1875255 - [wdspec] Add tests for "userContext" for cookie commands. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D201966
2024-02-28 09:35:06 +00:00
Alexandra Borovova
23f130c799 Bug 1875255 - [bidi] Add support for "userContext" as a field on "partition" argument for cookies commands. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D201965
2024-02-28 09:35:06 +00:00
Ryan VanderMeulen
8f3461b9eb Bug 1879852 - bump kotlin to 1.9.22 r=geckoview-reviewers,mcarare,owlish
Also update semanticdb-kotlinc plugin to 0.4.0, per
3ff9e970b9/README.md (kotlin-version-compatibility)

Differential Revision: https://phabricator.services.mozilla.com/D202799
2024-02-28 09:31:10 +00:00
Julien Cristau
a54c634fac Bug 1876067 - bump android-gradle-plugin to 8.0.2. r=geckoview-reviewers,mcarare,amejiamarmol
Differential Revision: https://phabricator.services.mozilla.com/D202155
2024-02-28 09:23:57 +00:00
Julien Cristau
f5bf964394 Bug 1876067 - configure geckoview and exoplayer2 for publishing to maven. r=geckoview-reviewers,mcarare,nalexander,owlish
Fixes compatibility with android-gradle-plugin 8
(https://developer.android.com/build/releases/past-releases/agp-8-0-0-release-notes#enforced-changes)

"AGP 8.0 creates no SoftwareComponent by default. Instead AGP creates
SoftwareComponents only for variants that are configured to be published
using the publishing DSL."

Differential Revision: https://phabricator.services.mozilla.com/D202154
2024-02-28 09:23:57 +00:00
Kershaw Chang
77b1faa931 Bug 1805796 - Remove MOZ_DIAGNOSTIC_ASSERT(gNeckoChild), r=necko-reviewers,valentin
The Pernosco session shows that the content child is about to destroy at that point, so there is not much we can do.
Removing the diagnostic assert seems to be the only way.

Differential Revision: https://phabricator.services.mozilla.com/D202875
2024-02-28 08:58:36 +00:00
Alexandre Lissy
df99531242 Bug 1880927 - Add Snap test to play DRM-enabled YouTube content r=mboldan
Differential Revision: https://phabricator.services.mozilla.com/D202397
2024-02-28 08:53:20 +00:00
Alexandre Lissy
4dd1bf224a Bug 1880927 - Use YouTube channel news to ensure DRM-free content r=mboldan
Differential Revision: https://phabricator.services.mozilla.com/D202396
2024-02-28 08:53:19 +00:00
Jari Jalkanen
5c00746ef4 Bug 1840184 - Remove redundant FileSystemWritableFileStreamChild shutdown check. r=dom-storage-reviewers,janv
Both use cases of the getter of the WritableFileStream pointer are already handling the case where the result is null. In the debug-only check of whether all streams are closed, null result is possible, as evidenced by the bug. When the streams are closed at shutdown, we assume that closing takes place only once and the result is not null but since the second closing can be handled as a no-op, it is not necessary enforce this expectation, following declarative API design.

Differential Revision: https://phabricator.services.mozilla.com/D202589
2024-02-28 08:48:57 +00:00
Peter Van der Beken
e3d0adf0d9 Bug 1881858 - Calculate position outside of the lambda. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D202658
2024-02-28 08:37:09 +00:00
Nicolas Silva
08ecab4bdf Bug 1882070 - Make peek-poke generate unnamed constants. r=gfx-reviewers,gw
See:
 - https://github.com/rust-lang/rfcs/blob/master/text/3373-avoid-nonlocal-definitions-in-fns.md
 - https://doc.rust-lang.org/reference/items/constant-items.html#unnamed-constant

Peek-poke generate code that will likely be rejected by a future version of rust: implementation of traits inside an expression (the const in our case) that is visible outside of the expression. Fortunately there is an exception for unnamed consts (likely because of the existing ecosystem of macros that declare items in anonymous dummy consts to scope thinsg like imports). So this PR replaced the dummy _DERIVE_peek_poke_FOR_??? const with an unnamed one.

Differential Revision: https://phabricator.services.mozilla.com/D202715
2024-02-28 08:16:54 +00:00
serge-sans-paille
be941e4e19 Bug 1879558 - Reactivate invalid escape sequence warning in ruff r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D201220
2024-02-28 08:16:06 +00:00
Nicolas Silva
63aeff49c1 Bug 1882318 - Add some documentation to quad shaders. r=gfx-reviewers,gw
Differential Revision: https://phabricator.services.mozilla.com/D202831
2024-02-28 08:15:40 +00:00
serge-sans-paille
96a14dfdfb Bug 1881404 - use taskcluster python for source-test/python.yml tasks r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D202794
2024-02-28 08:15:01 +00:00
serge-sans-paille
f51ce4e961 Bug 1882334 - Upgrade xsimd to version ce58d62666c315140eb54042498d93114edbaa68 r=padenot
This notably brings in i8mm neon extension to be used in Firefox
translation

Differential Revision: https://phabricator.services.mozilla.com/D202839
2024-02-28 08:12:37 +00:00
Alexandre Lissy
c63526fe1c Bug 1881661 - Wait for h264 video iframe correctly r=mboldan,benchatt
Differential Revision: https://phabricator.services.mozilla.com/D202800
2024-02-28 08:01:14 +00:00
Emilio Cobos Álvarez
51b86c657f Bug 1882173 - Annotate a new datetime test as failing with a11y-checks. r=ayeddi
This kind of issue is pre-existing and orthogonal to the test.

Differential Revision: https://phabricator.services.mozilla.com/D202803
2024-02-28 07:30:35 +00:00
Mozilla Releng Treescript
b16e69001e no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
en-GB -> 2a0d6033204865a4c524196ef093b7c6cf9ae1dd
es-AR -> 46afc3851c293ca755a5d257fdeb1f027d128b67
pt-BR -> 9dca828e7e19bca4c3ae03fd92f2af7b62ace3c8
pt-PT -> be5e8dff46f9aefd17c8c73a04abefa0a6976de0
2024-02-28 07:02:14 +00:00
James Teh
08b40ceb27 Bug 1881191 part 3: Support RemoteAccessible in uiaRawElmProvider. r=nlapre
KeyboardShortcut is only implemented for LocalAccessible because KeyboardShortcut isn't currently relevant (or supported) for RemoteAccessible.
AriaProperties can't be supported for RemoteAccessible currently.
See the code comment for details.

Differential Revision: https://phabricator.services.mozilla.com/D202551
2024-02-28 06:50:01 +00:00
James Teh
ffc9eac723 Bug 1881191 part 2: Inherit uiaRawElmProvider into MsaaAccessible. r=nlapre
Previously, uiaRawElmProvider was a tear-off; i.e. an entirely separate object from MsaaAccessible.
That meant uiaRawElmProvider had to hold its own reference to the Accessible.
This would be problematic for RemoteAccessible because you can't hold a strong reference to a RemoteAccessible.
It's also messy from a lifecycle perspective to have yet another object tree.
Instead, have MsaaAccessible inherit uiaRawElmProvider, just as it does for ia2Accessible, etc.
This way, only MsaaAccessible needs to manage the reference to the underlying Accessible.

Differential Revision: https://phabricator.services.mozilla.com/D202550
2024-02-28 06:50:01 +00:00
James Teh
3ab0c41716 Bug 1881191 part 1: Don't include MsaaAccessible.h in AccessibleWrap.h. r=nlapre
In a subsequent patch, MsaaAccessible will inherit from uiaRawElmProvider, which is in a different directory.
This causes problems for things outside the a11y module which include (either directly or indirectly) AccessibleWrap.h.
While this could be fixed by exporting more headers, we also end up with type conflicts with Windows API headers.
It's better if we can minimise what gets included anyway.

1. In AccessibleWrap.h, stop including MsaaAccessible.h and forward declare MsaaAccessible.
2. Move the definition of the AccessibleWrap destructor into the cpp. Otherwise, we run into compile errors due to the RefPtr<MsaaAccessible> destructor.
3. AccessibleWrap still has a private UpdateSystemCaretFor function which takes an HWND, which requires windows.h. To avoid including that in AccessibleWrap.h, move it to a static function only inside the cpp file. Rename it to prevent compiler overload confusion.
4. Since code outside the a11y module no longer needs to indirectly include MsaaAccessible, don't export MsaaAccessible.h any more.
5. While we're at it, don't export MsaaIdGenerator.h either, which is never used outside the Windows a11y code.

There should be no functional change here.

Differential Revision: https://phabricator.services.mozilla.com/D202549
2024-02-28 06:50:01 +00:00
Mike Hommey
5bcb89511a Bug 1881381 - Switch build to VS 2022. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D202364
2024-02-28 05:16:51 +00:00
Iulian Moraru
a12bbde900 Backed out 3 changesets (bug 1881191) for causing windows non unified plain build bustages on ia2AccessibleAction.cpp. CLOSED TREE
Backed out changeset 41ceb034dc70 (bug 1881191)
Backed out changeset 7b80505a4fda (bug 1881191)
Backed out changeset ab8f2e613081 (bug 1881191)
2024-02-28 07:17:42 +02:00
Iulian Moraru
1ed2858580 Backed out changeset aceeb8095d3a (bug 1880387) for causing nightly as release build bustages on DCLayerTree.cpp. 2024-02-28 07:16:25 +02:00
Daisuke Akatsuka
740fa88d41 Bug 1880862: Avoid duplicate location-sign written in title r=adw
Differential Revision: https://phabricator.services.mozilla.com/D202284
2024-02-28 04:09:40 +00:00
Mike Hommey
cde846854f Bug 1751781 - Force the old definition of NAN in the Windows SDK. r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D202896
2024-02-28 03:50:07 +00:00
James Teh
247ca97fa9 Bug 1881191 part 3: Support RemoteAccessible in uiaRawElmProvider. r=nlapre
KeyboardShortcut is only implemented for LocalAccessible because KeyboardShortcut isn't currently relevant (or supported) for RemoteAccessible.
AriaProperties can't be supported for RemoteAccessible currently.
See the code comment for details.

Differential Revision: https://phabricator.services.mozilla.com/D202551
2024-02-28 03:28:48 +00:00
James Teh
6860e1c824 Bug 1881191 part 2: Inherit uiaRawElmProvider into MsaaAccessible. r=nlapre
Previously, uiaRawElmProvider was a tear-off; i.e. an entirely separate object from MsaaAccessible.
That meant uiaRawElmProvider had to hold its own reference to the Accessible.
This would be problematic for RemoteAccessible because you can't hold a strong reference to a RemoteAccessible.
It's also messy from a lifecycle perspective to have yet another object tree.
Instead, have MsaaAccessible inherit uiaRawElmProvider, just as it does for ia2Accessible, etc.
This way, only MsaaAccessible needs to manage the reference to the underlying Accessible.

Differential Revision: https://phabricator.services.mozilla.com/D202550
2024-02-28 03:28:48 +00:00
James Teh
7a0b5ae6b8 Bug 1881191 part 1: Don't include MsaaAccessible.h in AccessibleWrap.h. r=nlapre
In a subsequent patch, MsaaAccessible will inherit from uiaRawElmProvider, which is in a different directory.
This causes problems for things outside the a11y module which include (either directly or indirectly) AccessibleWrap.h.
While this could be fixed by exporting more headers, we also end up with type conflicts with Windows API headers.
It's better if we can minimise what gets included anyway.

1. In AccessibleWrap.h, stop including MsaaAccessible.h and forward declare MsaaAccessible.
2. Move the definition of the AccessibleWrap destructor into the cpp. Otherwise, we run into compile errors due to the RefPtr<MsaaAccessible> destructor.
3. AccessibleWrap still has a private UpdateSystemCaretFor function which takes an HWND, which requires windows.h. To avoid including that in AccessibleWrap.h, move it to a static function only inside the cpp file. Rename it to prevent compiler overload confusion.
4. Since code outside the a11y module no longer needs to indirectly include MsaaAccessible, don't export MsaaAccessible.h any more.
5. While we're at it, don't export MsaaIdGenerator.h either, which is never used outside the Windows a11y code.

There should be no functional change here.

Differential Revision: https://phabricator.services.mozilla.com/D202549
2024-02-28 03:28:47 +00:00
Bojidar Marinov
09947bf26c Bug 1677823 - Use OTHER_LOCAL instead of HISTORY for about: pages. r=adw
Otherwise, they get removed when browser.urlbar.suggest.history is off.

Differential Revision: https://phabricator.services.mozilla.com/D202601
2024-02-28 03:02:58 +00:00
Daisuke Akatsuka
46f89effa7 Bug 1882174: Vendor application-services into mozilla-central r=adw,lina
Differential Revision: https://phabricator.services.mozilla.com/D202894
2024-02-28 02:59:00 +00:00
Glenn Watson
a7467e3971 Bug 1882414 - Remove cs_clip_image shader and related code r=gfx-reviewers,lsalzman
It's no longer used now that the quad-based image mask code
is stable and used everywhere.

Differential Revision: https://phabricator.services.mozilla.com/D202889
2024-02-28 01:49:28 +00:00
Dana Keeler
86c0d58f4d Bug 1881335 - collect error page telemetry for TLS errors and non-overridable certificate errors r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D202350
2024-02-28 00:57:56 +00:00
sotaro
c44ac56b90 Bug 1880387 - Add support of NVIDIA RTX Video TrueHDR for video playback r=gfx-reviewers,jrmuizel
TrueHDR could be enabled only with nightly.

Differential Revision: https://phabricator.services.mozilla.com/D201909
2024-02-28 00:02:23 +00:00
Iulian Moraru
b33d008247 Backed out changeset b0a288cd4c4d (bug 1882202) for causing OSX build bustages. CLOSED TREE 2024-02-28 02:00:56 +02:00
Kelly Cochrane
349a25f771 Bug 1849175 - Add pinned tabs to Open Tabs in Firefox View r=desktop-theme-reviewers,fxview-reviewers,fluent-reviewers,flod,sclements,nsharpley,dao
Differential Revision: https://phabricator.services.mozilla.com/D201652
2024-02-27 23:33:19 +00:00
Dale Harvey
d0c026e9ae Bug 1882043 - Ensure recent searches are shown above topsites. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D202765
2024-02-27 23:30:09 +00:00
Masayuki Nakano
b4501d1622 Bug 1881989 - Make AutoDeleteRangesHandler::ExtendOrShrinkRangeToDelete handle it with the closest editable ancestor block or inline editing host r=m_kato
It's currently handling its job with the closest ancestor block which may be
non-editable and editing host which is either inline or block.  However, the
closest block is required for check whether the range won't be extended outside
the closest block of the common ancestor of the range and the range is
guaranteed that they are in an editing host.  Therefore, it's not required if
it's outside the editing host.  So, comparisons which check whether a node is
either/neither editing host or/nor ancestor block can get same result with
comparing with the closest one of the editing host or the closest editable
block.

Differential Revision: https://phabricator.services.mozilla.com/D202697
2024-02-27 23:15:36 +00:00
Jules Simplicio
20495a80d2 Bug 1882177 - Clean up remaining line height tokens that were left behind r=desktop-theme-reviewers,reusable-components-reviewers,dao,mstriemer
Removed
* `--button-line-height` and `--input-text-line-height` no longer at use

Differential Revision: https://phabricator.services.mozilla.com/D202841
2024-02-27 23:01:52 +00:00