LayoutTests:
Reviewed by harrison
* editing/execCommand/paste-1-expected.checksum: Added.
* editing/execCommand/paste-1-expected.png: Added.
* editing/execCommand/paste-1-expected.txt: Added.
* editing/execCommand/paste-1.html: Added.
* editing/execCommand/paste-2-expected.checksum: Added.
* editing/execCommand/paste-2-expected.png: Added.
* editing/execCommand/paste-2-expected.txt: Added.
* editing/execCommand/paste-2.html: Added.
WebKit:
Reviewed by harrison
execCommand("Cut"/"Copy"/"Paste") broken in editable subframes.
* WebCoreSupport/WebFrameBridge.m:
(-[WebFrameBridge issueCutCommand]): Issue the command on the WebHTMLView, not the WebView.
(-[WebFrameBridge issueCopyCommand]): Ditto.
(-[WebFrameBridge issuePasteCommand]): Ditto.
(-[WebFrameBridge issuePasteAndMatchStyleCommand]): Ditto.
(-[WebFrameBridge issueTransposeCommand]): Fixed formatting.
(-[WebFrameBridge canPaste]): Ask the WebHTMLView, not the WebView.
* WebView/WebHTMLView.m:
(-[WebHTMLView copy:]): Moved to WebInternal
(-[WebHTMLView cut:]): Ditto.
(-[WebHTMLView paste:]): Ditto.
(-[WebHTMLView pasteAsPlainText:]): Ditto.
* WebView/WebHTMLViewInternal.h:
* WebView/WebView.m: Removed the now unused _canPaste.
* WebView/WebViewInternal.h: Ditto.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16752
268f45cc-cd09-0410-ab3c-
d52691b4dbfc