#include <tuple>
#include "base/command_line.h"
#include "base/feature_list.h"
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/memory/ptr_util.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/run_loop.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/test/scoped_feature_list.h"
#include "base/unguessable_token.h"
#include "build/build_config.h"
#include "chrome/browser/extensions/extension_browsertest.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_commands.h"
#include "chrome/browser/ui/singleton_tabs.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/test/base/ui_test_utils.h"
#include "content/public/browser/blob_handle.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/browser/site_isolation_policy.h"
#include "content/public/browser/web_contents_observer.h"
#include "content/public/common/content_switches.h"
#include "content/public/common/isolated_world_ids.h"
#include "content/public/common/url_constants.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "extensions/common/extension_urls.h"
#include "mojo/public/cpp/bindings/pending_remote.h"
#include "net/base/features.h"
#include "net/dns/mock_host_resolver.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
#include "storage/browser/blob/blob_registry_impl.h"
#include "storage/browser/blob/blob_url_registry.h"
#include "third_party/blink/public/common/blob/blob_utils.h"
#include "third_party/blink/public/common/features.h"
#include "third_party/blink/public/common/storage_key/storage_key.h"
#include "third_party/blink/public/mojom/blob/blob_url_store.mojom.h"
#include "url/gurl.h"
#include "url/origin.h"
class ChromeSecurityExploitBrowserTest
: public extensions::ExtensionBrowserTest { … };
class ChromeWebSecurityDisabledBrowserTest
: public ChromeSecurityExploitBrowserTest { … };
IN_PROC_BROWSER_TEST_F(ChromeWebSecurityDisabledBrowserTest,
DISABLED_ChromeExtensionResources) { … }
IN_PROC_BROWSER_TEST_F(ChromeSecurityExploitBrowserTest,
CommitWebStoreURLInWebProcess) { … }
IN_PROC_BROWSER_TEST_F(ChromeSecurityExploitBrowserTest,
CommitExtensionOriginInWebProcess) { … }
IN_PROC_BROWSER_TEST_F(ChromeSecurityExploitBrowserTest,
CommitExtensionURLInWebProcess) { … }
IN_PROC_BROWSER_TEST_F(ChromeSecurityExploitBrowserTest,
CommitExtensionFilesystemURLInWebProcess) { … }
IN_PROC_BROWSER_TEST_F(ChromeSecurityExploitBrowserTest,
CreateFilesystemURLInOtherChromeUIOrigin) { … }
IN_PROC_BROWSER_TEST_F(ChromeSecurityExploitBrowserTest,
CreateFilesystemURLInExtensionOrigin) { … }
class ChromeSecurityExploitBrowserTestMojoBlobURLs
: public ChromeSecurityExploitBrowserTest { … };
IN_PROC_BROWSER_TEST_F(ChromeSecurityExploitBrowserTestMojoBlobURLs,
CreateBlobInExtensionOrigin) { … }
IN_PROC_BROWSER_TEST_F(ChromeSecurityExploitBrowserTestMojoBlobURLs,
CreateBlobInOtherChromeUIOrigin) { … }