Commit f48455d3 authored by John Abd-El-Malek's avatar John Abd-El-Malek Committed by Commit Bot

Don't run WebLayer browsertests using an incognito profile on Android.

We weren't passing a profile name so it was always in-memory. I'm using this in a follow-up cl to force all downloads in weblayer_browsertests to go to this temp profile directory instead of filling up the default download folder. It also makes sense that WebLayer Android browser tests match desktop, and non-WebLayer as well.

Bug: 1025603
Change-Id: I1f4fe20e77e6405b97365a9dfa30917fd1c5d486
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1984761Reviewed-by: default avatarClark DuVall <cduvall@chromium.org>
Commit-Queue: John Abd-El-Malek <jam@chromium.org>
Cr-Commit-Position: refs/heads/master@{#728010}
parent c4dd918f
...@@ -77,7 +77,7 @@ public class WebLayerBrowserTestsActivity extends NativeBrowserTestActivity { ...@@ -77,7 +77,7 @@ public class WebLayerBrowserTestsActivity extends NativeBrowserTestActivity {
new RelativeLayout.LayoutParams( new RelativeLayout.LayoutParams(
LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT));
Fragment fragment = WebLayer.createBrowserFragment(null); Fragment fragment = WebLayer.createBrowserFragment("BrowserTestProfile");
FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); FragmentTransaction transaction = getSupportFragmentManager().beginTransaction();
transaction.add(viewId, fragment); transaction.add(viewId, fragment);
......
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