#include "third_party/blink/renderer/core/svg/svg_resource_document_content.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/core/svg/svg_resource_document_cache.h"
#include "third_party/blink/renderer/core/svg/svg_resource_document_observer.h"
#include "third_party/blink/renderer/core/testing/page_test_base.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/loader/fetch/fetch_initiator_type_names.h"
#include "third_party/blink/renderer/platform/loader/fetch/fetch_parameters.h"
namespace blink {
namespace {
class FakeSVGResourceDocumentObserver final
: public GarbageCollected<FakeSVGResourceDocumentObserver>,
public SVGResourceDocumentObserver { … };
}
class SVGResourceDocumentContentSimTest : public SimTest { … };
TEST_F(SVGResourceDocumentContentSimTest, GetDocumentBeforeLoadComplete) { … }
TEST_F(SVGResourceDocumentContentSimTest, LoadCompleteAfterDispose) { … }
class SVGResourceDocumentContentTest : public PageTestBase { … };
TEST_F(SVGResourceDocumentContentTest, EmptyDataUrl) { … }
TEST_F(SVGResourceDocumentContentTest, InvalidDocumentRoot) { … }
TEST_F(SVGResourceDocumentContentTest, CacheCleanup) { … }
TEST_F(SVGResourceDocumentContentTest, SecondLoadOfResourceInError) { … }
}