<?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>48665</bug_id>
          
          <creation_ts>2010-10-29 12:51:33 -0700</creation_ts>
          <short_desc>Changing a textarea value through JavaScript screws up undo for all textareas</short_desc>
          <delta_ts>2013-12-02 14:21:12 -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>HTML Editing</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>61340</dup_id>
          
          <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="Alexander Staubo">alex</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>adele</cc>
    
    <cc>ap</cc>
    
    <cc>dbates</cc>
    
    <cc>rniwa</cc>
    
    <cc>tkent</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>301981</commentid>
    <comment_count>0</comment_count>
      <attachid>72375</attachid>
    <who name="Alexander Staubo">alex</who>
    <bug_when>2010-10-29 12:51:33 -0700</bug_when>
    <thetext>Created attachment 72375
Test case

Consider two textarea fields in the same form. If a bit of JS code programmatically changes the value of one of the fields, the undo function will forget any undos for any part of the document. Test case attached which changes a value every 2 seconds.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>301982</commentid>
    <comment_count>1</comment_count>
    <who name="Alexander Staubo">alex</who>
    <bug_when>2010-10-29 12:52:17 -0700</bug_when>
    <thetext>Possibly related to bug # 14033.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>955573</commentid>
    <comment_count>2</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2013-12-02 14:19:38 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 61340 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>955579</commentid>
    <comment_count>3</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2013-12-02 14:21:12 -0800</bug_when>
    <thetext>For completeness, I&apos;m unable to reproduce this issue using the attached test case and nightly r159941 and Safari Version 7.0 (9537.71, 538+) on OS X Mavericks - 10.9 (13A603). In particular, I was able to both undo/redo changes made to both text areas despite the right text area updating its value on a 2 ms interval.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>72375</attachid>
            <date>2010-10-29 12:51:33 -0700</date>
            <delta_ts>2010-10-29 12:51:33 -0700</delta_ts>
            <desc>Test case</desc>
            <filename>undo_testcase.html</filename>
            <type>text/html</type>
            <size>277</size>
            <attacher name="Alexander Staubo">alex</attacher>
            
              <data encoding="base64">PGh0bWw+Cjxib2R5PgogIDx0ZXh0YXJlYSBuYW1lPSJhIiBpZD0idDEiIHJvd3M9IjEwIiBjb2xz
PSIxMCI+PC90ZXh0YXJlYT4KICA8dGV4dGFyZWEgbmFtZT0iYiIgaWQ9InQyIiByb3dzPSIxMCIg
Y29scz0iMTAiPjwvdGV4dGFyZWE+CiAgPHNjcmlwdD4KICB3aW5kb3cuc2V0SW50ZXJ2YWwoZnVu
Y3Rpb24oKSB7CiAgICBkb2N1bWVudC5nZXRFbGVtZW50QnlJZCgndDInKS52YWx1ZSA9IG5ldyBE
YXRlKCkudG9TdHJpbmcoKTsKICB9LCAyMDAwKTsKICA8L3NjcmlwdD4KPC9ib2R5Pg==
</data>

          </attachment>
      

    </bug>

</bugzilla>