#include "base/test/scoped_feature_list.h"
#include "content/browser/renderer_host/render_frame_host_impl.h"
#include "content/browser/web_contents/web_contents_impl.h"
#include "content/public/browser/site_isolation_policy.h"
#include "content/public/common/content_switches.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/shell/browser/shell.h"
#include "content/test/content_browser_test_utils_internal.h"
#include "net/dns/mock_host_resolver.h"
namespace content {
class MessagePortCloseEventBrowserTest : public ContentBrowserTest { … };
IN_PROC_BROWSER_TEST_F(MessagePortCloseEventBrowserTest,
CloseEventHappensIfProcessCrashes) { … }
IN_PROC_BROWSER_TEST_F(MessagePortCloseEventBrowserTest,
CloseEventHappensIfPageEvictedFromBackForwardCache) { … }
}