Commit Graph

872444 Commits

Author SHA1 Message Date
Jan de Mooij
60a2075868 Bug 1877193 part 12 - Use JS::Prefs for destructuring_fuse pref. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D200003
2024-02-06 12:51:32 +00:00
Jan de Mooij
b5cecef1f9 Bug 1877193 part 11 - Use JS::Prefs for experimental.new_set_methods pref. r=anba
Differential Revision: https://phabricator.services.mozilla.com/D200002
2024-02-06 12:51:31 +00:00
Jan de Mooij
64f095ae18 Bug 1877193 part 10 - Use JS::Prefs for experimental.shadow_realms pref. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D200001
2024-02-06 12:51:31 +00:00
Jan de Mooij
c6e9374a01 Bug 1877193 part 9 - Use JS::Prefs for experimental.iterator_helpers pref. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D200000
2024-02-06 12:51:30 +00:00
Jan de Mooij
ce14697435 Bug 1877193 part 8 - Use JS::Prefs for property_error_message_fix pref. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D199999
2024-02-06 12:51:30 +00:00
Jan de Mooij
6cde31fd6f Bug 1877193 part 7 - Use JS::Prefs for well_formed_unicode_strings pref. r=allstarschh
Differential Revision: https://phabricator.services.mozilla.com/D199998
2024-02-06 12:51:30 +00:00
Jan de Mooij
cae5c1d4fd Bug 1877193 part 6 - Use JS::Prefs for arraybuffer_transfer pref. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D199997
2024-02-06 12:51:29 +00:00
Jan de Mooij
5b67da584f Bug 1877193 part 5 - Use JS::Prefs for array_grouping pref. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D199996
2024-02-06 12:51:29 +00:00
Jan de Mooij
d72b7640e9 Bug 1877193 part 4 - Use JS::Prefs for experimental.symbols_as_weakmap_keys pref. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D199995
2024-02-06 12:51:28 +00:00
Jan de Mooij
8e800aa8a4 Bug 1877193 part 3 - Add testing functions to look up pref names and values. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D199994
2024-02-06 12:51:28 +00:00
Jan de Mooij
befd38d972 Bug 1877193 part 2 - Add JS shell flags to list and set prefs. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D199993
2024-02-06 12:51:28 +00:00
Jan de Mooij
26af0c8ab8 Bug 1877193 part 1 - Make JS prefs in StaticPrefList.yaml available in SpiderMonkey. r=mgaudet,KrisWright
Adding a new pref for a new SpiderMonkey feature or optimization requires a lot of boilerplate code.

This patch stack lets us eliminate almost all of this boilerplate by parsing `StaticPrefList.yaml`
at SpiderMonkey build time and generating code to automatically expose the `javascript.options.*`
prefs that have the `set_spidermonkey_pref` attribute.

Both JS shell and browser builds will default to the pref value in `StaticPrefList.yaml`.
In the JS shell, it'll be possible to set a pref value with `--setpref` or a custom shell flag.
Code for this will be added in later patches.

Differential Revision: https://phabricator.services.mozilla.com/D199992
2024-02-06 12:51:27 +00:00
Emilio Cobos Álvarez
b0a124b462 Bug 1875100 - Make gamepad mochitests don't rely on creating an impossible situation. r=cmartin
I want to restrict a bit activeness setting (in particular, making sure
that this is only explicitly set for top levels, and in the parent
process).

This holds, in practice, except for these tests.

Rewrite test_gamepad_hidden_frame.html to use tabs instead of privileged
APIs.

Differential Revision: https://phabricator.services.mozilla.com/D199368
2024-02-06 12:50:35 +00:00
Kershaw Chang
3d9e128594 Bug 1877744 - Make sure WebSocketImpl::OnStart is called on target thread, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D200368
2024-02-06 12:32:14 +00:00
Stanca Serban
07cc43347d Backed out changeset 2a94e8bad21e (bug 1874716) for causing CXX related build bustages. CLOSED TREE 2024-02-06 14:55:40 +02:00
Henrik Skupin
527aa78bb4 Bug 1876035 - [remote] Only register NavigationListenerActor when a window global is available. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D200769
2024-02-06 12:14:09 +00:00
Jonathan Kew
d9682f23b1 Bug 1824671 - patch 11 - Make the JS build run cbindgen unconditionally, so that the unicode-bidi-ffi header gets generated. r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D200385
2024-02-06 11:41:13 +00:00
Jonathan Kew
213ad19af0 Bug 1824671 - patch 10 - Switch unicode-bidi-ffi to use icu_properties as data source. r=platform-i18n-reviewers,dminor
Looking up the BidiClass property via icu_properties is more efficient than the
built-in version provided in unicode-bidi.

Differential Revision: https://phabricator.services.mozilla.com/D198449
2024-02-06 11:41:12 +00:00
Jonathan Kew
0819bee024 Bug 1824671 - patch 9 - Run ./mach vendor rust to bring in icu_properties. r=supply-chain-reviewers,dminor
Differential Revision: https://phabricator.services.mozilla.com/D198448
2024-02-06 11:41:11 +00:00
Jonathan Kew
5941b4e7cd Bug 1824671 - patch 8 - Add icu_properties as a dependency to unicode-bidi-ffi. r=platform-i18n-reviewers,dminor
This will cause `./mach vendor rust` to pull it into the tree.

Note that actually running `./mach vendor rust` requires the file-size limit in vendor_rust.py
to be temporarily raised (from 100K to 300K is enough) because of large files in the icu_properties
crate. This does not contribute significant bloat to the binary, though, because only actually-used
data ends up in the build.

Differential Revision: https://phabricator.services.mozilla.com/D198446
2024-02-06 11:41:11 +00:00
Jonathan Kew
99e3a9c1ee Bug 1824671 - patch 7 - Add icu_properties & dependencies to audits.toml and to package license whitelist, to enable it to be vendored. r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D198445
2024-02-06 11:41:11 +00:00
Jonathan Kew
590087f090 Bug 1824671 - patch 6 - Update reference for examples in clone-intrinsic-size-bidi that now work better. r=platform-i18n-reviewers,dminor
Another edge-case difference due to unicode-bidi more closely following the UAX#9 recommendations
regarding directional controls. Any effects on real-world content are just as likely to be
positive as negative.

Differential Revision: https://phabricator.services.mozilla.com/D197893
2024-02-06 11:41:10 +00:00
Jonathan Kew
f46e21ae23 Bug 1824671 - patch 5 - Update WPT metadata for tests affected by the change in bidi implementation. r=platform-i18n-reviewers,dminor
The failure in bidi-011.xht occurs because unicode-bidi (unlike ICU4C) closely follows the
implementation notes in UAX#9 regarding treatment of the bidi embedding/override controls,
if the characters are not actually removed from the buffer during processing. The (non-normative)
algorithm given in the spec results in embedding initiators taking on the level of the context,
whereas the legacy ICU4C behavior gives them the level of the embedded (or overridden) text.
This difference affects bidi continuation creation when the directional controls occur exactly
at inline element boundaries, and is observable in this test.

We could fix this by post-processing the unicode-bidi results to conform to what ICU4C did,
but I don't think it's worth it for this extremely niche case (which is not mandated by any
spec, AFAICT; and it's unclear whether any particular behavior is better or worse than any
other). Moreover, applying a tweak to fix this will also revert the newly-passing examples
in css-text/white-space/white-space-collapse-002.html, so we'd lose as much as we'd gain.

The new failures in first-letter-punctuation-126 and -127 are because unlike ICU4C, unicode-bidi
(correctly, per spec) assigns level 2 to characters with class AN where the surrounding context
is level 0. These two examples use Arabic numeric punctuation characters that have class AN in
conjunction with a Latin letter (class L), and so we get a bidi level boundary between the letter
and the punctuation, which interferes with our first-letter implementation.

This is such an obscure edge case, extremely unlikely to ever occur in real content, that I'm happy
just marking it as an expected failure for now. Our entire first-letter implementation has much
more serious issues than this.

Differential Revision: https://phabricator.services.mozilla.com/D197892
2024-02-06 11:41:10 +00:00
Jonathan Kew
54fc0320be Bug 1824671 - patch 4 - Update Gtest to accept either ICU4C or unicode-bidi handling of the embedding controls (explicitly unspecified by UAX#9). r=platform-i18n-reviewers,dminor
unicode-bidi more closely follows the UAX#9 recommendations for processing embedding controls
if they're not actually removed from the text; but this is not an actual spec requirement,
so either behavior is acceptable.

Differential Revision: https://phabricator.services.mozilla.com/D197891
2024-02-06 11:41:09 +00:00
Jonathan Kew
fafbd7f128 Bug 1824671 - patch 3 - Convert intl Bidi component to be backed by the unicode-bidi crate. r=platform-i18n-reviewers,dminor
With this, the intl::Bidi component no longer relies on ICU4C's ubidi_* APIs.

Differential Revision: https://phabricator.services.mozilla.com/D197890
2024-02-06 11:41:09 +00:00
Jonathan Kew
7731a2b908 Bug 1824671 - patch 2 - Create a minimal unicode-bidi-ffi crate to expose APIs needed by the intl::Bidi component. r=platform-i18n-reviewers,dminor
Rather than Diplomat-generated, this is hand-written to provide just the functionality needed in intl::Bidi,
to minimize the amount of glue code and ensure a close match to Gecko requirements.

Differential Revision: https://phabricator.services.mozilla.com/D197889
2024-02-06 11:41:09 +00:00
Jonathan Kew
b372b36929 Bug 1824671 - patch 1a - Bump unicode-bidi to v0.3.15 to pick up bug-fix #119 and extended get_base_direction_full API. r=supply-chain-reviewers,dminor
Differential Revision: https://phabricator.services.mozilla.com/D197888
2024-02-06 11:41:08 +00:00
Jonathan Kew
a1a3d8bbcf Bug 1824671 - patch 1 - Vendor unicode-bidi 0.3.14, in preparation for migrating the intl Bidi component from ICU4C. r=supply-chain-reviewers,dminor
unicode-bidi 0.3.14 introduces native utf-16 support, and other additional
APIs that we'll need for Gecko integration.

Differential Revision: https://phabricator.services.mozilla.com/D197887
2024-02-06 11:41:08 +00:00
Jonathan Kew
15a0acfe39 Bug 1878286 - Eliminate usage of fontlist::Pointer in IPDL. r=gfx-reviewers,lsalzman
No change in behavior.

Differential Revision: https://phabricator.services.mozilla.com/D200564
2024-02-06 10:41:50 +00:00
Tooru Fujisawa
73c36f0f8f Bug 1878817 - Remove unused ModuleLoaderBase::mEventTarget member. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D200753
2024-02-06 10:15:29 +00:00
pstanciu
7f73c213d0 Backed out 3 changesets (bug 1876300, bug 1871386, bug 1872748) for causing multiple failures on Linux asan opt. CLOSED TREE
Backed out changeset 5985445bd5c1 (bug 1872748)
Backed out changeset 9cbb0162efb2 (bug 1871386)
Backed out changeset 7c3f969f4730 (bug 1876300)
2024-02-06 13:22:23 +02:00
pstanciu
1200f7991d Backed out 2 changesets (bug 1878108) for causing sm bustages in Attributes.h. CLOSED TREE
Backed out changeset 05e2d2bc1260 (bug 1878108)
Backed out changeset bb356c39c0e2 (bug 1878108)
2024-02-06 13:11:26 +02:00
serge-sans-paille
79d84f74a5 Bug 1874716 - Invalidate old configure's config.cache upon compiler change r=glandium
Otherwise it's loaded unconditionally and some checks are skipped.

Differential Revision: https://phabricator.services.mozilla.com/D198583
2024-02-06 09:55:17 +00:00
serge-sans-paille
a0f4fc0125 Bug 1872748 - Move linker checks from old-configure to configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D199224
2024-02-06 09:54:12 +00:00
serge-sans-paille
bf2b4a82a9 Bug 1871386 - Move -Wl,-build-id check from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D197069
2024-02-06 09:54:12 +00:00
serge-sans-paille
1b9ef3e953 Bug 1876300 - Introduce linker checks to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D199495
2024-02-06 09:54:11 +00:00
jingz
23adbf7d3d Bug 1832792 - [remote] Update RemoteValue deserialization methods to have serializedValue as first argument r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D200214
2024-02-06 09:44:12 +00:00
Peter Van der Beken
e6a1561035 Bug 1878631 - Remove some unused selection code. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D200620
2024-02-06 09:31:43 +00:00
Marco Bonardo
df283b0ddd Bug 1877976 - Merge the Nimbus frecency feature in the urlbar one. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D200319
2024-02-06 09:21:14 +00:00
Emilio Cobos Álvarez
b5234811b5 Bug 1878108 - Annotate FunctionRef constructor with MOZ_LIFETIME_BOUND. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D200433
2024-02-06 08:51:51 +00:00
Emilio Cobos Álvarez
02f7ec8f63 Bug 1878108 - Replace custom MOZ_LIFETIME_BOUND with built-in. r=nika,glandium
The built-in version is better as it also allows annotating particular
parameters (it not only applies to method declarations).

Differential Revision: https://phabricator.services.mozilla.com/D200432
2024-02-06 08:51:50 +00:00
Stanca Serban
1299ff59c9 Backed out changeset 26e3ad3bf78e (bug 1878224) for causing build bustages. CLOSED TREE 2024-02-06 11:45:20 +02:00
Gregory Pappas
ffbc3eded6 Bug 1877883 - More consistently refer to 'your organization' in enterprise policy notices instead of 'your administrator' or 'system administrator' r=mkaply,fluent-reviewers,settings-reviewers,fxview-reviewers,bolsson,sclements,extension-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D200328
2024-02-06 08:27:10 +00:00
André Bargull
0c23468ab6 Bug 1878261: Prefer local variables over fromMarkedLocation. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D200673
2024-02-06 07:28:45 +00:00
André Bargull
70255a0d3e Bug 1878378: Handle non-catchable exceptions in shadow realm. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D200603
2024-02-06 07:26:15 +00:00
André Bargull
d9e6ae12f4 Bug 1878657: Enable fuzzing for resizable/growable (Shared)ArrayBuffers. r=spidermonkey-reviewers,jonco
Differential Revision: https://phabricator.services.mozilla.com/D200635
2024-02-06 07:24:24 +00:00
Mike Hommey
f9e4a65648 Bug 1878759 - Bump cargo-vet to 0.9.1. r=supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D200724
2024-02-06 07:05:17 +00:00
Mozilla Releng Treescript
93bb302d88 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
be -> 4122429229b1781073ca70688799e6838d64f5c6
cs -> cb929be09035040da5a00340ccd90ce1d0f7a976
dsb -> 4025f3ce9667159c8ea04282c883bc1f416d2e47
en-GB -> 1a351342f21babc722b6a833398bb5950db2f13c
es-AR -> 427fd88bd2a7e4edd51aaf253a7b4337fecf2ab9
es-CL -> 63082f562073df09429cc7946dabc329f9cf65f4
he -> a807eadb717bf73630520c28967dd5d5bcf093c9
hsb -> 3838b81ca1e7bd801927a9e934ca68c3cda42cdf
ia -> 9a528a256bc29aa9e7d03d07d31eb40dc9d14c0d
it -> 0265fa110b137109ece3d6d0e675b4fb9a2aebad
ko -> 8cd7fa7cc96859214912cd3678588b32891871a6
pa-IN -> 1a42a944933cded20406a070492736de0d5da8ea
ru -> 00e59ccb2d043abd9600c4f39cd3fa083bbc0157
sv-SE -> f5dcb23ee71d45e4f500d08c707bfc1025009d2e
th -> de9fe90d5a04ca6dd577a242d45257a92a392b28
zh-CN -> ffff01ce600ef3022e397ee4fdadbf655e21bd85
2024-02-06 07:03:23 +00:00
Haik Aftandilian
8335566fdb Bug 1878169 - dependentlibs.list Is missing files on macOS r=glandium
Update dependentlibs.py to account for the earlier change in bug 1770484 that replaced use of @executable_path with @rpath.

Differential Revision: https://phabricator.services.mozilla.com/D200497
2024-02-06 06:42:40 +00:00
Nicolas Chevobbe
8970e59465 Bug 1878490 - [devtools] Expose devtools.inspector.rule-view.focusNextOnEnter in settings panel. r=devtools-reviewers,fluent-reviewers,ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D200611
2024-02-06 06:07:08 +00:00