#include "base/files/file_path.h"
#include "chrome/browser/extensions/extension_browsertest.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/test/base/ui_test_utils.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/test_navigation_observer.h"
#include "extensions/browser/extension_host.h"
#include "extensions/browser/process_manager.h"
#include "extensions/browser/process_map.h"
#include "extensions/common/constants.h"
#include "extensions/common/features/feature.h"
#include "extensions/common/mojom/context_type.mojom.h"
#include "extensions/test/extension_test_message_listener.h"
#include "extensions/test/result_catcher.h"
#include "extensions/test/test_extension_dir.h"
#include "net/dns/mock_host_resolver.h"
#include "testing/gmock/include/gmock/gmock.h"
namespace extensions {
namespace {
void RestrictProcessCount() { … }
class CrossOriginIsolationTest : public ExtensionBrowserTest { … };
IN_PROC_BROWSER_TEST_F(CrossOriginIsolationTest, CrossOriginIsolation) { … }
IN_PROC_BROWSER_TEST_F(CrossOriginIsolationTest,
CrossOriginEmbedderPolicy_HostPermissions) { … }
IN_PROC_BROWSER_TEST_F(CrossOriginIsolationTest,
CrossOriginIsolation_PlatformApps) { … }
IN_PROC_BROWSER_TEST_F(CrossOriginIsolationTest, WebAccessibleFrame) { … }
IN_PROC_BROWSER_TEST_F(CrossOriginIsolationTest, ServiceWorker) { … }
IN_PROC_BROWSER_TEST_F(CrossOriginIsolationTest,
WebAccessibleFrame_WindowApis) { … }
IN_PROC_BROWSER_TEST_F(CrossOriginIsolationTest, ExtensionMessaging_Frames) { … }
IN_PROC_BROWSER_TEST_F(CrossOriginIsolationTest,
ExtensionMessaging_ServiceWorker) { … }
IN_PROC_BROWSER_TEST_F(ExtensionBrowserTest, ExtensionResourceInIframe) { … }
}
}