<?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>140262</bug_id>
          
          <creation_ts>2015-01-08 11:41:38 -0800</creation_ts>
          <short_desc>Setting iframe src clears undo stack</short_desc>
          <delta_ts>2022-10-16 04:32:19 -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>Frames</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Max Vujovic">mvujovic</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>ap</cc>
    
    <cc>dbates</cc>
    
    <cc>enrica</cc>
    
    <cc>rniwa</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1059891</commentid>
    <comment_count>0</comment_count>
    <who name="Max Vujovic">mvujovic</who>
    <bug_when>2015-01-08 11:41:38 -0800</bug_when>
    <thetext>Filing this for a colleague who ran into it. In Safari, if you load an iframe while typing in a text input, undo stops working in the text input.

Here&apos;s a reproduction:
http://jsfiddle.net/4qsfya3a/2/

It&apos;s been mentioned on stackoverflow before:
http://stackoverflow.com/questions/10810246/iframe-load-clears-browser-undo-stack

Which has another reproduction:
http://jsfiddle.net/N6t8P/6/

The stackoverflow question implies it&apos;s also broken in Chrome. However, I&apos;ve found this works correctly in latest Chrome and Firefox (didn&apos;t try IE).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1126039</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2015-09-15 10:52:23 -0700</bug_when>
    <thetext>&lt;rdar://problem/22704530&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1905952</commentid>
    <comment_count>2</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-10-16 04:32:19 -0700</bug_when>
    <thetext>I am able to reproduce this bug in Safari 16 and Safari Technology Preview 155 using attached test case and CMD+Z opens previous closed tab (if not in Private Mode).


Both Chrome Canary 108 and Firefox Nightly 107 also has differences where Firefox do CMD+Z and remove all text, Chrome go character by character.

Just wanted to update latest results. Thanks!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>