#include "base/strings/stringprintf.h"
#include "chrome/common/webui_url_constants.h"
#include "chrome/test/base/web_ui_mocha_browser_test.h"
#include "content/public/common/url_constants.h"
#include "content/public/test/browser_test.h"
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
class SandboxStatusUITest : public WebUIMochaBrowserTest { … };
IN_PROC_BROWSER_TEST_F(SandboxStatusUITest, testSUIDorNamespaceSandboxEnabled) { … }
IN_PROC_BROWSER_TEST_F(SandboxStatusUITest, testBPFSandboxEnabled) { … }
#endif
#if BUILDFLAG(IS_WIN)
using SandboxStatusWindowsUITest = WebUIMochaBrowserTest;
IN_PROC_BROWSER_TEST_F(SandboxStatusWindowsUITest, DISABLED_testSandboxStatus) {
set_test_loader_host(chrome::kChromeUISandboxHost);
RunTestWithoutTestLoader("sandbox/sandbox_test.js",
"runMochaTest('Sandbox', 'SandboxStatus')");
}
#endif
GPUSandboxStatusUITest;
IN_PROC_BROWSER_TEST_F(GPUSandboxStatusUITest, DISABLED_testGPUSandboxEnabled) { … }