| Index: content/public/android/javatests/src/org/chromium/content/browser/InterstitialPageTest.java
|
| diff --git a/content/public/android/javatests/src/org/chromium/content/browser/InterstitialPageTest.java b/content/public/android/javatests/src/org/chromium/content/browser/InterstitialPageTest.java
|
| index 1c3b07925b3391fa70a8daf9ceb7b26052dc74a0..e3398976014b4f9baeef7688a141a60893756b4b 100644
|
| --- a/content/public/android/javatests/src/org/chromium/content/browser/InterstitialPageTest.java
|
| +++ b/content/public/android/javatests/src/org/chromium/content/browser/InterstitialPageTest.java
|
| @@ -88,21 +88,20 @@ public class InterstitialPageTest extends ContentShellTestBase {
|
| @Feature({"Navigation"})
|
| public void testCloseInterstitial() throws InterruptedException, ExecutionException {
|
| final String proceedCommand = "PROCEED";
|
| - final String htmlContent =
|
| - "<html>" +
|
| - "<head>" +
|
| - "<script>" +
|
| - "function sendCommand(command) {" +
|
| - "window.domAutomationController.setAutomationId(1);" +
|
| - "window.domAutomationController.send(command);" +
|
| - "}" +
|
| - "</script>" +
|
| - "</head>" +
|
| - "<body style='background-color:#FF0000' " +
|
| - "onclick='sendCommand(\"" + proceedCommand + "\");'>" +
|
| - "<h1>This is a scary interstitial page</h1>" +
|
| - "</body>" +
|
| - "</html>";
|
| + final String htmlContent = "<html>"
|
| + + "<head>"
|
| + + " <script>"
|
| + + " function sendCommand(command) {"
|
| + + " window.domAutomationController.setAutomationId(1);"
|
| + + " window.domAutomationController.send(command);"
|
| + + " }"
|
| + + " </script>"
|
| + + "</head>"
|
| + + "<body style='background-color:#FF0000' "
|
| + + " onclick='sendCommand(\"" + proceedCommand + "\");'>"
|
| + + " <h1>This is a scary interstitial page</h1>"
|
| + + "</body>"
|
| + + "</html>";
|
| final InterstitialPageDelegateAndroid delegate =
|
| new InterstitialPageDelegateAndroid(htmlContent) {
|
| @Override
|
|
|