If you update it to use stream: true, then it also leaks: const MyTextDecoderStream = () => { const textDecoder = new TextDecoder(); return new TransformStream({ transform(chunk : Uint8Array, controller: TransformStreamDefaultController) { controller.enqueue(textDecoder.decode(chunk, { stream:...
}, `TextDecoderStream should be able to decode ${encoding.name}`); if (!encoding.invalid) continue; promise_test(async t => { const stream = new TextDecoderStream(encoding.name); const reader = stream.readable.getReader(); const writer = stream.writable.getWriter(); const writePromise = ...
ubuntu gcc编译时对’xxxx’未定义的引用问题