Commit b608c6ba authored by Peter Kotwicz's avatar Peter Kotwicz Committed by Commit Bot

[Android] Fix PRESUBMIT error in WebappActivityTestRule.java

This CL fixes the modifier ordering in
WebappActivityTestRule#jsWindowOpen()

BUG=None
TBR=yfriedman

Change-Id: I2bff99d1b912177fc9ac0fc63b383b6242dd503c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1823907Reviewed-by: default avatarPeter Kotwicz <pkotwicz@chromium.org>
Reviewed-by: default avatarYaron Friedman <yfriedman@chromium.org>
Commit-Queue: Peter Kotwicz <pkotwicz@chromium.org>
Commit-Queue: Yaron Friedman <yfriedman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#699863}
parent 6186e604
......@@ -159,7 +159,7 @@ public class WebappActivityTestRule extends ChromeActivityTestRule<WebappActivit
* Executing window.open() through a click on a link, as it needs user gesture to avoid Chrome
* blocking it as a popup.
*/
static public void jsWindowOpen(ChromeActivity activity, String url) throws Exception {
public static void jsWindowOpen(ChromeActivity activity, String url) throws Exception {
String injectedHtml = String.format("var aTag = document.createElement('testId');"
+ "aTag.id = 'testId';"
+ "aTag.innerHTML = 'Click Me!';"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment