<?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>14941</bug_id>
          
          <creation_ts>2007-08-11 05:03:32 -0700</creation_ts>
          <short_desc>REGRESSION: textarea value from JavaScript includes extra newline</short_desc>
          <delta_ts>2008-03-16 13:18:11 -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>Forms</component>
          <version>523.x (Safari 3)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://shadow2531.com/js/jsuri.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction, InRadar, Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael A. Puls II">shadow2531</reporter>
          <assigned_to name="Darin Adler">darin</assigned_to>
          <cc>ap</cc>
    
    <cc>ddkilzer</cc>
    
    <cc>justin.garcia</cc>
    
    <cc>mitz</cc>
    
    <cc>zwarich</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2541</commentid>
    <comment_count>0</comment_count>
    <who name="Michael A. Puls II">shadow2531</who>
    <bug_when>2007-08-11 05:03:32 -0700</bug_when>
    <thetext>In WebKit r24872, pressing enter on a non-empty line in a textarea adds two newlines to the DOM value (not visually) instead of one. No other browser does this. This causes double %0D%0A in the encoded value after pressing enter.

Also, pressing the insert key in a textarea inserts null bytes into the DOM value.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2542</commentid>
    <comment_count>1</comment_count>
      <attachid>15929</attachid>
    <who name="Michael A. Puls II">shadow2531</who>
    <bug_when>2007-08-11 05:04:08 -0700</bug_when>
    <thetext>Created attachment 15929
Demo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2543</commentid>
    <comment_count>2</comment_count>
    <who name="Michael A. Puls II">shadow2531</who>
    <bug_when>2007-08-11 05:09:48 -0700</bug_when>
    <thetext>(In reply to comment #0)
&gt;This causes double %0D%0A in the encoded value after pressing enter.

At the URI listed above I mean. 

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2519</commentid>
    <comment_count>3</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-08-11 08:53:31 -0700</bug_when>
    <thetext>Confirmed with a local debug build of WebKit r25008 with Safari 3 Public Beta v. 3.0.3 (522.12.1) on Mac OS X 10.4.10 (8R218).
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2518</commentid>
    <comment_count>4</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-08-11 08:53:49 -0700</bug_when>
    <thetext>&lt;rdar://problem/5404093&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2516</commentid>
    <comment_count>5</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-08-11 08:54:38 -0700</bug_when>
    <thetext>BTW, excellent test case, Michael!

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2414</commentid>
    <comment_count>6</comment_count>
    <who name="Cameron Zwarich (cpst)">zwarich</who>
    <bug_when>2007-08-13 00:49:35 -0700</bug_when>
    <thetext>I did some hunting with nightlies. This bug wasn&apos;t introduced all at once. Here is an exciting timeline of these problems. I can&apos;t test the insert bug, so it is excluded.

Before the r14941 nightly (the last nightly prior to that is r14926), all is well. With the r14941 nightly, the following problems are introduced:

1) The phantom newline after deleting text that contains a newline.

2) Typing &quot;line1&quot; and then enter does not actually display a newline, it only adds an invisible one to the value of the textarea. When you hit enter again, there are two newlines.

There are two revisions between these nightlies that affect the textarea element, r14931 &lt;http://trac.webkit.org/projects/webkit/changeset/14931&gt; and r14935 &lt;http://trac.webkit.org/projects/webkit/changeset/14935&gt;. My money is on r14931, but I don&apos;t have the bandwidth right now to download a tree to test.

I noticed that at some point in time, both of these bugs were fixed. I tracked it down to the period between the nightlies r15614 and r15618, surely by r15617 &lt;http://trac.webkit.org/projects/webkit/changeset/15617&gt;.

The phantom newline after delete was reintroduced between the nightlies r17205 and r17233. The most likely candidate for introduction is r17223 &lt;http://trac.webkit.org/projects/webkit/changeset/17223&gt;.

Finally, the phantom newline after hitting enter was introduced by r17386 &lt;http://trac.webkit.org/projects/webkit/changeset/17386&gt; (I had a tree from that day sitting around from another bug fix).

I am not sure I will have the time to put together a patch to fix all of these problems in the next week, because I&apos;m at a conference, but hopefully this will help anyone who is trying to fix it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2382</commentid>
    <comment_count>7</comment_count>
    <who name="John Sullivan">sullivan</who>
    <bug_when>2007-08-13 13:53:37 -0700</bug_when>
    <thetext>What user symptoms are caused by these problems?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2377</commentid>
    <comment_count>8</comment_count>
    <who name="Michael A. Puls II">shadow2531</who>
    <bug_when>2007-08-13 23:07:09 -0700</bug_when>
    <thetext>With textarea counter scripts that limit the length of input, the stray newline and extra newlines decrease the limit of real text and lines you can input.

If you press insert and it enters null bytes, those are counted by textarea counters also. In fact, if you hold down insert, you can exhaust your limit even though the textarea still looks blank.  A user could unknowingly decrease their limit.

With the stray newline (once triggered), it makes it difficult (if you don&apos;t know about the bug) to submit a textarea with an empty value to the server.

The extra newlines are also submitted to the server causing an incorrect value to be submitted. If the server script takes each newline pair and converts it to &lt;p&gt;&lt;/p&gt; for example, you&apos;ll get an extra &lt;p&gt;&lt;/p&gt; with this problem, which would produce the wrong output in whatever was using the them.

With my jsuri composer, it causes the js uri to have 6 extra bytes for every stray newlinee and 3 for every null byte. This causes the js URI to be longer than other browsers and when the textarea produces null bytes and causes %00 to be in the js uri, the js uri will be broken. (I can filter out the null bytes, but the extra newlines produced I cannot because I can&apos;t differentiate them from non-extra ones.)

In SquirrelMail, if you hit insert, this can cause the outgoing body to get cut off at the null byte. This breaks Gmail in the same way. It probably breaks other webmails in the same way.

(In reply to comment #7)
&gt; What user symptoms are caused by these problems?
&gt; 
In short, they break form submission.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2047</commentid>
    <comment_count>9</comment_count>
    <who name="">mitz</who>
    <bug_when>2007-08-18 02:24:15 -0700</bug_when>
    <thetext>See also bug 14562.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2013</commentid>
    <comment_count>10</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-08-18 18:42:01 -0700</bug_when>
    <thetext>Using autospade (Bug 15002):

Works: r17205  Fails: r17233

Note that the behavior in r17233 is different from ToT when using the test case (Attachment #15929).  Hitting Enter adds a %0A character (&quot;line1%0A&quot;), but then typing &quot;a&quot; puts it BEFORE the return character (&quot;line1a%0A&quot;) instead of after it!  In later revisions, you end up with &quot;line1%0Aa&quot;.  In both cases, the &quot;%0A&quot; character is undeletable.


</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2012</commentid>
    <comment_count>11</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-08-18 19:03:07 -0700</bug_when>
    <thetext>Behavior changed again between r17354 (&quot;line1a%0A&quot;) and r17388 (&quot;line1%0Aa&quot;).

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2010</commentid>
    <comment_count>12</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-08-18 19:10:07 -0700</bug_when>
    <thetext>(In reply to comment #11)
&gt; Behavior changed again between r17354 (&quot;line1a%0A&quot;) and r17388 (&quot;line1%0Aa&quot;).

Likely r17386:  http://trac.webkit.org/projects/webkit/changeset/17386

(In reply to comment #10)
&gt; Works: r17205  Fails: r17233

Likely r17223:  http://trac.webkit.org/projects/webkit/changeset/17223

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73851</commentid>
    <comment_count>13</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2008-03-15 18:59:08 -0700</bug_when>
    <thetext>It&apos;s a mistake to have two bugs both reported in the same bug report. I have a fix for the multiple newline one, but since my keyboard doesn&apos;t even have an insert key in it I&apos;m not going to be able to fix the other.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73852</commentid>
    <comment_count>14</comment_count>
    <who name="">mitz</who>
    <bug_when>2008-03-15 19:38:44 -0700</bug_when>
    <thetext>(In reply to comment #13)
&gt; Since my keyboard doesn&apos;t even have an
&gt; insert key in it I&apos;m not going to be able to fix the other.

I am pretty sure the insert key bug is bug 14562 has been fixed long ago in &lt;http://trac.webkit.org/projects/webkit/changeset/25251&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73853</commentid>
    <comment_count>15</comment_count>
    <who name="Michael A. Puls II">shadow2531</who>
    <bug_when>2008-03-15 20:12:02 -0700</bug_when>
    <thetext>(In reply to comment #14)
&gt; (In reply to comment #13)
&gt; &gt; Since my keyboard doesn&apos;t even have an
&gt; &gt; insert key in it I&apos;m not going to be able to fix the other.
&gt; 
&gt; I am pretty sure the insert key bug is bug 14562 has been fixed long ago in
&gt; &lt;http://trac.webkit.org/projects/webkit/changeset/25251&gt;.
&gt; 

Yep,  the insert key no longer inserts null bytes. Just need the newline fix now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73950</commentid>
    <comment_count>16</comment_count>
      <attachid>19805</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2008-03-16 12:58:19 -0700</bug_when>
    <thetext>Created attachment 19805
patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73956</commentid>
    <comment_count>17</comment_count>
      <attachid>19805</attachid>
    <who name="">mitz</who>
    <bug_when>2008-03-16 13:13:53 -0700</bug_when>
    <thetext>Comment on attachment 19805
patch

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73959</commentid>
    <comment_count>18</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2008-03-16 13:18:11 -0700</bug_when>
    <thetext>Committed revision 31081.
</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>15929</attachid>
            <date>2007-08-11 05:04:08 -0700</date>
            <delta_ts>2007-08-11 05:04:08 -0700</delta_ts>
            <desc>Demo</desc>
            <filename>zinput.html</filename>
            <type>text/html</type>
            <size>1587</size>
            <attacher name="Michael A. Puls II">shadow2531</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgogICAgPGhlYWQ+CiAgICAgICAgPHRpdGxlPlNhZmFyaSBp
bnZlbnRzIGV4dHJhIG5ld2xpbmUgaW4gdGV4dGFyZWEgdmFsdWU8L3RpdGxlPgogICAgICAgIDxz
Y3JpcHQ+CiAgICAgICAgICAgIHdpbmRvdy5vbmxvYWQgPSBmdW5jdGlvbigpIHsKICAgICAgICAg
ICAgICAgIHZhciBwcmUgPSBkb2N1bWVudC5nZXRFbGVtZW50c0J5VGFnTmFtZSgicHJlIilbMF07
CiAgICAgICAgICAgICAgICBwcmUuaW5uZXJIVE1MID0gIiI7CiAgICAgICAgICAgICAgICB2YXIg
dGEgPSBkb2N1bWVudC5nZXRFbGVtZW50c0J5VGFnTmFtZSgidGV4dGFyZWEiKVswXQogICAgICAg
ICAgICAgICAgdGEub25rZXl1cCA9IGZ1bmN0aW9uKCkgewogICAgICAgICAgICAgICAgICAgIHBy
ZS5pbm5lckhUTUwgPSBlbmNvZGVVUklDb21wb25lbnQodGEudmFsdWUpOwogICAgICAgICAgICAg
ICAgfTsKICAgICAgICAgICAgfTsKICAgICAgICA8L3NjcmlwdD4KICAgICAgICA8c3R5bGU+CiAg
ICAgICAgICAg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pPgogICAgICAgICAgICA8bGk+QWxzbywgcHJlc3Mg
dGhlIGluc2VydCBrZXkgd2hpbGUgdGhlIHRleHRhcmVhIGlzIGZvY3VzZWQuIFNhZmFyaSB3aWxs
IGluc2VydCBudWxsIGJ5dGVzIGludG8gdGhlIHRleHRhcmVhIHZhbHVlLjwvbGk+CiAgICAgICAg
PC91bD4KICAgICAgICA8cD48dGV4dGFyZWE+PC90ZXh0YXJlYT48L3A+CiAgICAgICAgPHByZT5U
aGlzIHRlc3QgcmVxdWlyZXMgSlM8L3ByZT4KICAgIDwvYm9keT4KPC9odG1sPgoK
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>19805</attachid>
            <date>2008-03-16 12:58:19 -0700</date>
            <delta_ts>2008-03-16 13:13:53 -0700</delta_ts>
            <desc>patch</desc>
            <filename>TextAreaNewlinePatch.txt</filename>
            <type>text/plain</type>
            <size>5329</size>
            <attacher name="Darin Adler">darin</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiAzMTA3OSkKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTggQEAKKzIwMDgtMDMtMTYgIERhcmluIEFkbGVyICA8ZGFyaW5AYXBwbGUuY29t
PgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIC0gZml4
IGh0dHA6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTE0OTQxCisgICAgICAgICAg
dGV4dGFyZWEgdmFsdWUgZnJvbSBKYXZhU2NyaXB0IGluY2x1ZGVzIGV4dHJhIG5ld2xpbmUKKwor
ICAgICAgIC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4dC9odG1sCk5hbWU6
IHN2bjplb2wtc3R5bGUKICAgKyBuYXRpdmUKCg==
</data>
<flag name="review"
          id="8666"
          type_id="1"
          status="+"
          setter="mitz"
    />
          </attachment>
      

    </bug>

</bugzilla>