Commit Graph

880538 Commits

Author SHA1 Message Date
Sarah Clements
0980f19cc6 Bug 1924107 - Add missing title and aria attributes to menu buttons in sidebar r=Mardak,sidebar-reviewers,fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D226010
2024-10-21 13:20:58 +00:00
Debadree Chatterjee
4837460baa Bug 1884758 - Properly return if emitPickN fails. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D226237
2024-10-21 13:16:10 +00:00
Alex Franchuk
53f7eab05e Bug 1454816 - Remove base::SharedMemory r=ipc-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D224154
2024-10-21 13:08:44 +00:00
Alex Franchuk
d60af44cea Bug 1454816 - Replace uses of base::SharedMemory r=ipc-reviewers,media-playback-reviewers,padenot,nika
Differential Revision: https://phabricator.services.mozilla.com/D224153
2024-10-21 13:08:44 +00:00
Alex Franchuk
1991eb82f1 Bug 1454816 - Add mach ReadOnlyCopyImpl r=ipc-reviewers,nika,jld
This is new functionality to support shared memory freezing with mach
ports.

Differential Revision: https://phabricator.services.mozilla.com/D224375
2024-10-21 13:08:43 +00:00
Alex Franchuk
146847f3b6 Bug 1454816 - Move base::SharedMemory into mozilla::ipc::SharedMemory r=ipc-reviewers,jld,nika
This flattens all platforms to each have a single SharedMemory
implementation. This includes adding support for freezing mach shared
memory.

Differential Revision: https://phabricator.services.mozilla.com/D224152
2024-10-21 13:08:43 +00:00
Nicolas B. Pierron
b9e3e2776d Bug 1911341 - Only initialize AutoWritableJitCode with a JitCode. r=jandem
Remove AutoWritableJitCode constructor which was only used by the Linker, and
fix the origin and the size of the memory which is mapped as writtable to
include the JitCodeHeader.

Differential Revision: https://phabricator.services.mozilla.com/D222286
2024-10-21 13:00:22 +00:00
Otto Länd
730b13b123 Bug 1717448: apply code formatting via Lando
# ignore-this-changeset
2024-10-21 13:44:00 +00:00
Paul Adenot
add066d621 Bug 1717448 - Replace printf-style logging by MOZ_LOG_FMT in AudioData.cpp. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D216968
2024-10-21 12:54:57 +00:00
Paul Adenot
18dc443d54 Bug 1717448 - Add some documentation about using {fmt} in Gecko. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D217300
2024-10-21 12:54:57 +00:00
Paul Adenot
c11fa45e49 Bug 1717448 - Add some tests for Gecko integration. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D217299
2024-10-21 12:54:56 +00:00
Nika Layzell
5a28f35835 Bug 1717448 - Integrate {fmt} with nsString. r=xpcom-reviewers,nika,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D217721
2024-10-21 12:54:56 +00:00
Paul Adenot
6a5aa38d87 Bug 1717448 - Print the diagnostic message in AssertedCast with {fmt}. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D216967
2024-10-21 12:54:55 +00:00
Paul Adenot
479bf162ce Bug 1717448 - Teach MOZ_LOG to use {fmt}. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D216966
2024-10-21 12:54:55 +00:00
Paul Adenot
2c7f1b6e4e Bug 1717448 - Ignore allocations in done within {fmt}. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D218067
2024-10-21 12:54:55 +00:00
Paul Adenot
02128bf280 Bug 1717448 - Exclude {fmt} from gecko-specific checks. r=glandium,nika
It looks like the excluding logic around ThirdPartyPaths.txt works on include
paths, and not on the path of files on disk, so it's necessary to explicitly
exclude files in `fmt/`. Two checks fail as things stand today:

- the one that checks that `explicit` is used for single-arg ctors, this is used
throughout `{fmt}`
- the one that checks that `val != val` isn't used to check for NaN. This is
used in `{fmt}` because `std::isnan` doesn't have an overload for `__float128`.
This check is now ignoring third-party code.

Differential Revision: https://phabricator.services.mozilla.com/D217960
2024-10-21 12:54:54 +00:00
Paul Adenot
ef2a4fe121 Bug 1717448 - Exclude {fmt} internals from hazard analysis. r=sfink
`{fmt}` can use two function pointers under the hood and that trips our
analysis. The function pointers are:

- to grow internal memory buffers for formatting (the allocator can be
customized)
- to format a particular value using a user-supplied function (that is const)

I haven't been able to use the `AutoSuppressGCAnalsysis` because of cicular
include + various bits of code needing to be in header files for inlining +
templates, this will do.

Differential Revision: https://phabricator.services.mozilla.com/D218770
2024-10-21 12:54:54 +00:00
Paul Adenot
829683923f Bug 1717448 - Don't use std::generic_category and other error reporting facilities, ignore IO errors. r=glandium
Otherwise we get:

TEST-UNEXPECTED-FAIL | check_binary_compat | SmokeDMD | We do not want these libstdc++ symbol versions to be used:
INFO -   _ZNSt3_V216generic_categoryEv (GLIBCXX_3.4.21)

And also we'd rather not crash on IO errors, that are probably not going to be
used in production anyways.

Differential Revision: https://phabricator.services.mozilla.com/D218066
2024-10-21 12:54:53 +00:00
Paul Adenot
2974b1ccc1 Bug 1717448 - Make {fmt} use double-conversion for converting float to string internally. r=glandium,nika
Differential Revision: https://phabricator.services.mozilla.com/D217724
2024-10-21 12:54:53 +00:00
Paul Adenot
6fcece10f4 Bug 1717448 - Patch {fmt} to avoid crashing when printing nullptr strings, and attempting to print to an invalid FILE*. r=nika
This brings `{fmt}` closer to our printf.

Differential Revision: https://phabricator.services.mozilla.com/D217722
2024-10-21 12:54:53 +00:00
Paul Adenot
f646306442 Bug 1717448 - Vendor {fmt} in third_party. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D216921
2024-10-21 12:54:52 +00:00
Peter Van der Beken
5e01f6047b Bug 1715480 - Re-enable mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/AccessibilityTest.kt with BFCache in parent. r=kaya,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D226275
2024-10-21 12:43:52 +00:00
Noemi Erli
6aad9739d6 Backed out changeset 6a19d85abb6c (bug 1885253) for causing failures in browser_ml_engine.js CLOSED TREE 2024-10-21 16:36:36 +03:00
Noemi Erli
c039a8c0dd Backed out changeset e3ad21dfdd4b (bug 1914895) for causing SM bustages 2024-10-21 16:29:12 +03:00
Tarek Ziadé
7aa8632fce Bug 1885253 - make sure we don't ask for 2GiB in the CI by default r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D226223
2024-10-21 12:37:25 +00:00
Erich Gubler
cd25f6737a Bug 1925328, part 3 - test(webgpu): tag consistently executing (but long) tests with webgpu-long r=webgpu-reviewers,teoxoy
Differential Revision: https://phabricator.services.mozilla.com/D226013
2024-10-21 12:16:42 +00:00
Erich Gubler
670555dd84 Bug 1925328, part 2 - test(webgpu): accumulate observed intermittents in tier 3 r=webgpu-reviewers,teoxoy
Differential Revision: https://phabricator.services.mozilla.com/D225383
2024-10-21 12:16:41 +00:00
Erich Gubler
3f38f171c1 Bug 1925328, part 1 - test(webgpu): new permas and other notables in tier 3 r=webgpu-reviewers,teoxoy
Differential Revision: https://phabricator.services.mozilla.com/D225382
2024-10-21 12:16:41 +00:00
ffxbld
212ead8b44 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes ct-logs - r=release-managers,dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D226308
2024-10-21 12:08:37 +00:00
longsonr
005743256f Bug 1925761 - Use nsAString::const_iterator to iterate strings rather than RangedPtr r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D226222
2024-10-21 12:01:01 +00:00
James Graham
c467094176 Bug 1925372 - Allow running mach test-interventions without a build, r=denschub,twisniewski
command_context.substs isn't available if we haven't run configure in the source tree,
but in that case we can just infer the build type from the arguments anyway.

Differential Revision: https://phabricator.services.mozilla.com/D226041
2024-10-21 12:00:22 +00:00
Norisz Fay
224773d44d Backed out changeset d4c4540a5a4a (bug 1921811) for causing bc failures on browser_urlbar_keyed_search.js CLOSED TREE 2024-10-21 15:10:55 +03:00
Brendan Abolivier
605ee7a9a5 Bug 1925971 - Only call the interposer when the fork server is enabled. r=gerard-majax
Differential Revision: https://phabricator.services.mozilla.com/D226303
2024-10-21 11:39:05 +00:00
Jan de Mooij
7132e31ec4 Bug 1914895 - Make Symbol.unscopables support optional for non-syntactic with-environments. r=arai
In D220213 we tried to change `Symbol.unscopables` so that it's only supported on
syntactic `with` environments (for performance reasons). This failed some WPT tests
for event handlers because they use non-syntactic with-environments but have to
support `Symbol.unscopables`.

This patch adds a `JS::EnvironmentChain` class and uses it instead of an object vector
for some JS APIs. This class also lets the embedder specify whether `Symbol.unscopables`
must be supported. The `evaluate` shell function now has an option for this too.

Differential Revision: https://phabricator.services.mozilla.com/D226139
2024-10-21 11:32:03 +00:00
Emilio Cobos Álvarez
c3d7719c2c Bug 1791226 - Don't paint line-clamped lines. r=layout-reviewers,dshin
This matches the proposal in
https://github.com/w3c/csswg-drafts/pull/10816, and creates much better
behavior.

Differential Revision: https://phabricator.services.mozilla.com/D157578
2024-10-21 10:41:26 +00:00
Jonathan Kew
b144972d29 Bug 1925854 - Run all text through gfxScriptItemizer, even if purely 8-bit. r=gfx-reviewers,lsalzman
This is important for script-based font selection, as it avoids forcing
Latin script on 8-bit text runs that contain only Common characters such
as punctuation, and may be better rendered according to the context
language.

By itself this does not change user-visible behavior, but it will affect
how CSS generic font families are resolved in some cases once we implement
bug 1748636.

Differential Revision: https://phabricator.services.mozilla.com/D226287
2024-10-21 10:32:42 +00:00
Jonathan Kew
e724c8e6ff Bug 1925854 - Make gfxScriptItemizer support both 16-bit and 8-bit text buffers. r=gfx-reviewers,lsalzman
This does not change behavior yet, just prepares for the next patch
which will actually use the 8-bit version.

Differential Revision: https://phabricator.services.mozilla.com/D226286
2024-10-21 10:32:41 +00:00
Jonathan Kew
ced9ad2340 Bug 1925930 - Minor cleanup and API update in gfxScriptItemizer. r=gfx-reviewers,lsalzman
This does not change existing behavior.

The main update is to make the Next() method return a Run struct,
instead of three separate outparams and a function result (bool).
This makes things tidier for the calling code.

Differential Revision: https://phabricator.services.mozilla.com/D226285
2024-10-21 10:32:40 +00:00
Emilio Cobos Álvarez
9fa478edc3 Bug 1921811 - Make URLBar a popover. r=emilio,desktop-theme-reviewers,tabbrowser-reviewers,sidebar-reviewers,urlbar-reviewers,dao,mak,dao?
* Fix various z-index/paint order issues by making the urlbar a popover - which moves the open
 urlbar to the top layer, outside the toolbox

* Adjust the urlbar position when the autohide menubar shows and hides

Combines work from nsharpley and sfoster on top of emilio's original popover patch

Differential Revision: https://phabricator.services.mozilla.com/D224201
2024-10-21 10:24:06 +00:00
Oriol Brufau
7228a919b8 Bug 1925885 - Import Stylo color changes from Servo. r=emilio
No change in behavior for Gecko.

Differential Revision: https://phabricator.services.mozilla.com/D226265
2024-10-21 10:12:32 +00:00
Jonathan Watt
69c1fe8fd1 Bug 1903662. Annotate WPT offset-path-shape-polygon-002.html as fuzzy-on-Android. r=layout-reviewers,tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D226296
2024-10-21 10:11:22 +00:00
Oriol Brufau
733f9bb96b Bug 1925947 - Fix wrong documentation saying that MaxSize is for min-height. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D226292
2024-10-21 10:11:03 +00:00
William Wen
2e7ed4c99f Bug 1914793 - Change the protections popup toast to be a button click. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D224487
2024-10-21 10:03:31 +00:00
Alexandra Borovova
427b6971af Bug 1925683 - Remove wrong test expectations for wasm/jsapi/jspi/js-promise-integration.any.js. CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D226299
2024-10-21 10:41:49 +00:00
Nicolas Chevobbe
2c0ccfcb52 Bug 1925913 - [devtools] Fix new attribute button in markup view. r=devtools-reviewers,jdescottes.
The button could cover previous element (the tagname or an attribute value),
taking precedence over the clicked element.
To avoid this, we move the button hover the > character.

Differential Revision: https://phabricator.services.mozilla.com/D226278
2024-10-21 09:41:11 +00:00
Tooru Fujisawa
5e9103ae0a Bug 1925778 - Do not add performance entry when the CSS loader is already dropped from the document. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D226235
2024-10-21 09:33:59 +00:00
Jan Varga
493b4bc06c Bug 1904562 - Remove unused DirectoryLock class; r=dom-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D214858
2024-10-21 09:31:28 +00:00
Jan Varga
48a999da72 Bug 1904562 - Change DirectoryLockImpl to be topmost class; r=dom-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D214857
2024-10-21 09:31:27 +00:00
Jan Varga
a8ff1db757 Bug 1904562 - Convert QuotaManager to use concrete directory lock type; r=dom-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D214856
2024-10-21 09:31:26 +00:00
Jan Varga
36ded0ff50 Bug 1904562 - Convert IndexedDB to use concrete directory lock type; r=dom-storage-reviewers,jari
Differential Revision: https://phabricator.services.mozilla.com/D214855
2024-10-21 09:31:26 +00:00