commit | a8e4d0e91c6b3c6158153ea1490e969e7def24e5 | [log] [tgz] |
---|---|---|
author | George Mount <mount@google.com> | Thu Jul 19 15:00:51 2012 -0700 |
committer | George Mount <mount@google.com> | Thu Jul 19 15:54:45 2012 -0700 |
tree | 8aaa8e6e71a5dcc704b6b5f7ad848657213f7dce | |
parent | 3fdddac099b05037e58fa69c41751228056d8468 [diff] |
Give a size for image so test doesn't have to wait for the load. Bug 6299115 Change-Id: I3c226c94bd2aa2cbbeb635981b70f43649f22529
diff --git a/tests/tests/webkit/src/android/webkit/cts/WebViewTest.java b/tests/tests/webkit/src/android/webkit/cts/WebViewTest.java index 0dd3934..71def2f 100755 --- a/tests/tests/webkit/src/android/webkit/cts/WebViewTest.java +++ b/tests/tests/webkit/src/android/webkit/cts/WebViewTest.java
@@ -1164,6 +1164,7 @@ final String imgUrl = mWebServer.getAssetUrl(TestHtmlConstants.LARGE_IMG_URL); mOnUiThread.loadDataAndWaitForCompletion( "<html><title>Title</title><body><img src=\"" + imgUrl + + "\" width=\"" + imgWidth + "\" height=\"" + imgHeight + "\"/></body></html>", "text/html", null); getInstrumentation().waitForIdleSync();