Lines Matching refs:cookie
52 // * Three levels of domain cookie (.b.a, .c.b.a, .d.c.b.a)
53 // * Three levels of host cookie (w.b.a, w.c.b.a, w.d.c.b.a)
54 // * http_only cookie (w.c.b.a)
82 // Http_only cookie
144 // Opera: <rejects cookie>
148 // Opera: <rejects cookie>
166 // make the cookie effectively useless, but path parameters aren't supposed
378 // Verify that A=B was set as a host cookie rather than a domain
379 // cookie -- should not be accessible from a sub sub-domain.
387 // treat it as a domain cookie, as if there was a pre-pended dot.
440 // Check that the same cookie can exist on different sub-domains.
450 // Test that setting a cookie which specifies an invalid domain has
496 // Make sure the cookie code hasn't gotten its subdomain string handling
510 { // The omission of dot results in setting a domain cookie.
519 { // Even when the domains match exactly, don't consider it host cookie.
529 // Test that the domain specified in cookie string is treated case-insensitive
552 // It should be allowed to set a cookie if domain= matches the IP address
566 // Allow setting on "com", (but only as a host cookie).
572 // not a domain cookie.
585 { // Should not be able to set host cookie from a subdomain.
601 { // Make sure can't set cookie on TLD which is dotted.
630 // Do not share cookie space with the dot version of domain.
677 // Create a httponly cookie.
731 // If the cookie came in with the expiration quoted (which in terms of
756 // amazon.com formats their cookie expiration like this.
817 // Create a session cookie.
825 // Create a session cookie.
834 // Create a persistent cookie.
849 // Create a persistent cookie.
864 // Create a persistent cookie.
899 // Create a persistent cookie.
930 // Now delete the one cookie created in the last day.
1022 // Reading the cookie again immediately shouldn't update the access date,
1049 std::string cookie = base::StringPrintf("a%03d=b", i);
1050 EXPECT_TRUE(cm->SetCookie(url_google, cookie));
1053 EXPECT_NE(cookies.find(cookie), std::string::npos);
1120 // Formerly NetUtilTest.CookieTest back when we used wininet's cookie handling.
1192 // Create an httponly cookie.
1332 // Insert a cookie "a" for path "/path1"
1339 // Insert a cookie "b" for path "/path1"
1346 // Insert a cookie "b" for path "/path1", that is httponly. This should
1359 // Insert a cookie "a" for path "/path1". This should overwrite.
1367 // Insert a cookie "a" for path "/path2". This should NOT overwrite
1368 // cookie "a", since the path is different.
1375 // Insert a cookie "a" for path "/path1", but this time for "chromium.org".
1389 // Tests importing from a persistent cookie store that contains duplicate
1391 // duplicate cookie (both from the in-memory cache, and from the backing store).
1446 // Insert 1 cookie with name "Y" on path "/".
1461 // Verify that same-named cookie on a different path ("/x2") didn't get
1474 // Tests importing from a persistent cookie store that contains cookies
1559 // Insert a cookie "a" for path "/path1"
1572 // Insert a cookie "a" for path "/path1", that is httponly. This should
1614 // Test that malformed attributes fail to set the cookie.
1679 // All three tests should nuke only the midlevel host cookie,
1680 // the http_only cookie, the host secure cookie, and the two host
1793 << "Cookie " << it->Name() << " has same creation date ("
1795 << ") as previously entered cookie "
1853 {"http://a.b.google.com", "a", "1", "", "/path/to/cookie", expires,
1855 {"https://www.google.com", "b", "2", ".google.com", "/path/from/cookie",
1857 {"https://google.com", "c", "3", "", "/another/path/to/cookie",
1877 // Create a new cookie monster and make sure that everything is correct
1882 // Ordering is path length, then creation time. So second cookie
1977 // Now we explore a series of relationships between cookie last access
2046 // This test checks that setting a cookie forcing it to be a session only
2047 // cookie works as expected.
2053 // Set a persistent cookie, but force it to be a session cookie.
2059 // Get the canonical cookie.
2064 // Use a past expiry date to delete the cookie, but force it to session only.
2069 // Check that the cookie was deleted.
2081 // Set a persistent cookie.
2086 // Get the canonical cookie.
2090 // Use a past expiry date to delete the cookie.
2095 // Check that the cookie with the past expiry date is still there.
2243 "Cookie.ExpirationDurationMinutes", 1, 10 * 365 * 24 * 60, 50,
2258 // kValidCookieLine creates a session cookie.