<?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>184341</bug_id>
          
          <creation_ts>2018-04-05 15:45:06 -0700</creation_ts>
          <short_desc>[test262] Mark line-terminator-normalisation-CR.js as a binary file.</short_desc>
          <delta_ts>2018-04-06 09:26:29 -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>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</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>
          
          <blocked>184266</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Kirsling">ross.kirsling</reporter>
          <assigned_to name="Ross Kirsling">ross.kirsling</assigned_to>
          <cc>ap</cc>
    
    <cc>commit-queue</cc>
    
    <cc>saam</cc>
    
    <cc>valerie</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>ysuzuki</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1412197</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Kirsling">ross.kirsling</who>
    <bug_when>2018-04-05 15:45:06 -0700</bug_when>
    <thetext>[test262] Mark line-terminator-normalisation-CR.js as a binary file.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1412198</commentid>
    <comment_count>1</comment_count>
      <attachid>337307</attachid>
    <who name="Ross Kirsling">ross.kirsling</who>
    <bug_when>2018-04-05 15:50:01 -0700</bug_when>
    <thetext>Created attachment 337307
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1412253</commentid>
    <comment_count>2</comment_count>
      <attachid>337307</attachid>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2018-04-05 19:13:03 -0700</bug_when>
    <thetext>Comment on attachment 337307
Patch

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1412265</commentid>
    <comment_count>3</comment_count>
      <attachid>337307</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2018-04-05 19:38:46 -0700</bug_when>
    <thetext>Comment on attachment 337307
Patch

Clearing flags on attachment: 337307

Committed r230320: &lt;https://trac.webkit.org/changeset/230320&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1412266</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2018-04-05 19:38:47 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1412267</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2018-04-05 19:39:19 -0700</bug_when>
    <thetext>&lt;rdar://problem/39228555&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1412268</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2018-04-05 19:46:54 -0700</bug_when>
    <thetext>Does this need to be fixed for svn too? One can directly specify cr line endings for svn, no need to revert to binary.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1412284</commentid>
    <comment_count>7</comment_count>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2018-04-05 20:24:07 -0700</bug_when>
    <thetext>(In reply to Alexey Proskuryakov from comment #6)
&gt; Does this need to be fixed for svn too? One can directly specify cr line
&gt; endings for svn, no need to revert to binary.

I checked .gitattributes change like https://bugs.webkit.org/show_bug.cgi?id=58315 and I cannot find any SVN property changes in that patch.
But specifying `svn propset svn:mime-type application/octet-stream file` would be nice. Do we have the way to do the above thing in git WebKit tree?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1412285</commentid>
    <comment_count>8</comment_count>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2018-04-05 20:31:14 -0700</bug_when>
    <thetext>(In reply to Yusuke Suzuki from comment #7)
&gt; (In reply to Alexey Proskuryakov from comment #6)
&gt; &gt; Does this need to be fixed for svn too? One can directly specify cr line
&gt; &gt; endings for svn, no need to revert to binary.
&gt; 
&gt; I checked .gitattributes change like
&gt; https://bugs.webkit.org/show_bug.cgi?id=58315 and I cannot find any SVN
&gt; property changes in that patch.
&gt; But specifying `svn propset svn:mime-type application/octet-stream file`
&gt; would be nice. Do we have the way to do the above thing in git WebKit tree?

Hmmmm, git-svn do not have the way to set prop............. https://stackoverflow.com/questions/1271449/how-to-set-subversion-properties-with-git-svn</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1412289</commentid>
    <comment_count>9</comment_count>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2018-04-05 20:39:56 -0700</bug_when>
    <thetext>BTW, I&apos;m now attempting to apply https://bugs.webkit.org/show_bug.cgi?id=184266 to my git-managed WebKit tree by Tools/Scripts/webkit-patch apply-from-bug. If this patch is effective, we will get it applied.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1412291</commentid>
    <comment_count>10</comment_count>
    <who name="Ross Kirsling">ross.kirsling</who>
    <bug_when>2018-04-05 20:51:29 -0700</bug_when>
    <thetext>(In reply to Alexey Proskuryakov from comment #6)
&gt; Does this need to be fixed for svn too? One can directly specify cr line
&gt; endings for svn, no need to revert to binary.

Ah yes, seems like we ought to do something like this for good measure: https://trac.webkit.org/changeset/199564/webkit

Unfortunately though, since `svn-apply` can&apos;t handle files with CR line endings (due to performing its own line ending normalization based on the first line ending it encounters in the patch), I think marking it as binary is the only way to ensure its contents don&apos;t appear in the patch file?

(In reply to Yusuke Suzuki from comment #9)
&gt; BTW, I&apos;m now attempting to apply
&gt; https://bugs.webkit.org/show_bug.cgi?id=184266 to my git-managed WebKit tree
&gt; by Tools/Scripts/webkit-patch apply-from-bug. If this patch is effective, we
&gt; will get it applied.

Note that the existing patch on that bug won&apos;t work -- we need a new diff of the same changes, which will then treat this file as binary.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1412301</commentid>
    <comment_count>11</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2018-04-05 21:29:17 -0700</bug_when>
    <thetext>I don&apos;t think we ever needed to use binary for text files with svn, adding svn:eol-style should just work I hope.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1412318</commentid>
    <comment_count>12</comment_count>
    <who name="Ross Kirsling">ross.kirsling</who>
    <bug_when>2018-04-05 23:23:52 -0700</bug_when>
    <thetext>Oh geez. I just realized that the problem isn&apos;t svn-apply&apos;s fault at all -- it&apos;s that the offending file ends in CRLF.

Just confirmed that the file can be patched normally if this is corrected, so I think we can just rollout the change in this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1412326</commentid>
    <comment_count>13</comment_count>
    <who name="Ross Kirsling">ross.kirsling</who>
    <bug_when>2018-04-05 23:56:52 -0700</bug_when>
    <thetext>Reverted r230320 for reason:

Revert

Committed r230329: &lt;https://trac.webkit.org/changeset/230329&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1412379</commentid>
    <comment_count>14</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2018-04-06 09:26:29 -0700</bug_when>
    <thetext>I added the svn property in r230333 nonetheless.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>337307</attachid>
            <date>2018-04-05 15:50:01 -0700</date>
            <delta_ts>2018-04-05 19:38:46 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-184341-20180405155000.patch</filename>
            <type>text/plain</type>
            <size>1110</size>
            <attacher name="Ross Kirsling">ross.kirsling</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjMwMzEzCmRpZmYgLS1naXQgYS9KU1Rlc3RzLy5naXRhdHRy
aWJ1dGVzIGIvSlNUZXN0cy8uZ2l0YXR0cmlidXRlcwpuZXcgZmlsZSBtb2RlIDEwMDY0NAppbmRl
eCAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwLi5mOTZhMWNiYjM3MTU5
ZjM0NzE3NGVhZjM3ZWMwNzExOGI1YjMyODIxCi0tLSAvZGV2L251bGwKKysrIGIvSlNUZXN0cy8u
Z2l0YXR0cmlidXRlcwpAQCAtMCwwICsxIEBACit0ZXN0MjYyL3Rlc3QvYnVpbHQtaW5zL0Z1bmN0
aW9uL3Byb3RvdHlwZS90b1N0cmluZy9saW5lLXRlcm1pbmF0b3Itbm9ybWFsaXNhdGlvbi1DUi5q
cyBiaW5hcnkKZGlmZiAtLWdpdCBhL0pTVGVzdHMvQ2hhbmdlTG9nIGIvSlNUZXN0cy9DaGFuZ2VM
b2cKaW5kZXggOTA5OGJiMzQxZDVjYzNkMDNiZWRlNWFmYmNjOTBhYjU5MjVhMGZjNy4uYzhiZDU5
NTg4NzBjODliODlkMGUwODNjYWRmYTZjNzUxNmU0Zjg0NiAxMDA2NDQKLS0tIGEvSlNUZXN0cy9D
aGFuZ2VMb2cKKysrIGIvSlNUZXN0cy9DaGFuZ2VMb2cKQEAgLTEsMyArMSwxNSBAQAorMjAxOC0w
NC0wNSAgUm9zcyBLaXJzbGluZyAgPHJvc3Mua2lyc2xpbmdAc29ueS5jb20+CisKKyAgICAgICAg
W3Rlc3QyNjJdIE1hcmsgbGluZS10ZXJtaW5hdG9yLW5vcm1hbGlzYXRpb24tQ1IuanMgYXMgYSBi
aW5hcnkgZmlsZS4KKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dp
P2lkPTE4NDM0MQorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAg
ICAgIFRoaXMgdGVzdCBpcyBhbGwgYWJvdXQgQ1IgbGluZSBlbmRpbmdzLCBidXQgYHN2bi1hcHBs
eWAgY2FuJ3QgZGVhbCB3aXRoIHRoZW0uCisgICAgICAgIFRyZWF0aW5nIHRoZSBmaWxlIGFzIGJp
bmFyeSBlbnN1cmVzIHRoYXQgaXRzIGNvbnRlbnRzIG5ldmVyIGFyZSBuZXZlciBzaG93biBpbiBh
IGRpZmYuCisKKyAgICAgICAgKiAuZ2l0YXR0cmlidXRlczogQWRkZWQuCisKIDIwMTgtMDQtMDUg
IFJvYmluIE1vcmlzc2V0ICA8cm1vcmlzc2V0QGFwcGxlLmNvbT4KIAogICAgICAgICBGaXggdGVz
dGNhc2UgKG1pc3NpbmcgdHJ5L2NhdGNoKS4K
</data>

          </attachment>
      

    </bug>

</bugzilla>