| Index: third_party/WebKit/Source/core/BUILD.gn
|
| diff --git a/third_party/WebKit/Source/core/BUILD.gn b/third_party/WebKit/Source/core/BUILD.gn
|
| index 2ff96bde729d37b07f61b0494b296895b5dcf8d2..c8c7d5141041e231ec2dd53ca496b06c5a2468b9 100644
|
| --- a/third_party/WebKit/Source/core/BUILD.gn
|
| +++ b/third_party/WebKit/Source/core/BUILD.gn
|
| @@ -937,6 +937,7 @@ target(core_link_small_target_type, "core_generated") {
|
| # Fuzzer for blink::TextResourceDecoder.
|
| fuzzer_test("text_resource_decoder_fuzzer") {
|
| sources = [
|
| + "html/parser/TextResourceDecoderForFuzzing.h",
|
| "html/parser/TextResourceDecoderFuzzer.cpp",
|
| ]
|
| deps = [
|
| @@ -1254,3 +1255,16 @@ fuzzer_test("stylesheet_contents_fuzzer") {
|
| seed_corpus = "//third_party/WebKit/LayoutTests/fast/css/resources"
|
| libfuzzer_options = [ "max_len=2048" ]
|
| }
|
| +
|
| +# Fuzzer for blink::HTMLPreloadScanner.
|
| +fuzzer_test("html_preload_scanner_fuzzer") {
|
| + sources = [
|
| + "html/parser/HTMLPreloadScannerFuzzer.cpp",
|
| + "html/parser/TextResourceDecoderForFuzzing.h",
|
| + ]
|
| + seed_corpus = "//third_party/WebKit/LayoutTests/fast/parser"
|
| + deps = [
|
| + ":core",
|
| + "../platform:blink_fuzzer_test_support",
|
| + ]
|
| +}
|
|
|