Bug 193157 - Reloading a subframe erases the undo stack
Summary: Reloading a subframe erases the undo stack
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-01-04 13:40 PST by Wenson Hsieh
Modified: 2019-01-04 13:43 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wenson Hsieh 2019-01-04 13:40:31 PST
To reproduce:

1.  Go to https://whsieh.github.io/examples/find-and-replace.html
2.  Click in one of the red boxes and type anything.
    Verify that cmd+z undoes the typing, and cmd+shift+z reapplies the typing.
3.  Click the "Reload the subframe" button below.
4.  Examine the "Edit" menu in the menu bar...

Observe: the option to Undo is either grayed out, or replaced with one of Safari's undoable actions.
Expected: Undo Typing

Also note: cmd+z will not undo the typing done in step (1).
Comment 1 Radar WebKit Bug Importer 2019-01-04 13:43:26 PST
<rdar://problem/47056252>