#include "net/shared_dictionary/shared_dictionary_isolation_key.h"
#include "net/base/isolation_info.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
namespace net {
namespace {
const GURL kUrl1("https://origin1.test/");
const SchemefulSite kSite1(GURL("https://origin1.test/"));
const SchemefulSite kSite2(GURL("https://origin2.test/"));
}
TEST(SharedDictionaryIsolationKeyTest, MaybeCreate) { … }
TEST(SharedDictionaryIsolationKeyTest, MaybeCreateOpaqueTopFrameOrigin) { … }
TEST(SharedDictionaryIsolationKeyTest, MaybeCreateOpaqueFrameOrigin) { … }
TEST(SharedDictionaryIsolationKeyTest, MaybeCreateWithNonce) { … }
TEST(SharedDictionaryIsolationKeyTest, SameFrameOriginSameTopFrameSite) { … }
TEST(SharedDictionaryIsolationKeyTest, DifferentFrameOriginSameTopFrameSite) { … }
TEST(SharedDictionaryIsolationKeyTest, SameFrameOriginDifferentTopFrameSite) { … }
}