Makes assert_selection() to set focus to sample IFRAME
This patch makes |assert_selection()| to set focus to sample IFRAME to ensure |eventSender| and |testRunner.execCommand()| to work on sample IFRAME rather than main frame. The expectation sample of "editing/deleting/delete_by_word.html" is changed to "Ctrl+Backspace", delete by word, deletes word before caret. Before this patch, "Ctrl+Backspace" was sent to main frame and sample IFRAME didn't handle it and did nothing. BUG=n/a TEST=n/a; no behavior changes Review-Url: https://codereview.chromium.org/2341563003 Cr-Commit-Position: refs/heads/master@{#418524}
Showing
Please register or sign in to comment