summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMarcos Casagrande <marcoscvp90@gmail.com>2023-07-30 15:15:29 +0200
committerGitHub <noreply@github.com>2023-07-30 09:15:29 -0400
commitee7f36afdb60084203a31455f327672fbff6d9aa (patch)
tree7d3a2b2f28b7b89c0bfbd0373aeb1ce2141e1ecf /tools
parent3cb260ed15a26785272bb09427504a565010963d (diff)
fix(ext/compression): throw TypeError on corrupt input (#19979)
`TypeError` should be thrown when decompressing a corrupt input
Diffstat (limited to 'tools')
-rw-r--r--tools/wpt/expectation.json14
1 files changed, 2 insertions, 12 deletions
diff --git a/tools/wpt/expectation.json b/tools/wpt/expectation.json
index 520ac1a30..946f374eb 100644
--- a/tools/wpt/expectation.json
+++ b/tools/wpt/expectation.json
@@ -7611,18 +7611,8 @@
"decompression-constructor-error.tentative.any.worker.html": true,
"decompression-correct-input.tentative.any.html": true,
"decompression-correct-input.tentative.any.worker.html": true,
- "decompression-corrupt-input.tentative.any.html": [
- "truncating the input for 'deflate' should give an error",
- "trailing junk for 'deflate' should give an error",
- "format 'deflate' field DATA should be error for 5",
- "trailing junk for 'gzip' should give an error"
- ],
- "decompression-corrupt-input.tentative.any.worker.html": [
- "truncating the input for 'deflate' should give an error",
- "trailing junk for 'deflate' should give an error",
- "format 'deflate' field DATA should be error for 5",
- "trailing junk for 'gzip' should give an error"
- ],
+ "decompression-corrupt-input.tentative.any.html": true,
+ "decompression-corrupt-input.tentative.any.worker.html": true,
"decompression-empty-input.tentative.any.html": true,
"decompression-empty-input.tentative.any.worker.html": true,
"decompression-split-chunk.tentative.any.html": true,