[serial] Set high water mark for SerialPortUnderlyingSink to 1
The high water mark for the count queuing strategy used for a SerialPort's WritableStream needs to be at least one or else the desiredSize property of the writer will always be zero. This prevented methods like pipeTo() from working. New tests for piping readable and writable through a TransformStream have been added. Bug: 893334 Change-Id: Ie7dc63e3a3272aab369c510a82b6b1fb9cd65f64 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1846074 Commit-Queue: Reilly Grant <reillyg@chromium.org> Commit-Queue: Ovidio de Jesús Ruiz-Henríquez <odejesush@chromium.org> Reviewed-by:Ovidio de Jesús Ruiz-Henríquez <odejesush@chromium.org> Auto-Submit: Reilly Grant <reillyg@chromium.org> Cr-Commit-Position: refs/heads/master@{#703931}
Showing
Please register or sign in to comment