[Webkit-unassigned] [Bug 145075] New: Dynamically updating or injecting an iframe causes a textarea to lose its undo stack

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 15 15:25:58 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=145075

            Bug ID: 145075
           Summary: Dynamically updating or injecting an iframe causes a
                    textarea to lose its undo stack
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Mac OS X 10.10
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: patocallaghan at gmail.com

Yosemite 10.10.3
Safari 8

Steps to reproduce:

1. Type into the textarea
2. Dynamically inject an iframe or update the iframe's srcdoc using JavaScript
3. Focus the texarea and undo the last edit

What should happen:
The texarea should go back to the last edit.

What does happen:
The textarea loses its undo stack and doesn't change. This works fine on Chrome and Firefox. I haven't tested on IE.

Here's a JSBin which replicates the issue
http://jsbin.com/lodika/1/edit?html,js,output

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150515/db0a584d/attachment.html>


More information about the webkit-unassigned mailing list