Home | History | Annotate | Download | only in net

Lines Matching full:cookie

69 // Visits a page that sets a first-party cookie.
76 GURL url(test_server()->GetURL("set-cookie?cookie1"));
78 std::string cookie = GetCookies(url);
79 ASSERT_EQ("", cookie);
83 cookie = GetCookies(url);
84 EXPECT_EQ("cookie1", cookie);
88 // a first-party cookie.
97 GURL redirected_url(test_server()->GetURL("set-cookie?cookie2"));
100 // third-party cookie blocking if the first party for cookies URL is not
108 std::string cookie = GetCookies(redirected_url);
109 ASSERT_EQ("", cookie);
116 cookie = GetCookies(redirected_url);
117 EXPECT_EQ("cookie2", cookie);