<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>236121</bug_id>
          
          <creation_ts>2022-02-03 20:20:39 -0800</creation_ts>
          <short_desc>Passing undefined for the locale in the Intl.NumberFormatter constructor uses the system locale</short_desc>
          <delta_ts>2022-02-03 21:13:15 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Myles C. Maxfield">mmaxfield</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>webkit-bug-importer</cc>
    
    <cc>ysuzuki</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1837235</commentid>
    <comment_count>0</comment_count>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2022-02-03 20:20:39 -0800</bug_when>
    <thetext>1. This doesn&apos;t match Chrome (but does match Firefox)
2. This causes bugs on some sites which may receive numerals they weren&apos;t expecting (See the prices in https://www.westelm.com/search/results.html?words=floor%20lamp with your system set to Arabic)
3. There are fingerprinting concerns</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1837237</commentid>
    <comment_count>1</comment_count>
      <attachid>450860</attachid>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2022-02-03 20:22:59 -0800</bug_when>
    <thetext>Created attachment 450860
Example

Open the example in Chrome and WebKit with your system set to Arabic.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1837238</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-02-03 20:25:40 -0800</bug_when>
    <thetext>&lt;rdar://problem/88471306&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1837241</commentid>
    <comment_count>3</comment_count>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2022-02-03 20:52:41 -0800</bug_when>
    <thetext>OK, this is because upstream CLDR has two options for numbering-system in ar locale.

1. arab
2. latn

By default, it is pointing &quot;arab&quot;. But it looks like there is an option &quot;latn&quot;.
And according to CLDR issue (https://unicode-org.atlassian.net/browse/CLDR-10825)

&gt; And add: &lt;defaultNumberingSystem alt=”latndigi”&gt;latn&lt;/…&gt; → Google (and other companies like Netflix) which want to default non-country-specific Arabic to ASCII can use this...we can then test it out, see how it works, and based on that experience see if we should switch default and alt
&gt; Stock ICU uses “standard” variant for ar.xml (Arab); Google etc will filter the data so that ar.xml gets &lt;defaultNumberingSystem&gt;Latn&lt;/…&gt;

So, Stock ICU (&amp; current Apple ICU) uses arab. Google&apos;s fork is using latn.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1837249</commentid>
    <comment_count>4</comment_count>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2022-02-03 21:13:15 -0800</bug_when>
    <thetext>Okay, because this bug is about Apple&apos;s internal implementation of ICU, let&apos;s move this to radar and continue there. Marking as RESOLVED MOVED.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>450860</attachid>
            <date>2022-02-03 20:22:59 -0800</date>
            <delta_ts>2022-02-03 20:22:59 -0800</delta_ts>
            <desc>Example</desc>
            <filename>file.html</filename>
            <type>text/html</type>
            <size>196</size>
            <attacher name="Myles C. Maxfield">mmaxfield</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8aGVhZD4KPG1ldGEgY2hhcnNldD0idXRmLTgiPgo8L2hl
YWQ+Cjxib2R5Pgo8c2NyaXB0PgphbGVydChuZXcgSW50bC5OdW1iZXJGb3JtYXQodW5kZWZpbmVk
LCB7IHN0eWxlOiAiY3VycmVuY3kiLCBjdXJyZW5jeTogIlVTRCIgfSkuZm9ybWF0KCI0IikpOwo8
L3NjcmlwdD4KPC9ib2R5Pgo8L2h0bWw+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>