DescriptionConvert execCommand/unlink.html to use w3c test harness
This patch converts "execCommand/unlink.html" to use w3c test
harness with |assert_selection()| to simplify for code and improve code health.
This patch also updates |assert_selection()| to serialize selection correctly
when anchor node and focus node aren't |Text| node, and adds sanity check
for expected text.
This patch is a preparation of committing crrev.com/2001083002, Make
FrameSelection to track associated Document.
BUG=n/a
TEST=n/a; no behavior changes
Committed: https://crrev.com/786659dee62e423b2a5f7f88ce8a087e8de18986
Cr-Commit-Position: refs/heads/master@{#396791}
Patch Set 1 : 2016-05-27T10:53:59 #
Total comments: 2
Patch Set 2 : 2016-05-27T18:50:31 #
Total comments: 4
Patch Set 3 : 2016-05-30T13:33:29 #
Messages
Total messages: 22 (8 generated)
|