Make selection_test() and assert_selection() faster
This patch changes |Sample| class used in |assert_selection()| by reusing IFRAME for making |selection_test()| and |assert_selection()| faster. # Changes of tests ## assert_selection.html Because of |assert_selection| doesn't remove IFRAME used by |Sample|, this patch changes assertion to check IFRAME, which "id" is "sample", available. ## overtype.html This patch changes each test starts with overwrite mode is off, because of the overwrite mode state is state of |LocalFrame|, each test should reset it. ## spellcheck_test.js This patch changes |spellcheck_test()| not to reuse IFRAME used by |Sample|. Change-Id: I6513a2ffa01caeb0ad18360b543d0ebb4bad253a Reviewed-on: https://chromium-review.googlesource.com/987632 Commit-Queue: Yoshifumi Inoue <yosin@chromium.org> Reviewed-by:Yoichi Osato <yoichio@chromium.org> Cr-Commit-Position: refs/heads/master@{#547423}
Showing
Please register or sign in to comment