gecko-dev/intl
Emilio Cobos Álvarez bf2d9b9d37 Bug 1842027 - Make <input type=number> localization faster. r=masayuki
Using the fast unlocalized parser first exposes a subtle difference
between the ICU parser (which uses `double`), and Decimal::fromString
(which has a larger range).

Check for iee754 finiteness explicitly, matching our previous behavior,
and the expectation of this subtest:

  https://searchfox.org/mozilla-central/rev/a3852ea8db25c759bc8b108aeec870d66c95452c/testing/web-platform/tests/html/semantics/forms/the-input-element/number.html#33

That check matches this Blink code:

  https://source.chromium.org/chromium/chromium/src/+/refs/heads/main:third_party/blink/renderer/core/html/parser/html_parser_idioms.cc;l=103;drc=0d1bbe8de137aaae7c956a33249eb840a0191627

This patch avoids a bunch of number->string->number conversions in the
common case where the value comes from the value attribute and thus
parses fine without localization shenanigans.

Differential Revision: https://phabricator.services.mozilla.com/D183254
2023-07-12 15:28:07 +00:00
..
benchmarks
build
components Bug 1519167 - Part 30: Add methods to retrieve time zone transitions and utf-offsets from local time. r=spidermonkey-reviewers,allstarschh 2023-06-21 20:27:42 +00:00
docs
encoding_glue
gtest Bug 1818439 - Make intl/gtest buildable outside of a unified build environment r=andi 2023-02-27 13:42:58 +00:00
hyphenation Bug 1817309 - Make intl/hyphenation/glue buildable outside of a unified build environment r=andi 2023-02-19 21:40:38 +00:00
icu Bug 1814862 - Build ICU with UCONFIG_NO_BREAK_ITERATION r=anba 2023-07-07 07:16:30 +00:00
icu-patches Bug 1814862 - Build ICU with UCONFIG_NO_BREAK_ITERATION r=anba 2023-07-07 07:16:30 +00:00
l10n Bug 1841918 - Fix new l10nregistry-rs warnings with rustc 1.71. r=eemeli 2023-07-06 09:51:30 +00:00
locale Bug 1836482 - Replace AddonManager.jsm imports with AddonManager.sys.mjs r=Standard8,webcompat-reviewers,twisniewski 2023-06-04 13:44:45 +00:00
locales no bug - remove +x on dic files r=platform-i18n-reviewers,jfkthame DONTBUILD 2022-12-30 18:46:07 +00:00
lwbrk Bug 1826063 - Automatic fixes for enabling Prettier on production xhtml and html files. r=mossop,webdriver-reviewers,webcompat-reviewers,geckoview-reviewers,extension-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,fxview-reviewers,sgalich,nalexander,devtools-reviewers,sclements,denschub,robwu,owlish 2023-05-20 12:26:56 +00:00
strres Bug 1797506 - Add EnsureAndLoadStringBundle to preload the string bundle on main thread. r=kmag 2022-12-12 13:25:09 +00:00
tzdata Bug 1824744 - Part 3: Update tzdata files to 2023c. r=platform-i18n-reviewers,gregtatum 2023-05-25 20:40:54 +00:00
uconv Bug 1834176 - Convert consumers of NetUtil.jsm to import the ES module directly. r=arai,webdriver-reviewers,perftest-reviewers,valentin,extension-reviewers,devtools-reviewers,sync-reviewers,cookie-reviewers,robwu,afinder,whimboo 2023-06-07 08:42:36 +00:00
unicharutil Bug 1842027 - Make <input type=number> localization faster. r=masayuki 2023-07-12 15:28:07 +00:00
Encoding.h
EncodingDetector.h
ICU4X.md
icu_sources_data.py Bug 1801836 - Remove no longer necessary 'from __future__' imports. r=linter-reviewers,glandium,webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jld,ahal,owlish,afinder DONTBUILD 2022-12-23 22:45:46 +00:00
moz.build
update-icu4x.sh
update-icu.sh Bug 1838173: Allow to set the Gregorian change date for ISO-8601 calendars. r=platform-i18n-reviewers,dminor 2023-06-14 05:38:46 +00:00
update-tzdata.sh