#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/platform/web_prescient_networking.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/loader/no_state_prefetch_client.h"
#include "third_party/blink/renderer/core/testing/sim/sim_request.h"
#include "third_party/blink/renderer/core/testing/sim/sim_test.h"
#include "third_party/blink/renderer/platform/testing/testing_platform_support.h"
namespace blink {
class MockNoStatePrefetchClient : public NoStatePrefetchClient { … };
class MockPrescientNetworking : public WebPrescientNetworking { … };
class HTMLPreloadScannerDocumentTest : public SimTest { … };
#if BUILDFLAG(IS_IOS)
#define MAYBE_DOMParser …
#else
#define MAYBE_DOMParser …
#endif
TEST_F(HTMLPreloadScannerDocumentTest, MAYBE_DOMParser) { … }
TEST_F(HTMLPreloadScannerDocumentTest, DetachedDocumentInnerHTML) { … }
TEST_F(HTMLPreloadScannerDocumentTest, XHRResponseDocument) { … }
TEST_F(HTMLPreloadScannerDocumentTest,
SetsClientHintsPreferencesOnFrameDelegateCH) { … }
TEST_F(HTMLPreloadScannerDocumentTest,
SetsClientHintsPreferencesOnFrameAcceptCH) { … }
}