chore: add TODO to use size parameter in getReadableFromProtocolStream (#7930)
This commit is contained in:
parent
776ced620e
commit
000c1f630d
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user