Bug 140262 - Setting iframe src clears undo stack
Summary: Setting iframe src clears undo stack
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Frames (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-01-08 11:41 PST by Max Vujovic
Modified: 2015-09-15 10:52 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Max Vujovic 2015-01-08 11:41:38 PST
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's a reproduction:
http://jsfiddle.net/4qsfya3a/2/

It'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's also broken in Chrome. However, I've found this works correctly in latest Chrome and Firefox (didn't try IE).
Comment 1 Radar WebKit Bug Importer 2015-09-15 10:52:23 PDT
<rdar://problem/22704530>