#include "base/files/file_path.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/ui_test_utils.h"
#include "content/public/browser/render_frame_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 "url/gurl.h"
class IFrameTest : public InProcessBrowserTest { … };
IN_PROC_BROWSER_TEST_F(IFrameTest, Crash) { … }
IN_PROC_BROWSER_TEST_F(IFrameTest, InEmptyFrame) { … }
#if defined(ADDRESS_SANITIZER) || defined(MEMORY_SANITIZER) || \
BUILDFLAG(IS_CHROMEOS_LACROS)
#define MAYBE_FileChooserInDestroyedSubframe …
#else
#define MAYBE_FileChooserInDestroyedSubframe …
#endif
IN_PROC_BROWSER_TEST_F(IFrameTest, MAYBE_FileChooserInDestroyedSubframe) { … }