#include "base/command_line.h"
#include "base/feature_list.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/test/scoped_feature_list.h"
#include "chrome/browser/metrics/metrics_memory_details.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/ui_test_utils.h"
#include "components/network_session_configurator/common/network_switches.h"
#include "content/public/browser/web_contents.h"
#include "content/public/common/content_features.h"
#include "content/public/common/content_switches.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/content_mock_cert_verifier.h"
#include "content/public/test/test_navigation_observer.h"
#include "net/dns/mock_host_resolver.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
#include "third_party/blink/public/common/features.h"
#include "url/gurl.h"
class TestMemoryDetails : public MetricsMemoryDetails { … };
class IsolatedSandboxedIframeBrowserTestBase : public InProcessBrowserTest { … };
class IsolatedSandboxedIframeBrowserTest
: public IsolatedSandboxedIframeBrowserTestBase { … };
class NotIsolatedSandboxedIframeBrowserTest
: public IsolatedSandboxedIframeBrowserTestBase { … };
IN_PROC_BROWSER_TEST_F(IsolatedSandboxedIframeBrowserTest, IsolatedSandbox) { … }
IN_PROC_BROWSER_TEST_F(IsolatedSandboxedIframeBrowserTest,
IsolatedSandboxSiblingSubframes) { … }
IN_PROC_BROWSER_TEST_F(IsolatedSandboxedIframeBrowserTest,
IsolatedSandbox3Frames2Origins1Site) { … }
IN_PROC_BROWSER_TEST_F(
IsolatedSandboxedIframeBrowserTest,
IsolatedSandboxOverheadMetricsForDifferentSiteSandboxFrames) { … }
IN_PROC_BROWSER_TEST_F(IsolatedSandboxedIframeBrowserTest,
IsolatedSandboxSrcdocSubframe) { … }
IN_PROC_BROWSER_TEST_F(IsolatedSandboxedIframeBrowserTest,
NotIsolatedSandboxAboutBlankSubframe) { … }
IN_PROC_BROWSER_TEST_F(IsolatedSandboxedIframeBrowserTest,
NotIsolatedSandboxEmptyUrlSubframe) { … }
IN_PROC_BROWSER_TEST_F(IsolatedSandboxedIframeBrowserTest,
SandboxedIframeWithJSUrl) { … }
IN_PROC_BROWSER_TEST_F(NotIsolatedSandboxedIframeBrowserTest, IsolatedSandbox) { … }
IN_PROC_BROWSER_TEST_F(IsolatedSandboxedIframeBrowserTest,
SandboxedMainframeWithSameSiteOpener) { … }
IN_PROC_BROWSER_TEST_F(IsolatedSandboxedIframeBrowserTest,
CspSandboxedMainframeWithSameSiteOpener) { … }
IN_PROC_BROWSER_TEST_F(IsolatedSandboxedIframeBrowserTest,
CspSandboxedMainframeVisitedDirectly) { … }
IN_PROC_BROWSER_TEST_F(IsolatedSandboxedIframeBrowserTest,
SandboxedIframeWithDataURL) { … }