From 54d77138ee1bf3538dd846ff40a1f7c13fdaeaa3 Mon Sep 17 00:00:00 2001 From: "cjhopman@chromium.org" Date: Tue, 12 Mar 2013 00:29:27 +0000 Subject: Deflake insertion handle tests There are several changes to fix these tests: Disable zoom on the test html pages. Make the initial events sent to make the insertion handles be displayed much more robust. Workaround bug in bad updateFrameInfo calls. Fix inconsistencies in handling the handle's vertical offset. Use DOMUtils to determine click locations instead of hard-coded values. BUG=169648 Review URL: https://chromiumcodereview.appspot.com/12731005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187422 0039d316-1c4b-4281-b951-d872f2087c98 --- .../device_files/insertion_handle/editable_long_text.html | 14 ++++++++++++-- .../android/device_files/insertion_handle/input_text.html | 9 +++++++++ 2 files changed, 21 insertions(+), 2 deletions(-) (limited to 'content/test') diff --git a/content/test/data/android/device_files/insertion_handle/editable_long_text.html b/content/test/data/android/device_files/insertion_handle/editable_long_text.html index 72ed71a..2b0f17d 100644 --- a/content/test/data/android/device_files/insertion_handle/editable_long_text.html +++ b/content/test/data/android/device_files/insertion_handle/editable_long_text.html @@ -1,9 +1,19 @@ Test file for textarea-related tests. + - - \ No newline at end of file + diff --git a/content/test/data/android/device_files/insertion_handle/input_text.html b/content/test/data/android/device_files/insertion_handle/input_text.html index 772d312..86aa4d0 100644 --- a/content/test/data/android/device_files/insertion_handle/input_text.html +++ b/content/test/data/android/device_files/insertion_handle/input_text.html @@ -1,6 +1,15 @@ Test file for input-text-related tests. + -- cgit v1.1