diff options
author | Steve Block <steveblock@google.com> | 2011-02-10 13:59:09 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-02-10 13:59:09 -0800 |
commit | 6dfef1b86dfb9969e4a1a01a1fb117e1525c17bd (patch) | |
tree | c704ec097fcebb687cce67f3820ce8fc277ee794 /tests/DumpRenderTree | |
parent | 72f0224f2f9c44e2096bea07547bc88b1f10539b (diff) | |
parent | 16d041cc9f4b67c37abf7dc5f8d49c7de81f2c84 (diff) | |
download | frameworks_base-6dfef1b86dfb9969e4a1a01a1fb117e1525c17bd.zip frameworks_base-6dfef1b86dfb9969e4a1a01a1fb117e1525c17bd.tar.gz frameworks_base-6dfef1b86dfb9969e4a1a01a1fb117e1525c17bd.tar.bz2 |
Merge "Adds CookieManager methods to configure policy for cookies for file scheme URLs"
Diffstat (limited to 'tests/DumpRenderTree')
-rw-r--r-- | tests/DumpRenderTree/src/com/android/dumprendertree/TestShellActivity.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/DumpRenderTree/src/com/android/dumprendertree/TestShellActivity.java b/tests/DumpRenderTree/src/com/android/dumprendertree/TestShellActivity.java index 9c0a4bc..8d3fd1d 100644 --- a/tests/DumpRenderTree/src/com/android/dumprendertree/TestShellActivity.java +++ b/tests/DumpRenderTree/src/com/android/dumprendertree/TestShellActivity.java @@ -36,6 +36,7 @@ import android.os.Message; import android.util.Log; import android.view.ViewGroup; import android.view.Window; +import android.webkit.CookieManager; import android.webkit.ConsoleMessage; import android.webkit.CookieManager; import android.webkit.GeolocationPermissions; @@ -141,6 +142,7 @@ public class TestShellActivity extends Activity implements LayoutTestController contentView.setOrientation(LinearLayout.VERTICAL); setContentView(contentView); + CookieManager.setAcceptFileSchemeCookies(true); mWebView = new WebView(this); mEventSender = new WebViewEventSender(mWebView); mCallbackProxy = new CallbackProxy(mEventSender, this); |