DescriptionFix implementation of Slow-loading image.
Blocking on returning the InputStream containing the png caused IPC
processing to stall. On the other hand, blocking on actually reading
from the stream allows IPC messages to be processed in the interim,
resulting in the onPageCommitVisible callback not being intermittently
delayed. This in turn allows us to re-enable the associated test,
which was otherwise flaky.
BUG=467081
Committed: https://crrev.com/a37055409bb8b2e3343916523944da8d4506f535
Cr-Commit-Position: refs/heads/master@{#321134}
Patch Set 1 #
Total comments: 2
Patch Set 2 : replace fixed timeout #Patch Set 3 : #Patch Set 4 : make timeout scalable #Patch Set 5 : refactor where the delay is applied. #Messages
Total messages: 21 (10 generated)
|