<?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>21581</bug_id>
          
          <creation_ts>2008-10-13 16:14:25 -0700</creation_ts>
          <short_desc>http/tests/misc/frame-default-enc-same-domain.html should not depend on the presence of x-mac-cyrillic converter</short_desc>
          <delta_ts>2008-10-22 01:10:54 -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>All</rep_platform>
          <op_sys>All</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>Trivial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jungshik Shin">jshin</reporter>
          <assigned_to name="Adam Barth">abarth</assigned_to>
          <cc>abarth</cc>
    
    <cc>ap</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>95227</commentid>
    <comment_count>0</comment_count>
    <who name="Jungshik Shin">jshin</who>
    <bug_when>2008-10-13 16:14:25 -0700</bug_when>
    <thetext>http/tests/misc/frame-default-enc-same-domain.html has meta charset declaration for x-mac-cyrillic. However, the test is for the inheritance of charset from the parent frame.  Some projects using webkit (e.g. Chrome) use their own custom build of ICU without x-mac-cyrillic converter.  It&apos;s not a good idea to make a single test depend on something other than what it intends to test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95230</commentid>
    <comment_count>1</comment_count>
      <attachid>24333</attachid>
    <who name="Jungshik Shin">jshin</who>
    <bug_when>2008-10-13 17:16:20 -0700</bug_when>
    <thetext>Created attachment 24333
patch 

This patch replaces x-mac-cyrillic with windows-1251</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95238</commentid>
    <comment_count>2</comment_count>
      <attachid>24333</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2008-10-13 18:01:55 -0700</bug_when>
    <thetext>Comment on attachment 24333
patch 

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95255</commentid>
    <comment_count>3</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2008-10-14 01:19:22 -0700</bug_when>
    <thetext>Will land.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95277</commentid>
    <comment_count>4</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2008-10-14 03:01:49 -0700</bug_when>
    <thetext>My Mac Mini died in the middle of testing this patch.  I&apos;m going to take it into the store tomorrow.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95281</commentid>
    <comment_count>5</comment_count>
      <attachid>24333</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2008-10-14 04:06:03 -0700</bug_when>
    <thetext>Comment on attachment 24333
patch 

Sorry, I specifically chose MacCyrillic to make this test work reasonably on my machine (where I have windows-1251 as a default encoding). I&apos;d ask you to change this to some encoding that is unlikely to be user default for any WebKit developer.

On another note, I&apos;m surprised that you can get away without supporting MacCyrillic - this encoding is in wide use on the Web. Many Russian sites re-encode their text to MacCyrillic on the fly if they see &quot;Mac&quot; in UA string (a practice that makes no sense in this age, but anyway). Maybe you don&apos;t get bug reports about this because you only have a Windows beta now?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95336</commentid>
    <comment_count>6</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2008-10-14 12:29:28 -0700</bug_when>
    <thetext>Reassigning to Jungshik based on comment above.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95340</commentid>
    <comment_count>7</comment_count>
    <who name="Jungshik Shin">jshin</who>
    <bug_when>2008-10-14 12:45:30 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; (From update of attachment 24333 [edit])
&gt; Sorry, I specifically chose MacCyrillic to make this test work reasonably on my
&gt; machine (where I have windows-1251 as a default encoding). I&apos;d ask you to
&gt; change this to some encoding that is unlikely to be user default for any WebKit
&gt; developer.

Sure, I can change (to what encoding? I&apos;ll try to get the most unlikely one), but does it really matter in layout test? 

&gt; On another note, I&apos;m surprised that you can get away without supporting
&gt; MacCyrillic - this encoding is in wide use on the Web. Many Russian sites
&gt; re-encode their text to MacCyrillic on the fly if they see &quot;Mac&quot; in UA string
&gt; (a practice that makes no sense in this age, but anyway). Maybe you don&apos;t get
&gt; bug reports about this because you only have a Windows beta now?
 
I&apos;m aware of the practice. I have little idea how widespread the practice is. mail.ru was one of them, but it does not do that any more, does it? Anyway, if the practice is still widespread, I&apos;ll add it back (before we release Mac version)  paying the price for one more item in the encoding list and a few more kBs in the ICU data file :-)

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95345</commentid>
    <comment_count>8</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2008-10-14 13:04:38 -0700</bug_when>
    <thetext>(In reply to comment #7)
&gt; Sure, I can change (to what encoding? I&apos;ll try to get the most unlikely one),
&gt; but does it really matter in layout test? 

Yes, we try to make layout tests work in the browser if possible. This reduces confusion and simplifies debugging in case the test breaks.

ISO-8859-5 is another example of a Cyrillic encoding that is unlikely to be default for many people.

&gt; I&apos;m aware of the practice. I have little idea how widespread the practice is.
&gt; mail.ru was one of them, but it does not do that any more, does it? Anyway, if
&gt; the practice is still widespread, I&apos;ll add it back (before we release Mac
&gt; version)  paying the price for one more item in the encoding list and a few
&gt; more kBs in the ICU data file :-)

I don&apos;t have any current examples. Besides mail.ru, anekdot.ru used to do the same until very recently, and these are some of the largest resources out there. Also, this was the default configuration of Russian Apache distribution, so I expect that sites doing this will be around for a long time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95355</commentid>
    <comment_count>9</comment_count>
      <attachid>24346</attachid>
    <who name="Jungshik Shin">jshin</who>
    <bug_when>2008-10-14 14:30:26 -0700</bug_when>
    <thetext>Created attachment 24346
patch with windows-1256

I replaced windows-1251 with windows-1256 (Arabic)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95372</commentid>
    <comment_count>10</comment_count>
    <who name="Jungshik Shin">jshin</who>
    <bug_when>2008-10-14 17:14:58 -0700</bug_when>
    <thetext>(In reply to comment #9)
&gt; Created an attachment (id=24346) [edit]
&gt; patch with windows-1256
&gt; 
&gt; I replaced windows-1251 with windows-1256 (Arabic)

My patch and Alexey&apos;s reply &apos;crossed in mail&apos;. Anyway, I guess windows-1256 should be as good as ISO-8859-5.  ISO-8859-15 would have been better :-)

As for Russian Apache (mod_charset), does the current version still do that? If so, at least we should ask them to not to do it any more. 





</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95385</commentid>
    <comment_count>11</comment_count>
      <attachid>24346</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2008-10-15 00:05:09 -0700</bug_when>
    <thetext>Comment on attachment 24346
patch with windows-1256

r=me

&gt; As for Russian Apache (mod_charset), does the current version still do that? If
&gt; so, at least we should ask them to not to do it any more. 

I used to think that it was no longer maintained, but it turns out to be not quite so. Anyway, according to documentation, the default for CharsetAgent is empty now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96099</commentid>
    <comment_count>12</comment_count>
    <who name="Jungshik Shin">jshin</who>
    <bug_when>2008-10-21 13:46:16 -0700</bug_when>
    <thetext>Adam or Alexey, can you land the latest patch? </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96119</commentid>
    <comment_count>13</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2008-10-21 15:49:30 -0700</bug_when>
    <thetext>Yep.  Assigned.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96151</commentid>
    <comment_count>14</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2008-10-22 01:10:54 -0700</bug_when>
    <thetext>Fixed in http://trac.webkit.org/changeset/37775</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>24333</attachid>
            <date>2008-10-13 17:16:20 -0700</date>
            <delta_ts>2008-10-14 14:30:26 -0700</delta_ts>
            <desc>patch </desc>
            <filename>21581.patch.1</filename>
            <type>text/plain</type>
            <size>1471</size>
            <attacher name="Jungshik Shin">jshin</attacher>
            
              <data encoding="base64">SW5kZXg6IExheW91dFRlc3RzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBMYXlvdXRUZXN0cy9D
aGFuZ2VMb2cJKHJldmlzaW9uIDM3NTY3KQorKysgTGF5b3V0VGVzdHMvQ2hhbmdlTG9nCSh3b3Jr
aW5nIGNvcHkpCkBAIC0xLDMgKzEsMTAgQEAKKzIwMDgtMTAtMTMgIEp1bmdzaGlrIFNoaW4gIDxq
c2hpbkBjaHJvbWl1bS5vcmc+CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISku
CisKKyAgICAgICAgKiBodHRwL3Rlc3RzL21pc2MvZnJhbWUtZGVmYXVsdC1lbmMtc2FtZS1kb21h
aW4tZXhwZWN0ZWQudHh0OgorICAgICAgICAqIGh0dHAvdGVzdHMvbWlzYy9mcmFtZS1kZWZhdWx0
LWVuYy1zYW1lLWRvbWFpbi5odG1sOgorCiAyMDA4LTEwLTEzICBDaHJpcyBGbGVpemFjaCAgPGNm
bGVpemFjaEBhcHBsZS5jb20+CiAKICAgICAgICAgUmV2aWV3ZWQgYnkgQmV0aCBEYWtpbi4KSW5k
ZXg6IExheW91dFRlc3RzL2h0dHAvdGVzdHMvbWlzYy9mcmFtZS1kZWZhdWx0LWVuYy1zYW1lLWRv
bWFpb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l0bGU+RnJhbWVzIGFuZCBlbmNvZGluZ3M8L3RpdGxl
PgogPHNjcmlwdD4KIGlmICh3aW5kb3cubGF5b3V0VGVzdENvbnRyb2xsZXIpCg==
</data>
<flag name="review"
          id="11084"
          type_id="1"
          status="-"
          setter="ap"
    />
          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>24346</attachid>
            <date>2008-10-14 14:30:26 -0700</date>
            <delta_ts>2008-10-15 00:05:09 -0700</delta_ts>
            <desc>patch with windows-1256</desc>
            <filename>21581.patch.2</filename>
            <type>text/plain</type>
            <size>1633</size>
            <attacher name="Jungshik Shin">jshin</attacher>
            
              <data encoding="base64">SW5kZXg6IExheW91dFRlc3RzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBMYXlvdXRUZXN0cy9D
aGFuZ2VMb2cJKHJldmlzaW9uIDM3NTkxKQorKysgTGF5b3V0VGVzdHMvQ2hhbmdlTG9nCSh3b3Jr
aW5nIGNvcHkpCkBAIC0xLDMgKzEsMTQgQEAKKzIwMDgtMTAtMTQgIEp1bmdzaGlrIFNoaW4gIDxq
c2hpbkBjaHJvbWl1bS5vcmc+CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISku
CisKKyAgICAgICAgLSBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MjE1
ODEKKworICAgICAgICBSZXBsYWNlIHgtbWFjLWN5cmlsbGljIGJ5IHdpbmRvd3MtMTI1Ni4gCisK
KyAgICAgICAgKiBodHRwL3Rlc3RzL21pc2MvZnJhbWUtZGVmYXVsdC1lbmMtc2FtZS1kb21haW4t
ZXhwZWN0ZWQudHh0OgorICAgICAgICAqIGh0dHAvdGVzdHMvbWlzYy9mcmFtZS1kZWZhdWx0LWVu
Yy1zYW1lLWRvbWFpbi5od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G1sCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDYgKzEsNiBAQAogPGh0bWw+CiA8aGVhZD4KLTxtZXRhIGh0dHAtZXF1aXY9ImNvbnRlbnQt
dHlwZSIgY29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PXgtbWFjLWN5cmlsbGljIj4KKzxtZXRh
IGh0dHAtZXF1aXY9ImNvbnRlbnQtdHlwZSIgY29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PXdp
bmRvd3MtMTI1NiI+CiA8dGl0bGU+RnJhbWVzIGFuZCBlbmNvZGluZ3M8L3RpdGxlPgogPHNjcmlw
dD4KIGlmICh3aW5kb3cubGF5b3V0VGVzdENvbnRyb2xsZXIpCg==
</data>
<flag name="review"
          id="11091"
          type_id="1"
          status="+"
          setter="ap"
    />
          </attachment>
      

    </bug>

</bugzilla>