Граф коммитов

776885 Коммитов

Автор SHA1 Сообщение Дата
André Bargull 4ba5a5d17c Bug 1738422 - Part 15: Updating ICU requires a clobber. r=platform-i18n-reviewers,dminor
Differential Revision: https://phabricator.services.mozilla.com/D129937
2021-11-16 17:03:00 +00:00
André Bargull 626e740ea6 Bug 1738422 - Part 14: Allow a larger maximum positive exponent in ToIntlMathematicalValue. r=tcampbell
<https://unicode-org.atlassian.net/browse/ICU-21684> has been fixed in ICU 70,
so we no longer have to restrict the maximum positive exponent to `99'999`. ICU
allows exponents up to `999'999'999`, but formatting a number that large
requires multiple minutes in ICU. If we limit the maximum positive exponent to
`9'999'999`, we allow numbers much larger than just `99'999`, while still
keeping the time needed to format the string at an acceptable level.

Depends on D129935

Differential Revision: https://phabricator.services.mozilla.com/D129936
2021-11-16 17:03:00 +00:00
André Bargull 2b25e46cab Bug 1738422 - Part 13: Remove no longer needed ICU workarounds and conditional code. r=platform-i18n-reviewers,dminor
Number range formatting is stable in ICU 70, which means we can remove
`MOZ_INTL_HAS_NUMBER_RANGE_FORMAT` and `MOZ_INTL_PLURAL_RULES_HAS_SELECT_RANGE`.

The following bugs have been fixed in ICU 70, so we can remove the workarounds
for them:
- https://unicode-org.atlassian.net/browse/ICU-21109
- https://unicode-org.atlassian.net/browse/ICU-21622
- https://unicode-org.atlassian.net/browse/ICU-21641
- https://unicode-org.atlassian.net/browse/ICU-21683
- https://unicode-org.atlassian.net/browse/ICU-21685
- https://unicode-org.atlassian.net/browse/ICU-21686

Depends on D129934

Differential Revision: https://phabricator.services.mozilla.com/D129935
2021-11-16 17:02:59 +00:00
André Bargull 2b4f928d8c Bug 1738422 - Part 12: Bump minimum required ICU version to 70.1. r=platform-i18n-reviewers,dminor
Requiring at least ICU 70 allows to clean-up code in the next patch of this stack.

Depends on D129933

Differential Revision: https://phabricator.services.mozilla.com/D129934
2021-11-16 17:02:59 +00:00
André Bargull ff9c1aa3c8 Bug 1738422 - Part 11: Update expected test results. r=platform-i18n-reviewers,dminor
Depends on D129932

Differential Revision: https://phabricator.services.mozilla.com/D129933
2021-11-16 17:02:58 +00:00
André Bargull 03c3a9ff0e Bug 1738422 - Part 10: Remove approximately sign detection code. r=platform-i18n-reviewers,dminor
This is no longer necessary after part 9.

Depends on D129931

Differential Revision: https://phabricator.services.mozilla.com/D129932
2021-11-16 17:02:58 +00:00
André Bargull 2e3c881a95 Bug 1738422 - Part 9: Add a separate UNumberFormatFields constant for the approximately sign. r=platform-i18n-reviewers,dminor
Our previous heuristic no longer works, so we now have to patch ICU directly to
support detecting the approximately sign.

Depends on D129930

Differential Revision: https://phabricator.services.mozilla.com/D129931
2021-11-16 17:02:57 +00:00
André Bargull d8de6ee81b Bug 1738422 - Part 8: Handle new narrow-quarter symbol type. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D129930
2021-11-16 17:02:57 +00:00
André Bargull 0a3862394e Bug 1738422 - Part 7: Update measurement units. r=tcampbell
Update measurement units by running `./make_intl_data.py units`.

Depends on D129928

Differential Revision: https://phabricator.services.mozilla.com/D129929
2021-11-16 17:02:56 +00:00
André Bargull 0d3f454924 Bug 1738422 - Part 6: Update numbering systems. r=tcampbell
Add the new numbering system "tnsa" and then update numbering systems by
by running `./make_intl_data.py numbering`.

Adding "tnsa" to ECMA-402 is tracked at <https://github.com/tc39/ecma402/pull/614>.
ECMA-402 allows to support additional numbering systems, so even before that PR,
it's okay to support "tnsa". (<https://tc39.es/ecma402/#annex-implementation-dependent-behaviour>)

Depends on D129927

Differential Revision: https://phabricator.services.mozilla.com/D129928
2021-11-16 17:02:56 +00:00
André Bargull 1c1c5bd5f9 Bug 1738422 - Part 5: Update language tag mappings. r=platform-i18n-reviewers,dminor
Update language tag mappings by running `./make_intl_data.py langtags core.zip`.

The direct invocation `./make_intl_data.py langtags` doesn't work, because
"https://unicode.org/Public/cldr/40/core.zip" was incorrectly generated and
contains another "core.zip" file within "core.zip".

Depends on D129926

Differential Revision: https://phabricator.services.mozilla.com/D129927
2021-11-16 17:02:55 +00:00
André Bargull 365533a053 Bug 1738422 - Part 4.2: Handle new script codes in GetCommonFallbackFonts. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D130372
2021-11-16 17:02:55 +00:00
André Bargull 5e425546cd Bug 1738422 - Part 4: Update Gecko to Unicode 14. r=platform-i18n-reviewers,dminor
Update to Unicode 14 by running `genUnicodePropertyData.pl` and `genSpecialCasingData.pl`.

Depends on D129925

Differential Revision: https://phabricator.services.mozilla.com/D129926
2021-11-16 17:02:54 +00:00
André Bargull 44248c564d Bug 1738422 - Part 3: Update SpiderMonkey to Unicode 14. r=tcampbell
Update to Unicode 14 by running `./make_unicode.py --version=UNIDATA`.

Differential Revision: https://phabricator.services.mozilla.com/D129925
2021-11-16 17:02:53 +00:00
André Bargull d814742408 Bug 1738422 - Part 2: Update in-tree ICU to release 70.1. r=platform-i18n-reviewers,dminor
Update to ICU 70.1 by running "update-icu.sh" with "maint/maint-70" as the target.

Differential Revision: https://phabricator.services.mozilla.com/D129924
2021-11-16 17:02:38 +00:00
André Bargull 0b5e68fd05 Bug 1738422 - Part 1: Update or remove ICU patches. r=platform-i18n-reviewers,dminor
Remove the patches for bug 1636984, bug 1648137, and bug 1714933 because the
underlying bugs were fixed in ICU 70 resp. the local patches were backports from
the ICU development branch.

And update the local patches for Sorbian to apply cleanly on ICU 70.

Differential Revision: https://phabricator.services.mozilla.com/D129921
2021-11-16 17:02:38 +00:00
Manuel Bucher 2bcdb5e1d8 Bug 1734132 - Test that different http3 priorities are sent r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D129618
2021-11-16 17:01:07 +00:00
Manuel Bucher e1ce16359b Bug 1734132 - Map necko priorities to http3 priorities r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D127834
2021-11-16 17:01:07 +00:00
Manuel Bucher 52ae51abfa Bug 1734132 - Add neqo glue code to send priority updates r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D129003
2021-11-16 17:01:06 +00:00
Chun-Min Chang 6edbd3270e Bug 1740827 - Append right amount of null data in ForwardedInputTrack r=pehrsons
Correct the amount of null data appended to ForwardedInputTrack's
mSegment when the input source is suspended

Differential Revision: https://phabricator.services.mozilla.com/D131024
2021-11-16 16:59:45 +00:00
André Bargull dc96fc9d30 Bug 1696774: Remove js::LittleEndianChars. r=arai,tcampbell
Remove `js::LittleEndianChars` and undo other changes from D22654.

Differential Revision: https://phabricator.services.mozilla.com/D131229
2021-11-16 16:54:31 +00:00
Emilio Cobos Álvarez b78ebac92a Bug 1483798 - Avoid returning the computed styles of nodes that aren't in the flat tree. r=xidorn
As per spec. This could cause wrong styles to be returned because we
fill the bloom filter based on flat tree ancestors, which was ultimately
the root cause of bug 1737131.

Differential Revision: https://phabricator.services.mozilla.com/D131074
2021-11-16 16:53:50 +00:00
Zeid Zabaneh 581f8dc781 Bug 1740791: temporarily disable autoformatting r=sheehan DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D131254
2021-11-16 16:49:41 +00:00
Emilio Cobos Álvarez 52f5101e05 Bug 1741089 - Don't make menupopups and panels leave unslotted children. r=mconley
This is a more generic fix for
https://phabricator.services.mozilla.com/D131080 that we might want to
take instead. I'm not aware of other tests triggering the same issue but
this causes behavior to be a bit more predictable.

Context: We have tests that query the style of menupopups/menuitems that
are not in the flat tree (that is, that are children of a shadow host,
but are not slotted). That makes no sense, because the flat tree is how
we determine where to inherit from (so the styles that we were returning
before this bug are wrong, they just happen to work for that particular
test).

Panels and menupopups have some lazy initialization code that before
this patch left a shadow root attached to the element but no slot.
Instead, don't even bother to create a shadow root (and do that lazily
as well). It's a bit more predictable behavior, and is also less work
during startup, so should be a win.

We couldn't do it before the previous patches because attaching the
shadow root will reframe the popup, and the menupopup code didn't
deal well with that.

Differential Revision: https://phabricator.services.mozilla.com/D131081
2021-11-16 16:44:40 +00:00
Emilio Cobos Álvarez c2c592e87f Bug 1741089 - Make attachShadow() not reframe the shadow host unconditionally. r=smaug
We only need to clean up the frames for its flat tree children which are
about to go away from the flat tree, but we don't need to do anything
else. This avoids issues with the following patches because menupopups
depend a lot on their frame tree state.

Differential Revision: https://phabricator.services.mozilla.com/D131083
2021-11-16 16:34:51 +00:00
Bryce Seager van Dyk b5902ee658 Bug 1737666 - Update widevine fallback URLs to 4.10.2391.0 CDM. r=mjf
Update the fallback URLs for Widevine version 4.10.2391.0. This also adds a
fallback for the Windows asan case. This makes the fallback URLs consistent with
the balrog rules and handles the (edge) case where asan Win builds can't connect
to balrog.

Differential Revision: https://phabricator.services.mozilla.com/D131159
2021-11-16 16:24:49 +00:00
criss d68f0e9684 Backed out changeset 5c921d8e51bd (bug 1741089) for causing mochitest failures on test_bug557987.xhtml . CLOSED TREE 2021-11-16 18:27:45 +02:00
Henri Sivonen e266e0f13a Bug 1741219 - Remove Expat usage from nsHtml5StreamParser. r=smaug
To be overwritten by the patch for https://bugzilla.mozilla.org/show_bug.cgi?id=1701828 .

Differential Revision: https://phabricator.services.mozilla.com/D131215
2021-11-16 16:02:04 +00:00
Emilio Cobos Álvarez 3cf56f8e1f Bug 1741089 - Make async OpenMenu simpler/sound. r=mstange
There's only one caller of it and it's not sound: The runnable captures a
raw frame pointer etc. Instead, just do a dispatch to the main thread
and call OpenMenu there. This simplifies the following patch.

Differential Revision: https://phabricator.services.mozilla.com/D131082
2021-11-16 15:43:38 +00:00
Kershaw Chang f4838a045c Bug 1653543 - When socket process is used, don't leak host name with SOCKS proxy, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D131116
2021-11-16 15:28:33 +00:00
moz-wptsync-bot df18dd52da Bug 1741275 - [wpt-sync] Update web-platform-tests to 625a2df832b19acee6a5510cfeadac01019e17e9, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 625a2df832b19acee6a5510cfeadac01019e17e9
wpt-type: landing
2021-11-16 15:28:59 +00:00
cathiechen 6ff0e13434 Bug 1741128 [wpt PR 31631] - Fixed the typos in contain-layout-019.html, a=testonly
Automatic update from web-platform-tests
Fixed the typos in contain-layout-019.html (#31631)

--

wpt-commits: 625a2df832b19acee6a5510cfeadac01019e17e9
wpt-pr: 31631
2021-11-16 15:28:59 +00:00
Greg Tatum ec908112f4 Bug 1738057 - Split out BidiEmbeddingLevel into its own file; r=platform-i18n-reviewers,dminor
This should speed up re-compile times, as mozilla/intl/Bidi.h will only
be included in a few places.

Differential Revision: https://phabricator.services.mozilla.com/D129662
2021-11-16 15:11:58 +00:00
Ben Hearsum 72b7841950 Bug 1737177: Add `nsSystemInfo` runtime flag for whether running application is running under Microsoft Windows S Mode. r=mhowell
This patch uses the Windows.System.Profile.WindowsIntegrityPolicy class to determine whether or not Windows is in S mode. This class is only available beginning with SDK 17763 (newer than what we use right now), so we need to fetch it at runtime with some magic.

This is a completely no-op for Windows versions older than 1810, where the WindowsIntegrityPolicy class is not available.

Differential Revision: https://phabricator.services.mozilla.com/D130397
2021-11-16 15:11:32 +00:00
Greg Tatum 0f0b78cc1d Bug 1736907 - Add a build flag to experimentally build with ICU4X static data; r=platform-i18n-reviewers,dminor
Differential Revision: https://phabricator.services.mozilla.com/D129080
2021-11-16 15:09:09 +00:00
Henrik Skupin 57bc6555f9 Bug 1740225 - [wdspec] Don't print async shutdown logs for CI jobs. r=webdriver-reviewers,jdescottes
These logs have been added to help with the investigation of shutdown issues. But it turned out to not be that helpful. Lets get it removed from wdspec jobs to lesser clutter the logs.

Differential Revision: https://phabricator.services.mozilla.com/D130974
2021-11-16 14:58:50 +00:00
Henrik Skupin bece95705b Bug 1740798 - [puppeteer] Update expected meta data. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D131212
2021-11-16 14:58:11 +00:00
Henrik Skupin d505f7b753 Bug 1740798 - [remote] Await the mouse event before returning from Input.dispatchMouseEvent(). r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D131211
2021-11-16 14:58:11 +00:00
Kershaw Chang 32a2353494 Bug 1740515 - Add 'socket' in record_in_processes for telemetry probes in socket process, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D130980
2021-11-16 14:56:30 +00:00
Dave Townsend 45cb59267a Bug 1740539: Get siteName, image and description from twitter cards. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D130884
2021-11-16 14:54:09 +00:00
Dave Townsend 55b5583284 Bug 1740538: Get site name from organization microdata. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D130883
2021-11-16 14:54:09 +00:00
Dave Townsend 90890337d7 Bug 1740536: Support descriptions for pages. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D130882
2021-11-16 14:54:08 +00:00
Andrew McCreight 8648653dd1 Bug 1741246 - Pass JS::GCCellPtr in nsCycleCollectionTraversalCallback::NoteJSChild(). r=jonco
This is a pointer-sized value, so there's no need to pass it by
value. All of the SpiderMonkey places that pass GCCellPtr are doing
it by value, so this is aligning with that.

In addition, I removed a NoteJSChild() overload that is no longer
used.

Differential Revision: https://phabricator.services.mozilla.com/D131163
2021-11-16 14:52:54 +00:00
Julian Descottes d226afc848 Bug 1740438 - [devtools] Remove backward compatibility code for recordAllocations target configuration option r=devtools-reviewers,bomsy
Depends on D130847

Differential Revision: https://phabricator.services.mozilla.com/D130848
2021-11-16 14:34:27 +00:00
Julian Descottes 474ba47047 Bug 1740438 - [devtools] Remove backward compatibility code for clearPickerSupport trait r=devtools-reviewers,bomsy
Depends on D130846

Differential Revision: https://phabricator.services.mozilla.com/D130847
2021-11-16 14:34:27 +00:00
Julian Descottes cbd04951b9 Bug 1740438 - [devtools] Remove backward compatibility code for typename browsingContextTarget r=devtools-reviewers,bomsy
Depends on D130845

Differential Revision: https://phabricator.services.mozilla.com/D130846
2021-11-16 14:34:26 +00:00
Julian Descottes a33af7064f Bug 1740438 - [devtools] Remove backward compatibility code for useChildTargetToFetchChildren r=devtools-reviewers,bomsy
Depends on D130844

Differential Revision: https://phabricator.services.mozilla.com/D130845
2021-11-16 14:34:26 +00:00
Julian Descottes 4e5f134653 Bug 1740438 - [devtools] Remove backward compatibility code for event-breakpoints trait r=devtools-reviewers,bomsy
Differential Revision: https://phabricator.services.mozilla.com/D130844
2021-11-16 14:34:25 +00:00
M. Sirringhaus 59c1dc3789 Bug 1736990 - Expose /dev/random and /proc/sys/crypto/fips_enabled in sandboxes. r=bryce,gcp
For running in FIPS mode, NSS needs to check /proc/sys/crypto/fips_enabled, to be able to tell whether FIPS is enabled or not.
FIPS also mandates using /dev/random instead of /dev/urandom.

Differential Revision: https://phabricator.services.mozilla.com/D129126
2021-11-16 14:16:19 +00:00
Dão Gottwald 57aa369908 Bug 1740950 - Remove arrow coloring code for CFR milestone notifications. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D131057
2021-11-16 14:03:29 +00:00