am f6f0ffd8: am 7e73ce90: DRT needs to clear cookies between tests.

* commit 'f6f0ffd888f8ab5db30bfddf3a9b9d0cebdb81b9':
  DRT needs to clear cookies between tests.
This commit is contained in:
Ben Murdoch
2011-01-20 03:48:17 -08:00
committed by Android Git Automerger

View File

@@ -37,6 +37,7 @@ import android.util.Log;
import android.view.ViewGroup;
import android.view.Window;
import android.webkit.ConsoleMessage;
import android.webkit.CookieManager;
import android.webkit.GeolocationPermissions;
import android.webkit.HttpAuthHandler;
import android.webkit.JsPromptResult;
@@ -827,6 +828,7 @@ public class TestShellActivity extends Activity implements LayoutTestController
setDefaultWebSettings(mWebView);
mIsGeolocationPermissionSet = false;
mPendingGeolocationPermissionCallbacks = null;
CookieManager.getInstance().removeAllCookie();
}
private long[] getDrawWebViewTime(WebView view, int count) {