Home | History | Annotate | Download | only in base

Lines Matching full:setcookie

373   EXPECT_TRUE(cm->SetCookie(url_google, "A=B"));
375 EXPECT_TRUE(cm->SetCookie(url_google, "C=D; domain=.google.izzle"));
383 EXPECT_TRUE(cm->SetCookie(url_google, "E=F; domain=.www.google.izzle"));
388 EXPECT_TRUE(cm->SetCookie(url_google, "G=H; domain=www.google.izzle"));
392 EXPECT_FALSE(cm->SetCookie(url_google, "I=J; domain=.izzle"));
394 EXPECT_FALSE(cm->SetCookie(url_google, "K=L; domain=.bla.www.google.izzle"));
411 EXPECT_FALSE(cm->SetCookie(url_google, "a=1; domain=.www.google.com."));
412 EXPECT_FALSE(cm->SetCookie(url_google, "b=2; domain=.www.google.com.."));
430 EXPECT_TRUE(cm->SetCookie(url_abcd, "a=1; domain=.a.b.c.d.com"));
431 EXPECT_TRUE(cm->SetCookie(url_abcd, "b=2; domain=.b.c.d.com"));
432 EXPECT_TRUE(cm->SetCookie(url_abcd, "c=3; domain=.c.d.com"));
433 EXPECT_TRUE(cm->SetCookie(url_abcd, "d=4; domain=.d.com"));
441 EXPECT_TRUE(cm->SetCookie(url_bcd, "X=bcd; domain=.b.c.d.com"));
442 EXPECT_TRUE(cm->SetCookie(url_bcd, "X=cd; domain=.c.d.com"));
463 EXPECT_FALSE(cm->SetCookie(url_foobar, "a=1; domain=.yo.foo.bar.com"));
465 EXPECT_FALSE(cm->SetCookie(url_foobar, "b=2; domain=.foo.com"));
466 EXPECT_FALSE(cm->SetCookie(url_foobar, "c=3; domain=.bar.foo.com"));
469 EXPECT_FALSE(cm->SetCookie(url_foobar, "d=4; domain=.foo.bar.com.net"));
472 EXPECT_FALSE(cm->SetCookie(url_foobar, "e=5; domain=ar.com"));
475 EXPECT_FALSE(cm->SetCookie(url_foobar, "f=6; domain=."));
476 EXPECT_FALSE(cm->SetCookie(url_foobar, "g=7; domain=/"));
477 EXPECT_FALSE(cm->SetCookie(url_foobar, "h=8; domain=http://foo.bar.com"));
478 EXPECT_FALSE(cm->SetCookie(url_foobar, "i=9; domain=..foo.bar.com"));
479 EXPECT_FALSE(cm->SetCookie(url_foobar, "j=10; domain=..bar.com"));
483 EXPECT_FALSE(cm->SetCookie(url_foobar, "k=11; domain=.foo.bar.com?blah"));
484 EXPECT_FALSE(cm->SetCookie(url_foobar, "l=12; domain=.foo.bar.com/blah"));
485 EXPECT_FALSE(cm->SetCookie(url_foobar, "m=13; domain=.foo.bar.com:80"));
486 EXPECT_FALSE(cm->SetCookie(url_foobar, "n=14; domain=.foo.bar.com:"));
487 EXPECT_FALSE(cm->SetCookie(url_foobar, "o=15; domain=.foo.bar.com#sup"));
501 EXPECT_FALSE(cm->SetCookie(url_foocom, "a=1; domain=.foo.com.com.com"));
514 EXPECT_TRUE(cm->SetCookie(url_hosted, "sawAd=1; domain=filefront.com"));
522 EXPECT_TRUE(cm->SetCookie(url, "a=1; domain=www.google.com"));
534 EXPECT_TRUE(cm->SetCookie(url_google, "a=1; domain=.GOOGLE.COM"));
535 EXPECT_TRUE(cm->SetCookie(url_google, "b=2; domain=.wWw.gOOgLE.coM"));
543 EXPECT_TRUE(cm->SetCookie(url_ip, kValidCookieLine));
549 EXPECT_FALSE(cm->SetCookie(url_ip, "b=2; domain=.1.2.3.4"));
550 EXPECT_FALSE(cm->SetCookie(url_ip, "c=3; domain=.3.4"));
554 EXPECT_FALSE(cm->SetCookie(url_ip, "b=2; domain=1.2.3.3"));
556 EXPECT_TRUE(cm->SetCookie(url_ip, "b=2; domain=1.2.3.4"));
567 EXPECT_TRUE(cm->SetCookie(url, "a=1"));
568 EXPECT_FALSE(cm->SetCookie(url, "b=2; domain=.com"));
569 EXPECT_FALSE(cm->SetCookie(url, "c=3; domain=com"));
580 EXPECT_TRUE(cm->SetCookie(url, "a=1"));
588 EXPECT_FALSE(cm->SetCookie(url, "a=1; domain=.b"));
589 EXPECT_FALSE(cm->SetCookie(url, "b=2; domain=b"));
596 EXPECT_FALSE(cm->SetCookie(url, "a=1; domain=.com"));
597 EXPECT_FALSE(cm->SetCookie(url, "b=2; domain=com"));
604 EXPECT_FALSE(cm->SetCookie(url, "a=1; domain=.co.uk"));
605 EXPECT_FALSE(cm->SetCookie(url, "b=2; domain=.uk"));
614 EXPECT_TRUE(cm->SetCookie(url, "a=1"));
615 EXPECT_FALSE(cm->SetCookie(url, "b=2; domain=.b"));
616 EXPECT_FALSE(cm->SetCookie(url, "c=3; domain=b"));
627 EXPECT_TRUE(cm->SetCookie(url, "a=1"));
632 EXPECT_FALSE(cm->SetCookie(url, "b=2; domain=.www.google.com."));
635 EXPECT_TRUE(cm->SetCookie(url_with_dot, "b=2; domain=.google.com."));
645 EXPECT_FALSE(cm->SetCookie(GURL(kUrlFtp), kValidCookieLine));
650 EXPECT_TRUE(cm->SetCookie(GURL(kUrlGoogle), kValidDomainCookieLine));
657 EXPECT_TRUE(cm->SetCookie(GURL(url), "A=B; path=/wee"));
666 EXPECT_TRUE(cm->SetCookie(GURL(url), "A=C; path="));
685 EXPECT_FALSE(cm->SetCookie(url_google, "A=C"));
692 EXPECT_FALSE(cm->SetCookie(url_google, "B=A; httponly"));
818 EXPECT_TRUE(cm->SetCookie(url_google, kValidCookieLine));
821 EXPECT_TRUE(cm->SetCookie(url_google,
826 EXPECT_TRUE(cm->SetCookie(url_google, kValidCookieLine));
829 EXPECT_TRUE(cm->SetCookie(url_google,
835 EXPECT_TRUE(cm->SetCookie(url_google,
843 EXPECT_TRUE(cm->SetCookie(url_google,
850 EXPECT_TRUE(cm->SetCookie(url_google,
857 EXPECT_TRUE(cm->SetCookie(url_google,
865 EXPECT_TRUE(cm->SetCookie(url_google,
872 EXPECT_TRUE(cm->SetCookie(url_google,
888 EXPECT_TRUE(cm->SetCookie(url_google, kValidCookieLine));
900 EXPECT_TRUE(cm->SetCookie(url_google,
988 EXPECT_TRUE(cm->SetCookie(url_google, "A=B"));
992 EXPECT_TRUE(cm->SetCookie(url_google_secure, "A=B; secure"));
997 EXPECT_TRUE(cm->SetCookie(url_google_secure, "D=E; secure"));
1001 EXPECT_TRUE(cm->SetCookie(url_google_secure, "A=B"));
1019 EXPECT_TRUE(cm->SetCookie(url_google, "A=B"));
1050 EXPECT_TRUE(cm->SetCookie(url_google, cookie));
1072 EXPECT_TRUE(cm->SetCookie(url_google, cookie_general));
1074 EXPECT_TRUE(cm->SetCookie(url_google_specific, cookie_specific));
1126 EXPECT_TRUE(cm->SetCookie(test_url, "foo=bar"));
1131 EXPECT_TRUE(cm->SetCookie(test_url, "x=1"));
1132 EXPECT_TRUE(cm->SetCookie(test_url, "y=2"));
1156 EXPECT_TRUE(cm->SetCookie(url_google, "A=B"));
1157 EXPECT_TRUE(cm->SetCookie(url_google, "C=D"));
1158 EXPECT_TRUE(cm->SetCookie(url_google, "E=F"));
1179 EXPECT_TRUE(cm->SetCookie(http_url, "x=1"));
1180 EXPECT_FALSE(cm->SetCookie(foo_url, "x=1"));
1181 EXPECT_TRUE(cm_foo->SetCookie(foo_url, "x=1"));
1182 EXPECT_FALSE(cm_foo->SetCookie(http_url, "x=1"));
1304 EXPECT_TRUE(cm->SetCookie(url_google, "A=A1; path=/"));
1305 EXPECT_TRUE(cm->SetCookie(url_google, "A=A2; path=/foo"));
1306 EXPECT_TRUE(cm->SetCookie(url_google, "A=A3; path=/bar"));
1307 EXPECT_TRUE(cm->SetCookie(url_google, "B=B1; path=/"));
1308 EXPECT_TRUE(cm->SetCookie(url_google, "B=B2; path=/foo"));
1309 EXPECT_TRUE(cm->SetCookie(url_google, "B=B3; path=/bar"));
1334 cm->SetCookie(url_google, "a=val1; path=/path1; "
1341 cm->SetCookie(url_google, "b=val1; path=/path1; "
1360 EXPECT_TRUE(cm->SetCookie(url_google,
1369 EXPECT_TRUE(cm->SetCookie(url_google,
1378 EXPECT_TRUE(cm->SetCookie(url_chromium,
1527 EXPECT_TRUE(cm->SetCookie(url_google, "A=B"));
1528 EXPECT_TRUE(cm->SetCookie(url_google, "C=D"));
1529 EXPECT_TRUE(cm->SetCookie(url_google, "E=F"));
1561 cm->SetCookie(url_google, "a=val1; path=/path1; "
1748 // SetCookie, SetCookies, SetCookiesWithOptions,
1751 cm->SetCookie(url_google, "SetCookie1=A");
1752 cm->SetCookie(url_google, "SetCookie2=A");
1753 cm->SetCookie(url_google, "SetCookie3=A");
1909 EXPECT_TRUE(cm->SetCookie(GURL("http://d.c.b.a.google.com/aa/x.html"),
1911 EXPECT_TRUE(cm->SetCookie(GURL("http://b.a.google.com/aa/bb/cc/x.html"),
1913 EXPECT_TRUE(cm->SetCookie(GURL("http://b.a.google.com/aa/bb/cc/x.html"),
1915 EXPECT_TRUE(cm->SetCookie(GURL("http://c.b.a.google.com/aa/bb/cc/x.html"),
1917 EXPECT_TRUE(cm->SetCookie(GURL("http://d.c.b.a.google.com/aa/bb/x.html"),
1919 EXPECT_TRUE(cm->SetCookie(GURL("http://news.bbc.co.uk/midpath/x.html"),
1956 cm->SetCookie(GURL(StringPrintf("http://h%05d.izzle", i)), "a=1");
1973 cm->SetCookie
2038 cm->SetCookie(GURL("http://newdomain.com"), "b=2");
2260 ASSERT_TRUE(cm->SetCookie(url_google, kValidCookieLine));