diff options
author | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-11 03:36:26 +0000 |
---|---|---|
committer | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-11 03:36:26 +0000 |
commit | aa47a63ce9c446d3b09f06e4ce56b3c635412da5 (patch) | |
tree | a936b96f4130d053f5aa7db72bd78c7fafb87262 /android_webview | |
parent | c00de9ec01729d0988b57d2c4fbf0a28e2e77468 (diff) | |
download | chromium_src-aa47a63ce9c446d3b09f06e4ce56b3c635412da5.zip chromium_src-aa47a63ce9c446d3b09f06e4ce56b3c635412da5.tar.gz chromium_src-aa47a63ce9c446d3b09f06e4ce56b3c635412da5.tar.bz2 |
Workaround disk cache crash in testAppCacheWithTwoViews
This test failed twice on one of the fyi bots. See bug for details.
BUG=154805
Android only java test change. Ran through android bot.
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/11842002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176255 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview')
-rw-r--r-- | android_webview/javatests/src/org/chromium/android_webview/test/AwSettingsTest.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/AwSettingsTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/AwSettingsTest.java index 261c108..33bb757 100644 --- a/android_webview/javatests/src/org/chromium/android_webview/test/AwSettingsTest.java +++ b/android_webview/javatests/src/org/chromium/android_webview/test/AwSettingsTest.java @@ -2018,6 +2018,11 @@ public class AwSettingsTest extends AndroidWebViewTestBase { // is disabled takes a lot of time, so running through the usual drill // will take about 20 seconds. ViewPair views = createViews(); + + // TODO(boliu): This is to work around disk cache corruption bug on + // unclean shutdown (crbug.com/154805). + clearCacheOnUiThread(views.getContents0(), true); + ContentSettings settings0 = getContentSettingsOnUiThread(views.getContents0()); settings0.setJavaScriptEnabled(true); settings0.setAppCachePath("whatever"); |