OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:IsSameSite
(Results
1 - 3
of
3
) sorted by null
/external/chromium_org/content/child/
site_isolation_policy_unittest.cc
33
TEST(SiteIsolationPolicyTest,
IsSameSite
) {
37
EXPECT_TRUE(SiteIsolationPolicy::
IsSameSite
(a_com_url0, a_com_url1));
38
EXPECT_TRUE(SiteIsolationPolicy::
IsSameSite
(a_com_url1, a_com_url2));
39
EXPECT_TRUE(SiteIsolationPolicy::
IsSameSite
(a_com_url2, a_com_url0));
42
EXPECT_FALSE(SiteIsolationPolicy::
IsSameSite
(a_com_url0, b_com_url0));
45
EXPECT_FALSE(SiteIsolationPolicy::
IsSameSite
(a_com_url0, about_blank_url));
48
EXPECT_FALSE(SiteIsolationPolicy::
IsSameSite
(a_com_url0, chrome_url));
51
EXPECT_FALSE(SiteIsolationPolicy::
IsSameSite
(a_com_url0, empty_url));
site_isolation_policy.h
110
FRIEND_TEST_ALL_PREFIXES(SiteIsolationPolicyTest,
IsSameSite
);
128
static bool
IsSameSite
(const GURL& frame_origin, const GURL& response_url);
site_isolation_policy.cc
197
if (
IsSameSite
(frame_origin, response_url))
402
bool SiteIsolationPolicy::
IsSameSite
(const GURL& frame_origin,
449
return
IsSameSite
(frame_origin, cors_origin);
Completed in 23 milliseconds