blob: adb30e4f0c26afb144d946e6cd655ca9e368bb1e [file] [log] [blame]
This is a testharness.js-based test.
Found 105 tests; 63 PASS, 42 FAIL, 0 TIMEOUT, 0 NOTRUN.
PASS encodeInto() into ArrayBuffer with Hi and destination length 0, offset 0, filler 0
FAIL encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 0, filler 0 Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with Hi and destination length 0, offset 4, filler 0
FAIL encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 4, filler 0 Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with Hi and destination length 0, offset 0, filler 128
FAIL encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 0, filler 128 Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with Hi and destination length 0, offset 4, filler 128
FAIL encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 4, filler 128 Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with Hi and destination length 0, offset 0, filler random
FAIL encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 0, filler random Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with Hi and destination length 0, offset 4, filler random
FAIL encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 4, filler random Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with A and destination length 10, offset 0, filler 0
FAIL encodeInto() into SharedArrayBuffer with A and destination length 10, offset 0, filler 0 Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with A and destination length 10, offset 4, filler 0
FAIL encodeInto() into SharedArrayBuffer with A and destination length 10, offset 4, filler 0 Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with A and destination length 10, offset 0, filler 128
FAIL encodeInto() into SharedArrayBuffer with A and destination length 10, offset 0, filler 128 Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with A and destination length 10, offset 4, filler 128
FAIL encodeInto() into SharedArrayBuffer with A and destination length 10, offset 4, filler 128 Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with A and destination length 10, offset 0, filler random
FAIL encodeInto() into SharedArrayBuffer with A and destination length 10, offset 0, filler random Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with A and destination length 10, offset 4, filler random
FAIL encodeInto() into SharedArrayBuffer with A and destination length 10, offset 4, filler random Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 0, filler 0
FAIL encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 0, filler 0 Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 4, filler 0
FAIL encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 4, filler 0 Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 0, filler 128
FAIL encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 0, filler 128 Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 4, filler 128
FAIL encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 4, filler 128 Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 0, filler random
FAIL encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 0, filler random Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 4, filler random
FAIL encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 4, filler random Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 0, filler 0
FAIL encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 0, filler 0 Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 4, filler 0
FAIL encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 4, filler 0 Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 0, filler 128
FAIL encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 0, filler 128 Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 4, filler 128
FAIL encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 4, filler 128 Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 0, filler random
FAIL encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 0, filler random Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 4, filler random
FAIL encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 4, filler random Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler 0
FAIL encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler 0 Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler 0
FAIL encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler 0 Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler 128
FAIL encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler 128 Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler 128
FAIL encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler 128 Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler random
FAIL encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler random Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler random
FAIL encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler random Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 0, filler 0
FAIL encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 0, filler 0 Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 4, filler 0
FAIL encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 4, filler 0 Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 0, filler 128
FAIL encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 0, filler 128 Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 4, filler 128
FAIL encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 4, filler 128 Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 0, filler random
FAIL encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 0, filler random Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 4, filler random
FAIL encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 4, filler random Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 0, filler 0
FAIL encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 0, filler 0 Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 4, filler 0
FAIL encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 4, filler 0 Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 0, filler 128
FAIL encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 0, filler 128 Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 4, filler 128
FAIL encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 4, filler 128 Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 0, filler random
FAIL encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 0, filler random Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 4, filler random
FAIL encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 4, filler random Failed to execute 'encodeInto' on 'TextEncoder': The provided ArrayBufferView value must not be shared.
PASS Invalid encodeInto() destination: DataView, backed by: ArrayBuffer
PASS Invalid encodeInto() destination: DataView, backed by: SharedArrayBuffer
PASS Invalid encodeInto() destination: Int8Array, backed by: ArrayBuffer
PASS Invalid encodeInto() destination: Int8Array, backed by: SharedArrayBuffer
PASS Invalid encodeInto() destination: Int16Array, backed by: ArrayBuffer
PASS Invalid encodeInto() destination: Int16Array, backed by: SharedArrayBuffer
PASS Invalid encodeInto() destination: Int32Array, backed by: ArrayBuffer
PASS Invalid encodeInto() destination: Int32Array, backed by: SharedArrayBuffer
PASS Invalid encodeInto() destination: Uint16Array, backed by: ArrayBuffer
PASS Invalid encodeInto() destination: Uint16Array, backed by: SharedArrayBuffer
PASS Invalid encodeInto() destination: Uint32Array, backed by: ArrayBuffer
PASS Invalid encodeInto() destination: Uint32Array, backed by: SharedArrayBuffer
PASS Invalid encodeInto() destination: Uint8ClampedArray, backed by: ArrayBuffer
PASS Invalid encodeInto() destination: Uint8ClampedArray, backed by: SharedArrayBuffer
PASS Invalid encodeInto() destination: Float32Array, backed by: ArrayBuffer
PASS Invalid encodeInto() destination: Float32Array, backed by: SharedArrayBuffer
PASS Invalid encodeInto() destination: Float64Array, backed by: ArrayBuffer
PASS Invalid encodeInto() destination: Float64Array, backed by: SharedArrayBuffer
PASS Invalid encodeInto() destination: ArrayBuffer
PASS Invalid encodeInto() destination: SharedArrayBuffer
PASS encodeInto() and a detached output buffer
Harness: the test ran to completion.