Deflake testUnknownTypeUnrecognizedNode

This test seem to trigger the below DCHECK spuriously:
[FATAL:gesture_event_filter.cc(142)] Check failed: deferred_tap_down_event_.type == WebInputEvent::Undefined (17 vs. -1)

Seems like touch->gesture conversion code is getting confused about
sending only ACTION_DOWN events in the test, so fix by sending both down
and up.

This also revealed a potential flake point in
testUnknownTypeUnrecognizedNode that the hit test hits the previous
page, which is fixed here by waiting for the title to update.

BUG=
Android/Java only change. Ran through android trybot.
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/11415110

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169206 0039d316-1c4b-4281-b951-d872f2087c98
1 file changed