<?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>30811</bug_id>
          
          <creation_ts>2009-10-27 02:50:42 -0700</creation_ts>
          <short_desc>REGRESSION(49818): Tiger fails new fast/js/navigator-language.html test</short_desc>
          <delta_ts>2009-10-28 10:24:13 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Seidel (no email)">eric</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>cshu</cc>
    
    <cc>mjs</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>158130</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-10-27 02:50:42 -0700</bug_when>
    <thetext>http://build.webkit.org/results/Tiger%20Intel%20Release/r50133%20(5583)/results.html
http://trac.webkit.org/browser/trunk/LayoutTests/fast/js/navigator-language.html

Tiger returns &quot;en&quot; instead of &quot;en-us&quot; as expected.  We could fix the Tiger codepath, or easier would be to just update the Tiger results.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158431</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-10-27 17:26:08 -0700</bug_when>
    <thetext>http://trac.webkit.org/changeset/49818</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158436</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-10-27 17:47:30 -0700</bug_when>
    <thetext>Here is the file for the mac:
http://trac.webkit.org/browser/trunk/WebCore/platform/mac/Language.mm

The implementation is in WebKit:
http://trac.webkit.org/browser/trunk/WebKit/mac/WebCoreSupport/WebViewFactory.mm#L129

Which calls through to here:
http://trac.webkit.org/browser/trunk/WebKit/mac/Misc/WebNSUserDefaultsExtras.m

I&apos;m not sure what part of that ends up different on Tiger though.  None of it is special-cased for Tiger.

It&apos;s possible that &quot;WKCopyCFLocalizationPreferredName&quot; has a special Tiger implementation and thus is the root of the difference here.

Again, for now I think we should just check in the &quot;failing&quot; result for Tiger.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158437</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-10-27 17:49:29 -0700</bug_when>
    <thetext>Really someone at Apple should confirm that we don&apos;t care about Tiger being different here.  I expect we don&apos;t.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158549</commentid>
    <comment_count>4</comment_count>
    <who name="Chang Shu">cshu</who>
    <bug_when>2009-10-28 06:23:20 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; Really someone at Apple should confirm that we don&apos;t care about Tiger being
&gt; different here.  I expect we don&apos;t.

Eric, I can add the special expected result for Tiger.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158552</commentid>
    <comment_count>5</comment_count>
      <attachid>42025</attachid>
    <who name="Chang Shu">cshu</who>
    <bug_when>2009-10-28 07:04:03 -0700</bug_when>
    <thetext>Created attachment 42025
fix regression</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158590</commentid>
    <comment_count>6</comment_count>
      <attachid>42025</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2009-10-28 09:35:35 -0700</bug_when>
    <thetext>Comment on attachment 42025
fix regression

Rejecting patch 42025 from commit-queue.

Chang.Shu@nokia.com does not have committer permissions according to http://trac.webkit.org/browser/trunk/WebKitTools/Scripts/modules/committers.py.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158603</commentid>
    <comment_count>7</comment_count>
      <attachid>42025</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-10-28 09:48:37 -0700</bug_when>
    <thetext>Comment on attachment 42025
fix regression

This result looks wrong?  I don&apos;t see how Tiger would produce this result.  It&apos;s going to say FAIL instead of PASS.  You should pull the result off the tiger bot instead of creating it by hand.
http://build.webkit.org/results/Tiger%20Intel%20Release/r50217%20(5641)/fast/js/navigator-language-actual.txt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158605</commentid>
    <comment_count>8</comment_count>
    <who name="Chang Shu">cshu</who>
    <bug_when>2009-10-28 09:51:35 -0700</bug_when>
    <thetext>(In reply to comment #7)
&gt; (From update of attachment 42025 [details])
&gt; This result looks wrong?  I don&apos;t see how Tiger would produce this result. 
&gt; It&apos;s going to say FAIL instead of PASS.  You should pull the result off the
&gt; tiger bot instead of creating it by hand.
&gt; http://build.webkit.org/results/Tiger%20Intel%20Release/r50217%20(5641)/fast/js/navigator-language-actual.txt

You are right, Eric. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158613</commentid>
    <comment_count>9</comment_count>
      <attachid>42040</attachid>
    <who name="Chang Shu">cshu</who>
    <bug_when>2009-10-28 09:57:23 -0700</bug_when>
    <thetext>Created attachment 42040
fix result content</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158617</commentid>
    <comment_count>10</comment_count>
      <attachid>42040</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-10-28 09:59:53 -0700</bug_when>
    <thetext>Comment on attachment 42040
fix result content

LGTM.  The commit-queue will close the bug.  I&apos;m not sure if we need a bug open about tiger&apos;s misbehavior here or not.  I guess I&apos;ll assume not for now.  If one of the apple folks feels otherwise they should feel free to re-open.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158618</commentid>
    <comment_count>11</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-10-28 10:00:29 -0700</bug_when>
    <thetext>Thank you very much for taking care of this Chang.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158624</commentid>
    <comment_count>12</comment_count>
      <attachid>42040</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2009-10-28 10:10:15 -0700</bug_when>
    <thetext>Comment on attachment 42040
fix result content

Clearing flags on attachment: 42040

Committed r50223: &lt;http://trac.webkit.org/changeset/50223&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158625</commentid>
    <comment_count>13</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2009-10-28 10:10:24 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158628</commentid>
    <comment_count>14</comment_count>
    <who name="Chang Shu">cshu</who>
    <bug_when>2009-10-28 10:24:13 -0700</bug_when>
    <thetext>(In reply to comment #11)
&gt; Thank you very much for taking care of this Chang.

My pleasure. I usually panic when I see my patches cause regression. :)</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>42025</attachid>
            <date>2009-10-28 07:04:03 -0700</date>
            <delta_ts>2009-10-28 09:57:23 -0700</delta_ts>
            <desc>fix regression</desc>
            <filename>bug30811_1.patch</filename>
            <type>text/plain</type>
            <size>1212</size>
            <attacher name="Chang Shu">cshu</attacher>
            
              <data encoding="base64">SW5kZXg6IExheW91dFRlc3RzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT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wZWN0ZWQudHh0CShyZXZp
c2lvbiAwKQpAQCAtMCwwICsxLDkgQEAKK1Rlc3QgZm9yIGJ1ZyAyOTY1MzogW1F0XSBRdC1iYXNl
ZCBicm93c2VyIGZhaWxzIHRvIHNob3cgdGhlIHJpZ2h0IGxhbmd1YWdlIHRyYW5zbGF0aW9uLgor
T24gc3VjY2VzcywgeW91IHdpbGwgc2VlIGEgc2VyaWVzIG9mICJQQVNTIiBtZXNzYWdlcywgZm9s
bG93ZWQgYnkgIlRFU1QgQ09NUExFVEUiLgorCisKK1BBU1MgbmF2aWdhdG9yLmxhbmd1YWdlLnRv
TG93ZXJDYXNlKCkgaXMgJ2VuJworUEFTUyBzdWNjZXNzZnVsbHlQYXJzZWQgaXMgdHJ1ZQorCitU
RVNUIENPTVBMRVRFCisK
</data>
<flag name="review"
          id="23515"
          type_id="1"
          status="-"
          setter="eric"
    />
    <flag name="commit-queue"
          id="23516"
          type_id="3"
          status="-"
          setter="commit-queue"
    />
          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>42040</attachid>
            <date>2009-10-28 09:57:23 -0700</date>
            <delta_ts>2009-10-28 10:10:15 -0700</delta_ts>
            <desc>fix result content</desc>
            <filename>bug30811_2.patch</filename>
            <type>text/plain</type>
            <size>1229</size>
            <attacher name="Chang Shu">cshu</attacher>
            
              <data encoding="base64">SW5kZXg6IExheW91dFRlc3RzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBMYXlvdXRUZXN0cy9D
aGFuZ2VMb2cJKHJldmlzaW9uIDUwMjE2KQorKysgTGF5b3V0VGVzdHMvQ2hhbmdlTG9nCSh3b3Jr
aW5nIGNvcHkpCkBAIC0xLDMgKzEsMTIgQEAKKzIwMDktMTAtMjggIFNodSBDaGFuZyAgPENoYW5n
LlNodUBub2tpYS5jb20+CisKKyAgICAgICAgUmV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