Bug 48665

Summary: Changing a textarea value through JavaScript screws up undo for all textareas
Product: WebKit Reporter: Alexander Staubo <alex>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: adele, ap, dbates, rniwa, tkent
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Test case none

Description Alexander Staubo 2010-10-29 12:51:33 PDT
Created attachment 72375 [details]
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.
Comment 1 Alexander Staubo 2010-10-29 12:52:17 PDT
Possibly related to bug # 14033.
Comment 2 Daniel Bates 2013-12-02 14:19:38 PST

*** This bug has been marked as a duplicate of bug 61340 ***
Comment 3 Daniel Bates 2013-12-02 14:21:12 PST
For completeness, I'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.