Going through document().frame()->xxx looks awkward, and we already know that there's always a Frame.
Created attachment 210230 [details] Patch
Comment on attachment 210230 [details] Patch Clearing flags on attachment: 210230 Committed r154943: <http://trac.webkit.org/changeset/154943>
All reviewed patches have been landed. Closing bug.
Comment on attachment 210230 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=210230&action=review > Source/WebCore/ChangeLog:8 > + EditCommand is only created for documents that are attached to a Frame, Is this actually so? Are they not created for document.execCommand?
Comment on attachment 210230 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=210230&action=review >> Source/WebCore/ChangeLog:8 >> + EditCommand is only created for documents that are attached to a Frame, > > Is this actually so? Are they not created for document.execCommand? Document::execCommand() creates (and executes) a no-op Editor::Command if Document is not attached to a Frame.