Closed Bug 1621697 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 22194 - encoding: add SharedArrayBuffer decode check

Categories

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

task

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Bradley Farias <bfarias@godaddy.com> wrote:

encoding: add SharedArrayBuffer decode check

per https://encoding.spec.whatwg.org/#dom-textdecoder-decode , TextDecoder.prototype.decode() should accept SharedArrayBuffers.

I am unclear on the best way to do tests for situations where SharedArrayBuffer is not available, but it seemed a simple enough sanity check to just do this on the basic API test rather than branching all tests to both shared and non-shared buffers.

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
Whiteboard: [wptsync downstream error] → [wptsync downstream]
You need to log in before you can comment on or make changes to this bug.