Closed Bug 1584945 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 19396 - Add some tests

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox71 fixed)

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 19396 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/19396
Details from upstream follow.

Canon Mukai <canonmukai@google.com> wrote:

Add some tests

I added three tests.

  • empty input
  • splitting a chunk
  • check the output really is Uint8Array

Bug: 999091
Change-Id: Ifa4374f85d02150ea2059f6190df71f420467151
Reviewed-on: https://chromium-review.googlesource.com/1831958
WPT-Export-Revision: b88b2390edc510a104b7655889f2c199dcc201ae

PR 19396 applied with additional changes from upstream: 2d9e88e3c597f4fffa7f55c2ec856e6f2e8c1657
Ran 16 tests and 208 subtests
OK     : 16
FAIL   : 208

New tests that have failures or other problems:
/compression/decompression-bad-chunks.any.html
    chunk of type SharedArrayBuffer should error the stream for deflate: FAIL
    chunk of type SharedArrayBuffer should error the stream for gzip: FAIL
    chunk of type array should error the stream for deflate: FAIL
    chunk of type array should error the stream for gzip: FAIL
    chunk of type invalid deflate bytes should error the stream for deflate: FAIL
    chunk of type invalid deflate bytes should error the stream for gzip: FAIL
    chunk of type invalid gzip bytes should error the stream for deflate: FAIL
    chunk of type invalid gzip bytes should error the stream for gzip: FAIL
    chunk of type null should error the stream for deflate: FAIL
    chunk of type null should error the stream for gzip: FAIL
    chunk of type numeric should error the stream for deflate: FAIL
    chunk of type numeric should error the stream for gzip: FAIL
    chunk of type object, not BufferSource should error the stream for deflate: FAIL
    chunk of type object, not BufferSource should error the stream for gzip: FAIL
    chunk of type shared Uint8Array should error the stream for deflate: FAIL
    chunk of type shared Uint8Array should error the stream for gzip: FAIL
    chunk of type undefined should error the stream for deflate: FAIL
    chunk of type undefined should error the stream for gzip: FAIL
/compression/decompression-bad-chunks.any.serviceworker.html
    chunk of type SharedArrayBuffer should error the stream for deflate: FAIL
    chunk of type SharedArrayBuffer should error the stream for gzip: FAIL
    chunk of type array should error the stream for deflate: FAIL
    chunk of type array should error the stream for gzip: FAIL
    chunk of type invalid deflate bytes should error the stream for deflate: FAIL
    chunk of type invalid deflate bytes should error the stream for gzip: FAIL
    chunk of type invalid gzip bytes should error the stream for deflate: FAIL
    chunk of type invalid gzip bytes should error the stream for gzip: FAIL
    chunk of type null should error the stream for deflate: FAIL
    chunk of type null should error the stream for gzip: FAIL
    chunk of type numeric should error the stream for deflate: FAIL
    chunk of type numeric should error the stream for gzip: FAIL
    chunk of type object, not BufferSource should error the stream for deflate: FAIL
    chunk of type object, not BufferSource should error the stream for gzip: FAIL
    chunk of type shared Uint8Array should error the stream for deflate: FAIL
    chunk of type shared Uint8Array should error the stream for gzip: FAIL
    chunk of type undefined should error the stream for deflate: FAIL
    chunk of type undefined should error the stream for gzip: FAIL
/compression/decompression-bad-chunks.any.sharedworker.html
    chunk of type SharedArrayBuffer should error the stream for deflate: FAIL
    chunk of type SharedArrayBuffer should error the stream for gzip: FAIL
    chunk of type array should error the stream for deflate: FAIL
    chunk of type array should error the stream for gzip: FAIL
    chunk of type invalid deflate bytes should error the stream for deflate: FAIL
    chunk of type invalid deflate bytes should error the stream for gzip: FAIL
    chunk of type invalid gzip bytes should error the stream for deflate: FAIL
    chunk of type invalid gzip bytes should error the stream for gzip: FAIL
    chunk of type null should error the stream for deflate: FAIL
    chunk of type null should error the stream for gzip: FAIL
    chunk of type numeric should error the stream for deflate: FAIL
    chunk of type numeric should error the stream for gzip: FAIL
    chunk of type object, not BufferSource should error the stream for deflate: FAIL
    chunk of type object, not BufferSource should error the stream for gzip: FAIL
    chunk of type shared Uint8Array should error the stream for deflate: FAIL
    chunk of type shared Uint8Array should error the stream for gzip: FAIL
    chunk of type undefined should error the stream for deflate: FAIL
    chunk of type undefined should error the stream for gzip: FAIL
/compression/decompression-bad-chunks.any.worker.html
    chunk of type SharedArrayBuffer should error the stream for deflate: FAIL
    chunk of type SharedArrayBuffer should error the stream for gzip: FAIL
    chunk of type array should error the stream for deflate: FAIL
    chunk of type array should error the stream for gzip: FAIL
    chunk of type invalid deflate bytes should error the stream for deflate: FAIL
    chunk of type invalid deflate bytes should error the stream for gzip: FAIL
    chunk of type invalid gzip bytes should error the stream for deflate: FAIL
    chunk of type invalid gzip bytes should error the stream for gzip: FAIL
    chunk of type null should error the stream for deflate: FAIL
    chunk of type null should error the stream for gzip: FAIL
    chunk of type numeric should error the stream for deflate: FAIL
    chunk of type numeric should error the stream for gzip: FAIL
    chunk of type object, not BufferSource should error the stream for deflate: FAIL
    chunk of type object, not BufferSource should error the stream for gzip: FAIL
    chunk of type shared Uint8Array should error the stream for deflate: FAIL
    chunk of type shared Uint8Array should error the stream for gzip: FAIL
    chunk of type undefined should error the stream for deflate: FAIL
    chunk of type undefined should error the stream for gzip: FAIL
/compression/decompression-empty-input.any.html
    decompressing deflate empty input should work: FAIL
    decompressing gzip empty input should work: FAIL
/compression/decompression-empty-input.any.serviceworker.html
    decompressing deflate empty input should work: FAIL
    decompressing gzip empty input should work: FAIL
/compression/decompression-empty-input.any.sharedworker.html
    decompressing deflate empty input should work: FAIL
    decompressing gzip empty input should work: FAIL
/compression/decompression-empty-input.any.worker.html
    decompressing deflate empty input should work: FAIL
    decompressing gzip empty input should work: FAIL
/compression/decompression-split-chunk.any.html
    decompressing splitted chunk into pieces of size 1 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 1 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 10 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 10 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 11 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 11 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 12 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 12 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 13 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 13 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 14 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 14 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 15 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 15 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 2 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 2 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 3 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 3 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 4 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 4 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 5 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 5 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 6 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 6 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 7 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 7 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 8 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 8 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 9 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 9 should work in gzip: FAIL
/compression/decompression-split-chunk.any.serviceworker.html
    decompressing splitted chunk into pieces of size 1 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 1 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 10 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 10 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 11 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 11 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 12 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 12 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 13 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 13 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 14 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 14 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 15 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 15 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 2 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 2 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 3 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 3 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 4 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 4 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 5 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 5 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 6 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 6 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 7 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 7 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 8 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 8 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 9 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 9 should work in gzip: FAIL
/compression/decompression-split-chunk.any.sharedworker.html
    decompressing splitted chunk into pieces of size 1 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 1 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 10 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 10 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 11 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 11 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 12 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 12 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 13 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 13 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 14 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 14 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 15 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 15 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 2 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 2 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 3 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 3 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 4 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 4 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 5 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 5 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 6 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 6 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 7 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 7 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 8 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 8 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 9 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 9 should work in gzip: FAIL
/compression/decompression-split-chunk.any.worker.html
    decompressing splitted chunk into pieces of size 1 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 1 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 10 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 10 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 11 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 11 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 12 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 12 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 13 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 13 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 14 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 14 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 15 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 15 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 2 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 2 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 3 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 3 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 4 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 4 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 5 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 5 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 6 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 6 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 7 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 7 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 8 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 8 should work in gzip: FAIL
    decompressing splitted chunk into pieces of size 9 should work in deflate: FAIL
    decompressing splitted chunk into pieces of size 9 should work in gzip: FAIL
/compression/decompression-uint8array-output.any.html
    decompressing deflated output should give Uint8Array chunks: FAIL
    decompressing gzip output should give Uint8Array chunks: FAIL
/compression/decompression-uint8array-output.any.serviceworker.html
    decompressing deflated output should give Uint8Array chunks: FAIL
    decompressing gzip output should give Uint8Array chunks: FAIL
/compression/decompression-uint8array-output.any.sharedworker.html
    decompressing deflated output should give Uint8Array chunks: FAIL
    decompressing gzip output should give Uint8Array chunks: FAIL
/compression/decompression-uint8array-output.any.worker.html
    decompressing deflated output should give Uint8Array chunks: FAIL
    decompressing gzip output should give Uint8Array chunks: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/e3fb61914eca
[wpt PR 19396] - Add more tests to DecompressionStream, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/389da31788ae
[wpt PR 19396] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.