| 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 1179e9276e2f1a9e7d3376ccac190c84afb17dc5..801251eaf7c5d0a73fd6f2566faea7f9c8765313 100644
|
| --- a/third_party/WebKit/Source/core/BUILD.gn
|
| +++ b/third_party/WebKit/Source/core/BUILD.gn
|
| @@ -1119,6 +1119,7 @@ action_foreach("make_core_generated_bison") {
|
| # Fuzzer for blink::TextResourceDecoder.
|
| fuzzer_test("text_resource_decoder_fuzzer") {
|
| sources = [
|
| + "html/parser/TextResourceDecoderForFuzzing.h",
|
| "html/parser/TextResourceDecoderFuzzer.cpp",
|
| ]
|
| deps = [
|
| @@ -1139,3 +1140,16 @@ fuzzer_test("stylesheet_contents_fuzzer") {
|
| seed_corpus = "//third_party/WebKit/LayoutTests/fast/css/resources/*.css"
|
| 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",
|
| + ]
|
| +}
|
|
|