[Webkit-unassigned] [Bug 14941] REGRESSION: textarea value storage implementation is buggy with newlines and null bytes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 13 00:49:36 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=14941


cwzwarich at uwaterloo.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cwzwarich at uwaterloo.ca




------- Comment #6 from cwzwarich at uwaterloo.ca  2007-08-13 00:49 PDT -------
I did some hunting with nightlies. This bug wasn't introduced all at once. Here
is an exciting timeline of these problems. I can'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 "line1" 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 <http://trac.webkit.org/projects/webkit/changeset/14931> and
r14935 <http://trac.webkit.org/projects/webkit/changeset/14935>. My money is on
r14931, but I don'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
<http://trac.webkit.org/projects/webkit/changeset/15617>.

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

Finally, the phantom newline after hitting enter was introduced by r17386
<http://trac.webkit.org/projects/webkit/changeset/17386> (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'm at a conference, but hopefully this will
help anyone who is trying to fix it.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list