%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
// META: global=window,worker // META: script=resources/readable-stream-from-array.js // META: script=resources/readable-stream-to-array.js 'use strict'; const inputBytes = [229]; promise_test(async () => { const input = readableStreamFromArray([new Uint8Array(inputBytes)]); const output = input.pipeThrough(new TextDecoderStream()); const array = await readableStreamToArray(output); assert_array_equals(array, ['\uFFFD'], 'array should have one element'); }, 'incomplete input with error mode "replacement" should end with a ' + 'replacement character'); promise_test(async t => { const input = readableStreamFromArray([new Uint8Array(inputBytes)]); const output = input.pipeThrough(new TextDecoderStream( 'utf-8', {fatal: true})); const reader = output.getReader(); await promise_rejects_js(t, TypeError, reader.read(), 'read should reject'); }, 'incomplete input with error mode "fatal" should error the stream');