summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-17 20:24:27 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-17 20:24:27 +0000
commit10ebfce032159d84651d15206ec09a306f3463d8 (patch)
tree28c6b9bc95df87bed3c5ef340b72cb6fbe149c6e
parent8aa85983c8250ed3c3c941afdc067b1c4c6694f1 (diff)
downloadchromium_src-10ebfce032159d84651d15206ec09a306f3463d8.zip
chromium_src-10ebfce032159d84651d15206ec09a306f3463d8.tar.gz
chromium_src-10ebfce032159d84651d15206ec09a306f3463d8.tar.bz2
Fixed failed test in net_perftest.
TestAddCookieOnManyHosts would fail due to SetCookie() returning false when true was expected. Cause of the failed cookie insert was due to httponly cookie being used in the test. Removed httponly from cookie. Patch by jroesslein@gmail.com R=darin -This line, and those below, will be ignored-- M AUTHORS M net/base/cookie_monster_perftest.cc git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7158 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--AUTHORS1
-rw-r--r--net/base/cookie_monster_perftest.cc2
2 files changed, 2 insertions, 1 deletions
diff --git a/AUTHORS b/AUTHORS
index cbff379..754d3ac 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -23,3 +23,4 @@ Ibrar Ahmed <ibrar.ahmad@gmail.com>
Fabien Tassin <fta@sofaraway.org>
Kunal Thakar <kunalt@gmail.com>
Mohamed Mansour <m0.interactive@gmail.com>
+Joshua Roesslein <jroesslein@gmail.com>
diff --git a/net/base/cookie_monster_perftest.cc b/net/base/cookie_monster_perftest.cc
index 92be709..52170ff 100644
--- a/net/base/cookie_monster_perftest.cc
+++ b/net/base/cookie_monster_perftest.cc
@@ -14,7 +14,7 @@ namespace {
}
static const int kNumCookies = 20000;
-static const char kCookieLine[] = "A = \"b=;\\\"\" ;secure;;; httponly";
+static const char kCookieLine[] = "A = \"b=;\\\"\" ;secure;;;";
TEST(ParsedCookieTest, TestParseCookies) {
std::string cookie(kCookieLine);