| 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..2f8e900392fb915dd4d4718aed8e766f3e94e36d 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,22 @@ public class CommonResources {
|
| "</body>" +
|
| "</html>";
|
| }
|
| +
|
| + public static String makeHtmlPageWithSimpleLinkTo(String headers, String destination) {
|
| + return makeHtmlPageFrom(headers,
|
| + "<a href=\"" + destination + "\" id=\"link\">" +
|
| + "<img class=\"big\" />" +
|
| + "</a>");
|
| + }
|
| +
|
| + public static String makeHtmlPageWithSimpleLinkTo(String destination) {
|
| + return makeHtmlPageWithSimpleLinkTo("", destination);
|
| + }
|
| +
|
| + public static String makeHtmlPageWithSimplePostFormTo(String destination) {
|
| + return makeHtmlPageFrom("",
|
| + "<form action=\"" + destination + "\" method=\"post\">" +
|
| + "<input type=\"submit\" value=\"post\" id=\"link\">" +
|
| + "</form>");
|
| + }
|
| }
|
|
|