New issue
Advanced search Search tips

Issue 916882 link

Starred by 2 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Error when copying a big text like 500kb

Project Member Reported by ruanc@chromium.org, Dec 20

Issue description

Error Message:
cdp.Runtime: Evaluate: rpcc: message too large (increase write buffer size or enable compression)


Will add test file later.

 
Cc: hidehiko@chromium.org derat@chromium.org nya@chromium.org
Labels: OS-Chrome
This is probably a limitation of the third-party cdp package that we're using (or maybe of the Chrome DevTools Protocol itself).

Is it possible to make your test use a smaller blob of data?
This code returns the error:
https://github.com/mafredri/cdp/blob/master/rpcc/conn.go#L189

The default limit is as small as 4KB :(
https://github.com/mafredri/cdp/blob/master/rpcc/conn.go#L23

But fortunately it seems we can increase the limit:
https://godoc.org/github.com/mafredri/cdp/rpcc#WithWriteBufferSize

Sign in to add a comment