#include "base/command_line.h"
#include "base/test/scoped_feature_list.h"
#include "content/browser/renderer_host/frame_tree_node.h"
#include "content/browser/web_contents/web_contents_impl.h"
#include "content/common/content_navigation_policy.h"
#include "content/common/features.h"
#include "content/public/common/content_features.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/render_document_feature.h"
#include "net/dns/mock_host_resolver.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
namespace content {
namespace {
class RenderDocumentHostBrowserTest : public ContentBrowserTest { … };
}
IN_PROC_BROWSER_TEST_F(RenderDocumentHostBrowserTest, BasicMainFrame) { … }
IN_PROC_BROWSER_TEST_F(RenderDocumentHostBrowserTest, BasicSubframe) { … }
IN_PROC_BROWSER_TEST_F(RenderDocumentHostBrowserTest, PopupScriptableNavigate) { … }
IN_PROC_BROWSER_TEST_F(RenderDocumentHostBrowserTest,
SubframeScriptableNavigate) { … }
IN_PROC_BROWSER_TEST_F(RenderDocumentHostBrowserTest, InjectedFunction) { … }
}