DescriptionMakes 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
Committed: https://crrev.com/8521c4eb8ba14ca34af6826456e7981a3ed0562b
Cr-Commit-Position: refs/heads/master@{#418524}
Patch Set 1 : 2016-09-14T12:42:22 #Patch Set 2 : 2016-09-14T13:45:43 #Patch Set 3 : 2016-09-14T14:56:27 #
Messages
Total messages: 19 (14 generated)
|