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

Issue 972013003: [WebView] Add test for visual state API when view dettached. (Closed)

Created:
5 years, 9 months ago by boliu
Modified:
5 years, 9 months ago
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

[WebView] Add test for visual state API when view dettached. Calling the visual state API when the container view is dettached must draw the contents correctly when the callback is received. We add a test for that. We also fix a possible crash if the container view is dettached after insertVisualStateCallback has been called but before the callback has been received. Original author igsolla@chromium.org BUG=461369, 457184 Committed: https://crrev.com/c196c218d8d9cc726c2c57077f81313f555233a3 Cr-Commit-Position: refs/heads/master@{#319112}

Patch Set 1 #

Patch Set 2 : fix test, remove unrelated changes #

Patch Set 3 : rebase #

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

Messages

Total messages: 12 (3 generated)
boliu
ptal
5 years, 9 months ago (2015-03-04 01:00:18 UTC) #2
Tobias Sargeant
lgtm
5 years, 9 months ago (2015-03-04 17:25:12 UTC) #3
boliu
+hush for committer stamp
5 years, 9 months ago (2015-03-04 17:26:21 UTC) #5
hush (inactive)
https://codereview.chromium.org/972013003/diff/40001/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/972013003/diff/40001/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode2222 android_webview/java/src/org/chromium/android_webview/AwContents.java:2222: mHandler.post(new Runnable() { what's the difference between mContainerView.getHandler() and ...
5 years, 9 months ago (2015-03-04 18:39:09 UTC) #6
boliu
https://codereview.chromium.org/972013003/diff/40001/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/972013003/diff/40001/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode2222 android_webview/java/src/org/chromium/android_webview/AwContents.java:2222: mHandler.post(new Runnable() { On 2015/03/04 18:39:08, hush wrote: > ...
5 years, 9 months ago (2015-03-04 19:16:44 UTC) #7
hush (inactive)
lgtm https://codereview.chromium.org/972013003/diff/40001/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/972013003/diff/40001/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode2222 android_webview/java/src/org/chromium/android_webview/AwContents.java:2222: mHandler.post(new Runnable() { On 2015/03/04 19:16:43, boliu wrote: ...
5 years, 9 months ago (2015-03-04 19:39:54 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/972013003/40001
5 years, 9 months ago (2015-03-04 19:41:37 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 9 months ago (2015-03-04 20:05:45 UTC) #11
commit-bot: I haz the power
5 years, 9 months ago (2015-03-04 20:06:23 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c196c218d8d9cc726c2c57077f81313f555233a3
Cr-Commit-Position: refs/heads/master@{#319112}

Powered by Google App Engine
This is Rietveld 408576698