Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Issue 1015963002: Fix implementation of Slow-loading image. (Closed)

Created:
5 years, 9 months ago by Tobias Sargeant
Modified:
5 years, 9 months ago
Reviewers:
mnaganov (inactive), boliu, mnaganov
CC:
chromium-reviews, android-webview-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix 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. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -18 lines) Patch
M android_webview/javatests/src/org/chromium/android_webview/test/VisualStateTest.java View 1 2 3 4 5 chunks +48 lines, -18 lines 0 comments Download

Messages

Total messages: 21 (10 generated)
Tobias Sargeant
5 years, 9 months ago (2015-03-18 09:33:47 UTC) #2
mnaganov (inactive)
LGTM % the comment https://codereview.chromium.org/1015963002/diff/1/android_webview/javatests/src/org/chromium/android_webview/test/VisualStateTest.java File android_webview/javatests/src/org/chromium/android_webview/test/VisualStateTest.java (right): https://codereview.chromium.org/1015963002/diff/1/android_webview/javatests/src/org/chromium/android_webview/test/VisualStateTest.java#newcode94 android_webview/javatests/src/org/chromium/android_webview/test/VisualStateTest.java:94: 1000)); Is this a timeout? ...
5 years, 9 months ago (2015-03-18 10:39:55 UTC) #4
Tobias Sargeant
https://codereview.chromium.org/1015963002/diff/1/android_webview/javatests/src/org/chromium/android_webview/test/VisualStateTest.java File android_webview/javatests/src/org/chromium/android_webview/test/VisualStateTest.java (right): https://codereview.chromium.org/1015963002/diff/1/android_webview/javatests/src/org/chromium/android_webview/test/VisualStateTest.java#newcode94 android_webview/javatests/src/org/chromium/android_webview/test/VisualStateTest.java:94: 1000)); On 2015/03/18 10:39:55, mnaganov (cr) wrote: > Is ...
5 years, 9 months ago (2015-03-18 11:10:38 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1015963002/20001
5 years, 9 months ago (2015-03-18 11:10:57 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1015963002/40001
5 years, 9 months ago (2015-03-18 12:06:34 UTC) #12
boliu
nice
5 years, 9 months ago (2015-03-18 14:26:16 UTC) #14
Tobias Sargeant
please take another look
5 years, 9 months ago (2015-03-18 14:39:41 UTC) #16
mnaganov (inactive)
lgtm
5 years, 9 months ago (2015-03-18 14:41:14 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1015963002/80001
5 years, 9 months ago (2015-03-18 14:42:40 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 9 months ago (2015-03-18 15:13:06 UTC) #20
commit-bot: I haz the power
5 years, 9 months ago (2015-03-18 15:13:30 UTC) #21
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/a37055409bb8b2e3343916523944da8d4506f535
Cr-Commit-Position: refs/heads/master@{#321134}

Powered by Google App Engine
This is Rietveld 408576698