decompression-corrupt-input.any.html

FAILExpected26 of 29 subtests pass303 ms

Details

Test
/compression/decompression-corrupt-input.any.html
Harness
OK

Subtests

StatusSubtestMessage
PASSthe unchanged input for 'deflate' should decompress successfully
PASStruncating the input for 'deflate' should give an error
PASStrailing junk for 'deflate' should give an error
PASSformat 'deflate' field CMF should be error for 0
PASSformat 'deflate' field FLG should be success for 218
PASSformat 'deflate' field FLG should be success for 1
PASSformat 'deflate' field FLG should be success for 94
PASSformat 'deflate' field FLG should be error for 157
PASSformat 'deflate' field DATA should be success for 4
PASSformat 'deflate' field DATA should be error for 5
PASSformat 'deflate' field ADLER should be error for 255
PASSthe unchanged input for 'gzip' should decompress successfully
PASStruncating the input for 'gzip' should give an error
PASStrailing junk for 'gzip' should give an error
PASSformat 'gzip' field ID should be error for 255
PASSformat 'gzip' field CM should be error for 0
PASSformat 'gzip' field FLG should be success for 1
PASSformat 'gzip' field FLG should be error for 2
PASSformat 'gzip' field MTIME should be success for 255
PASSformat 'gzip' field XFL should be success for 255
PASSformat 'gzip' field OS should be success for 128
PASSformat 'gzip' field DATA should be error for 3
PASSformat 'gzip' field DATA should be success for 4
PASSformat 'gzip' field CRC should be error for 0
PASSformat 'gzip' field ISIZE should be error for 1
FAILthe unchanged input for 'brotli' should decompress successfully
promise_test: Unhandled rejection with value: object "TypeError: The compression format must be either 'deflate', 'deflate-raw' or 'gzip'."
promise_test: Unhandled rejection with value: object "TypeError: The compression format must be either 'deflate', 'deflate-raw' or 'gzip'."
FAILtruncating the input for 'brotli' should give an error
promise_test: Unhandled rejection with value: object "TypeError: The compression format must be either 'deflate', 'deflate-raw' or 'gzip'."
promise_test: Unhandled rejection with value: object "TypeError: The compression format must be either 'deflate', 'deflate-raw' or 'gzip'."
FAILtrailing junk for 'brotli' should give an error
promise_test: Unhandled rejection with value: object "TypeError: The compression format must be either 'deflate', 'deflate-raw' or 'gzip'."
promise_test: Unhandled rejection with value: object "TypeError: The compression format must be either 'deflate', 'deflate-raw' or 'gzip'."
PASSthe deflate input compressed with dictionary should give an error