Index: android_webview/javatests/src/org/chromium/android_webview/test/util/CommonResources.java |
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/util/CommonResources.java b/android_webview/javatests/src/org/chromium/android_webview/test/util/CommonResources.java |
index 5fae61ca794653762b963efa7c35ee36cc7b8620..1f8dcc2ba3d23bf28d629149a1a78d7a3885a648 100644 |
--- a/android_webview/javatests/src/org/chromium/android_webview/test/util/CommonResources.java |
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/util/CommonResources.java |
@@ -105,4 +105,18 @@ public class CommonResources { |
"</body>" + |
"</html>"; |
} |
+ |
+ public static String makeHtmlPageWithSimpleLinkTo(String destination) { |
+ return makeHtmlPageFrom("", |
+ "<a href=\"" + destination + "\" id=\"link\">" + |
+ "<img class=\"big\" />" + |
+ "</a>"); |
+ } |
+ |
+ public static String makeHtmlPageWithSimplePostFormTo(String destination) { |
+ return makeHtmlPageFrom("", |
+ "<form action=\"" + destination + "\" method=\"post\">" + |
+ "<input type=\"submit\" value=\"post\" id=\"link\">" + |
+ "</form>"); |
+ } |
} |