<?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>73649</bug_id>
          
          <creation_ts>2011-12-02 05:38:34 -0800</creation_ts>
          <short_desc>[Chromium] [WebSocket] Add binary support in echo test server</short_desc>
          <delta_ts>2011-12-04 23:42:40 -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>WebCore Misc.</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>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Takashi Toyoshima">toyoshim</reporter>
          <assigned_to name="Takashi Toyoshima">toyoshim</assigned_to>
          <cc>abarth</cc>
    
    <cc>ap</cc>
    
    <cc>tkent</cc>
    
    <cc>webkit.review.bot</cc>
    
    <cc>yutak</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>513697</commentid>
    <comment_count>0</comment_count>
    <who name="Takashi Toyoshima">toyoshim</who>
    <bug_when>2011-12-02 05:38:34 -0800</bug_when>
    <thetext>For now, LayoutTests/http/tests/websocket/tests/hybi/echo_wsh.py supports only text frames.
This must support binary frames for chromium side tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>513700</commentid>
    <comment_count>1</comment_count>
      <attachid>117612</attachid>
    <who name="Takashi Toyoshima">toyoshim</who>
    <bug_when>2011-12-02 05:44:22 -0800</bug_when>
    <thetext>Created attachment 117612
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>513714</commentid>
    <comment_count>2</comment_count>
      <attachid>117612</attachid>
    <who name="Yuta Kitamura">yutak</who>
    <bug_when>2011-12-02 06:16:15 -0800</bug_when>
    <thetext>Comment on attachment 117612
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=117612&amp;action=review

Looks fine. (Note: I&apos;m not a WebKit reviewer yet)

&gt; LayoutTests/http/tests/websocket/tests/hybi/echo_wsh.py:1
&gt; +# Copyright 2009, 2011, Google Inc.

Just replace the old year to the new one instead of appending.

(I assume Chromium&apos;s copyright year rule applies here as well: http://dev.chromium.org/developers/coding-style#TOC-File-headers)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>513814</commentid>
    <comment_count>3</comment_count>
      <attachid>117612</attachid>
    <who name="Takashi Toyoshima">toyoshim</who>
    <bug_when>2011-12-02 09:02:51 -0800</bug_when>
    <thetext>Comment on attachment 117612
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=117612&amp;action=review

&gt;&gt; LayoutTests/http/tests/websocket/tests/hybi/echo_wsh.py:1
&gt;&gt; +# Copyright 2009, 2011, Google Inc.
&gt; 
&gt; Just replace the old year to the new one instead of appending.
&gt; 
&gt; (I assume Chromium&apos;s copyright year rule applies here as well: http://dev.chromium.org/developers/coding-style#TOC-File-headers)

Another reviewer suggest me adding new year instead of replacing one as a WebKit style.
Any guideline to know which file follows which rule?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>514271</commentid>
    <comment_count>4</comment_count>
    <who name="Takashi Toyoshima">toyoshim</who>
    <bug_when>2011-12-02 16:41:43 -0800</bug_when>
    <thetext>FYI; this echo_wsh.py is totally based on pywebsocket example.
Old echo_wsh.py come from old pywebsocket, and new echo_wsh.py after this change com from the latest pywebsocket.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>514571</commentid>
    <comment_count>5</comment_count>
      <attachid>117612</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-12-03 13:29:54 -0800</bug_when>
    <thetext>Comment on attachment 117612
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=117612&amp;action=review

Seems reasonable.

&gt;&gt;&gt; LayoutTests/http/tests/websocket/tests/hybi/echo_wsh.py:1
&gt;&gt;&gt; +# Copyright 2009, 2011, Google Inc.
&gt;&gt; 
&gt;&gt; Just replace the old year to the new one instead of appending.
&gt;&gt; 
&gt;&gt; (I assume Chromium&apos;s copyright year rule applies here as well: http://dev.chromium.org/developers/coding-style#TOC-File-headers)
&gt; 
&gt; Another reviewer suggest me adding new year instead of replacing one as a WebKit style.
&gt; Any guideline to know which file follows which rule?

It doesn&apos;t matter. :)  Anyone who feels it matters should fix check-webkit-style to enforce one or the other. :)  Until then, I would tell you not to worry about it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>514904</commentid>
    <comment_count>6</comment_count>
    <who name="Takashi Toyoshima">toyoshim</who>
    <bug_when>2011-12-04 21:59:02 -0800</bug_when>
    <thetext>Eric,

Thank you for an advice on copyright, and r+.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>514935</commentid>
    <comment_count>7</comment_count>
      <attachid>117612</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-12-04 23:42:35 -0800</bug_when>
    <thetext>Comment on attachment 117612
Patch

Clearing flags on attachment: 117612

Committed r101974: &lt;http://trac.webkit.org/changeset/101974&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>514936</commentid>
    <comment_count>8</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-12-04 23:42:40 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>117612</attachid>
            <date>2011-12-02 05:44:22 -0800</date>
            <delta_ts>2011-12-04 23:42:35 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-73649-20111202224421.patch</filename>
            <type>text/plain</type>
            <size>2025</size>
            <attacher name="Takashi Toyoshima">toyoshim</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTAxNjgxCmRpZmYgLS1naXQgYS9MYXlvdXRUZXN0cy9DaGFu
Z2VMb2cgYi9MYXlvdXRUZXN0cy9DaGFuZ2VMb2cKaW5kZXggODc1YmJmNzJkNTY2MGIxYzI0ZWQ4
NmY1YzY2Nzc3MmNlMTE3MDZhMC4uYWFhOTNkMWE3YmRjMjI2NDU3MWNiYWZkOTk4NTYxNWRiMDEy
ZDg5NiAxMDA2NDQKLS0tIGEvTGF5b3V0VGVzdHMvQ2hhbmdlTG9nCisrKyBiL0xheW91dFRlc3Rz
L0NoYW5nZUxvZwpAQCAtMSwzICsxLDEyIEBACisyMDExLTEyLTAyICBUYWthc2hpIFRveW9zaGlt
YSAgPHRveW9zaGltQGNocm9taXVtLm9yZz4KKworICAgICAgICBBZGQgYmluYXJ5IHN1cHBvcnQg
aW4gV2ViU29ja2V0IHRlc3Qgc2VydmVyJ3MgZWNobyBoYW5kbGVyLgorICAgICAgICBodHRwczov
L2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9NzM2NDkKKworICAgICAgICBSZXZpZXdl
ZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICAqIGh0dHAvdGVzdHMvd2Vic29ja2V0L3Rl
c3RzL2h5YmkvZWNob193c2gucHk6IFN1cHBvcnQgYmluYXJ5IGZyYW1lcy4KKwogMjAxMS0xMi0w
MSAgVmluY2VudCBTY2hlaWIgIDxzY2hlaWJAY2hyb21pdW0ub3JnPgogCiAgICAgICAgIFtDaHJv
bWl1bV0gVGVzdCBleHBlY3RhdGlvbnM6CmRpZmYgLS1naXQgYS9MYXlvdXRUZXN0cy9odHRwL3Rl
c3RzL3dlYnNvY2tldC90ZXN0cy9oeWJpL2VjaG9fd3NoLnB5IGIvT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