#include "third_party/blink/renderer/core/html/parser/background_html_scanner.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/dom/scriptable_document_parser.h"
#include "third_party/blink/renderer/core/html/parser/html_preload_scanner.h"
#include "third_party/blink/renderer/core/html/parser/html_tokenizer.h"
#include "third_party/blink/renderer/core/testing/page_test_base.h"
#include "third_party/blink/renderer/platform/scheduler/public/worker_pool.h"
namespace blink {
namespace {
class TestParser : public ScriptableDocumentParser { … };
class BackgroundHTMLScannerTest : public PageTestBase { … };
TEST_F(BackgroundHTMLScannerTest, SimpleScript) { … }
TEST_F(BackgroundHTMLScannerTest, InsideHTMLPreloadScanner) { … }
TEST_F(BackgroundHTMLScannerTest, MultipleScripts) { … }
TEST_F(BackgroundHTMLScannerTest, ScriptSizeLimit) { … }
TEST_F(BackgroundHTMLScannerTest, ScriptWithScriptTag) { … }
TEST_F(BackgroundHTMLScannerTest, ScriptAcrossMultipleScans) { … }
TEST_F(BackgroundHTMLScannerTest, String16Key) { … }
TEST_F(BackgroundHTMLScannerTest, String16Source) { … }
TEST_F(BackgroundHTMLScannerTest, UTF16Characters) { … }
TEST_F(BackgroundHTMLScannerTest, MismatchedScriptEndTags) { … }
TEST_F(BackgroundHTMLScannerTest, ExtraStartTag) { … }
}
}