#include "base/test/scoped_feature_list.h"
#include "base/unguessable_token.h"
#include "content/browser/renderer_host/frame_tree.h"
#include "content/browser/web_contents/web_contents_impl.h"
#include "content/common/content_navigation_policy.h"
#include "content/public/test/back_forward_cache_util.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/content_browser_test.h"
#include "content/public/test/content_browser_test_utils.h"
#include "content/public/test/test_utils.h"
#include "content/shell/browser/shell.h"
#include "content/test/content_browser_test_utils_internal.h"
#include "net/dns/mock_host_resolver.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace content {
class EmbeddingTokenBrowserTest : public ContentBrowserTest { … };
IN_PROC_BROWSER_TEST_F(EmbeddingTokenBrowserTest, EmbeddingTokenOnMainFrame) { … }
IN_PROC_BROWSER_TEST_F(EmbeddingTokenBrowserTest,
EmbeddingTokensAddedToCrossDocumentIFrames) { … }
IN_PROC_BROWSER_TEST_F(EmbeddingTokenBrowserTest,
EmbeddingTokenSwapsOnCrossDocumentNavigation) { … }
IN_PROC_BROWSER_TEST_F(
EmbeddingTokenBrowserTest,
EmbeddingTokenNotChangedOnSubframeSameDocumentNavigation) { … }
IN_PROC_BROWSER_TEST_F(EmbeddingTokenBrowserTest,
EmbeddingTokenChangedOnSubframeNavigationToNewDocument) { … }
IN_PROC_BROWSER_TEST_F(EmbeddingTokenBrowserTest,
BackForwardCacheCrossDocument) { … }
IN_PROC_BROWSER_TEST_F(EmbeddingTokenBrowserTest,
BackForwardCacheCrossDocumentAfterSameDocument) { … }
IN_PROC_BROWSER_TEST_F(EmbeddingTokenBrowserTest,
SameDocumentHistoryPreservesTokens) { … }
}