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
This commit is contained in:
1
AUTHORS
1
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>
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user