0
0
mirror of https://github.com/puppeteer/puppeteer synced 2024-06-14 14:02:48 +00:00

chore: add TODO to use size parameter in getReadableFromProtocolStream ()

This commit is contained in:
Alex Rudenko 2022-01-28 09:38:14 +01:00 committed by GitHub
parent 776ced620e
commit 000c1f630d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -357,6 +357,9 @@ async function getReadableFromProtocolStream(
let eof = false;
return new Readable({
async read() {
// TODO: use the advised size parameter to read function once
// crbug.com/1290727 is resolved.
// Also, see https://github.com/puppeteer/puppeteer/pull/7868.
if (eof) {
return null;
}