Change polling to wait in WebChromeClientTest There are a few instances of polling left in the file that could not easily be changed, since there are no corresponding callbacks. Bug: 37293648 Test: atest CtsWebkitTestCases Flag: TEST_ONLY Change-Id: I1e2e757135b20dfaac314d5842160a417528272d