[js-fuzzer] Update skipped files
This updates the file exceptions for js-fuzzer following the procedure described at js_fuzzer/README.md. This executed gen_exceptions.sh with the latest web_tests.zip archive. FYI, the exceptions mark files with parse/mutation errors - i.e. the fuzzer bails out and is ineffective on those files. It also marks files not applicable in strict mode, which lets the fuzzer only choose sloppy instead of bailing out. Some medium slow tests are going to be chosen with lower probability. This also fixes a bug in template literal replacements which reduces the number of skipped test cases. Change-Id: I39ae9b4c4f8dcff65226d49545eb50b1cbfe5c8c Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4184213 Reviewed-by: Almothana Athamneh <almuthanna@chromium.org> Commit-Queue: Michael Achenbach <machenbach@chromium.org> Cr-Commit-Position: refs/heads/main@{#85471}
This commit is contained in:
parent
325ea86f33
commit
856bdcddb9
0
tools/clusterfuzz/js_fuzzer/gen_exceptions.sh
Normal file → Executable file
0
tools/clusterfuzz/js_fuzzer/gen_exceptions.sh
Normal file → Executable file
File diff suppressed because it is too large
Load Diff
@ -359,7 +359,7 @@ function removeComments(ast) {
|
||||
*/
|
||||
function cleanAsserts(ast) {
|
||||
function replace(string) {
|
||||
return string.replace(/[Aa]ssert/g, '*****t');
|
||||
return string == null ? null : string.replace(/[Aa]ssert/g, '*****t');
|
||||
}
|
||||
babelTraverse(ast, {
|
||||
StringLiteral(path) {
|
||||
|
@ -10,3 +10,6 @@ if (!ok)
|
||||
throw new Error(`Assertion failed: Some text`);
|
||||
|
||||
print("Assertion failed: Some text");
|
||||
|
||||
// Check that we can load template literals with null cooked value.
|
||||
check()`\01`;
|
||||
|
@ -19,3 +19,4 @@ console.log('load2.js');
|
||||
console.log('load.js');
|
||||
if (!ok) throw new Error(`*****tion failed: Some text`);
|
||||
print("*****tion failed: Some text");
|
||||
check()`\01`;
|
||||
|
Loading…
Reference in New Issue
Block a user