[ChromeDriver] Fix canHandleHttpOnlyCookie test
Add deleteAllCookies() at the end of canHandleSecureCookie test
to exclude interaction between tests.
Bug: chromedriver:2835
Change-Id: I51fa45a834b2a637e76e8b2d071b6d21206a10e2
diff --git a/jar/tests-selenium.jar b/jar/tests-selenium.jar
index 66824f2..c224624 100644
--- a/jar/tests-selenium.jar
+++ b/jar/tests-selenium.jar
Binary files differ
diff --git a/seleniumHQ.patch b/seleniumHQ.patch
index 81ba69c..2627fdf 100644
--- a/seleniumHQ.patch
+++ b/seleniumHQ.patch
@@ -63,6 +63,18 @@
private PortProber() {
// Utility class
+diff --git a/java/client/test/org/openqa/selenium/CookieImplementationTest.java b/java/client/test/org/openqa/selenium/CookieImplementationTest.java
+index b6a883708f..89d1b8700a 100644
+--- a/java/client/test/org/openqa/selenium/CookieImplementationTest.java
++++ b/java/client/test/org/openqa/selenium/CookieImplementationTest.java
+@@ -386,6 +386,7 @@ public void canHandleSecureCookie() {
+
+ Cookie retrieved = driver.manage().getCookieNamed("fish");
+ assertThat(retrieved).isNotNull();
++ driver.manage().deleteAllCookies();
+ }
+
+ @Test
diff --git a/java/client/test/org/openqa/selenium/WindowTest.java b/java/client/test/org/openqa/selenium/WindowTest.java
index 574a794d52..a5c0e2674f 100644
--- a/java/client/test/org/openqa/selenium/WindowTest.java