#include "base/containers/contains.h"
#include "base/feature_list.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/run_loop.h"
#include "base/strings/strcat.h"
#include "base/test/bind.h"
#include "chrome/browser/profiles/profile.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/content_settings/core/browser/cookie_settings.h"
#include "components/content_settings/core/common/pref_names.h"
#include "components/prefs/pref_service.h"
#include "content/public/browser/browser_context.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/url_loader_interceptor.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
#include "net/test/embedded_test_server/http_request.h"
#include "net/test/embedded_test_server/http_response.h"
#include "third_party/blink/public/common/features.h"
#include "third_party/re2/src/re2/re2.h"
class ChromeWorkerBrowserTest : public InProcessBrowserTest { … };
IN_PROC_BROWSER_TEST_F(ChromeWorkerBrowserTest,
DedicatedWorkerScriptFetchWithThirdPartyBlocking) { … }
IN_PROC_BROWSER_TEST_F(ChromeWorkerBrowserTest,
DedicatedWorkerScriptFetchWithoutThirdPartyBlocking) { … }
IN_PROC_BROWSER_TEST_F(ChromeWorkerBrowserTest,
SharedWorkerScriptFetchWithThirdPartyBlocking) { … }
IN_PROC_BROWSER_TEST_F(ChromeWorkerBrowserTest,
SharedWorkerScriptFetchWithoutThirdPartyBlocking) { … }
class ChromeWorkerUserAgentBrowserTest : public InProcessBrowserTest { … };
constexpr char ChromeWorkerUserAgentBrowserTest::kOriginUrl[];
IN_PROC_BROWSER_TEST_F(ChromeWorkerUserAgentBrowserTest, SharedWorker) { … }
IN_PROC_BROWSER_TEST_F(ChromeWorkerUserAgentBrowserTest,
DedicatedWorkerCreatedFromFrame) { … }
IN_PROC_BROWSER_TEST_F(ChromeWorkerUserAgentBrowserTest,
DedicatedWorkerCreatedFromDedicatedWorker) { … }