Closed Bug 1585225 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 19427 - Accept BufferSource

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 19427 into mozilla-central (this bug is closed when the sync is complete).

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

Canon Mukai <canonmukai@google.com> wrote:

Accept BufferSource

Previous version of DecompressionStream accepted only Uint8Array
as its input, so I added change to accept ArrayBuffer and
other ArrayBufferView like Int16Array.

I also added a test.

Bug: 999091
Change-Id: I8c153c3f639cb4e9b8563128e4cce1e6c6597cb4
Reviewed-on: https://chromium-review.googlesource.com/1831920
WPT-Export-Revision: 70432e61d9ac2832a944424cc78da4b5c79aeeb1

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Ran 4 tests and 88 subtests OK : 4 FAIL : 88 New tests that have failures or other problems: /compression/decompression-buffersource.any.html chunk of type ArrayBuffer should work for deflate: FAIL chunk of type ArrayBuffer should work for gzip: FAIL chunk of type DataView should work for deflate: FAIL chunk of type DataView should work for gzip: FAIL chunk of type Float32Array should work for deflate: FAIL chunk of type Float32Array should work for gzip: FAIL chunk of type Float64Array should work for deflate: FAIL chunk of type Float64Array should work for gzip: FAIL chunk of type Int16Array should work for deflate: FAIL chunk of type Int16Array should work for gzip: FAIL chunk of type Int32Array should work for deflate: FAIL chunk of type Int32Array should work for gzip: FAIL chunk of type Int8Array should work for deflate: FAIL chunk of type Int8Array should work for gzip: FAIL chunk of type Uint16Array should work for deflate: FAIL chunk of type Uint16Array should work for gzip: FAIL chunk of type Uint32Array should work for deflate: FAIL chunk of type Uint32Array should work for gzip: FAIL chunk of type Uint8Array should work for deflate: FAIL chunk of type Uint8Array should work for gzip: FAIL chunk of type Uint8ClambedArray should work for gzip: FAIL chunk of type Uint8ClampedArray should work for deflate: FAIL /compression/decompression-buffersource.any.serviceworker.html chunk of type ArrayBuffer should work for deflate: FAIL chunk of type ArrayBuffer should work for gzip: FAIL chunk of type DataView should work for deflate: FAIL chunk of type DataView should work for gzip: FAIL chunk of type Float32Array should work for deflate: FAIL chunk of type Float32Array should work for gzip: FAIL chunk of type Float64Array should work for deflate: FAIL chunk of type Float64Array should work for gzip: FAIL chunk of type Int16Array should work for deflate: FAIL chunk of type Int16Array should work for gzip: FAIL chunk of type Int32Array should work for deflate: FAIL chunk of type Int32Array should work for gzip: FAIL chunk of type Int8Array should work for deflate: FAIL chunk of type Int8Array should work for gzip: FAIL chunk of type Uint16Array should work for deflate: FAIL chunk of type Uint16Array should work for gzip: FAIL chunk of type Uint32Array should work for deflate: FAIL chunk of type Uint32Array should work for gzip: FAIL chunk of type Uint8Array should work for deflate: FAIL chunk of type Uint8Array should work for gzip: FAIL chunk of type Uint8ClambedArray should work for gzip: FAIL chunk of type Uint8ClampedArray should work for deflate: FAIL /compression/decompression-buffersource.any.sharedworker.html chunk of type ArrayBuffer should work for deflate: FAIL chunk of type ArrayBuffer should work for gzip: FAIL chunk of type DataView should work for deflate: FAIL chunk of type DataView should work for gzip: FAIL chunk of type Float32Array should work for deflate: FAIL chunk of type Float32Array should work for gzip: FAIL chunk of type Float64Array should work for deflate: FAIL chunk of type Float64Array should work for gzip: FAIL chunk of type Int16Array should work for deflate: FAIL chunk of type Int16Array should work for gzip: FAIL chunk of type Int32Array should work for deflate: FAIL chunk of type Int32Array should work for gzip: FAIL chunk of type Int8Array should work for deflate: FAIL chunk of type Int8Array should work for gzip: FAIL chunk of type Uint16Array should work for deflate: FAIL chunk of type Uint16Array should work for gzip: FAIL chunk of type Uint32Array should work for deflate: FAIL chunk of type Uint32Array should work for gzip: FAIL chunk of type Uint8Array should work for deflate: FAIL chunk of type Uint8Array should work for gzip: FAIL chunk of type Uint8ClambedArray should work for gzip: FAIL chunk of type Uint8ClampedArray should work for deflate: FAIL /compression/decompression-buffersource.any.worker.html chunk of type ArrayBuffer should work for deflate: FAIL chunk of type ArrayBuffer should work for gzip: FAIL chunk of type DataView should work for deflate: FAIL chunk of type DataView should work for gzip: FAIL chunk of type Float32Array should work for deflate: FAIL chunk of type Float32Array should work for gzip: FAIL chunk of type Float64Array should work for deflate: FAIL chunk of type Float64Array should work for gzip: FAIL chunk of type Int16Array should work for deflate: FAIL chunk of type Int16Array should work for gzip: FAIL chunk of type Int32Array should work for deflate: FAIL chunk of type Int32Array should work for gzip: FAIL chunk of type Int8Array should work for deflate: FAIL chunk of type Int8Array should work for gzip: FAIL chunk of type Uint16Array should work for deflate: FAIL chunk of type Uint16Array should work for gzip: FAIL chunk of type Uint32Array should work for deflate: FAIL chunk of type Uint32Array should work for gzip: FAIL chunk of type Uint8Array should work for deflate: FAIL chunk of type Uint8Array should work for gzip: FAIL chunk of type Uint8ClambedArray should work for gzip: FAIL chunk of type Uint8ClampedArray should work for deflate: FAIL
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/120f1820f797 [wpt PR 19427] - DecompressionStream: Accept BufferSource chunks, a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/db5b60adab7b [wpt PR 19427] - 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.