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

Issue 545963002: Android WebView: clean up the AwContentsClientBridge webcontents userdata. (Closed)

Created:
6 years, 3 months ago by benm (inactive)
Modified:
6 years, 3 months ago
Reviewers:
boliu
CC:
chromium-reviews, android-webview-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

When we destroy the AwContentsClientBridge, clear the pointer to it held by webcontents user data. Also ensure that if we don't post the callback to the java side to run the js dialog callback in the embedding app that we run the callback. BUG=411399 Committed: https://crrev.com/ad2403bd4cae2c2764097addf2caa9dfc44e9b10 Cr-Commit-Position: refs/heads/master@{#293642}

Patch Set 1 #

Total comments: 1

Patch Set 2 : add another missing callback run #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -2 lines) Patch
M android_webview/browser/aw_contents_client_bridge_base.h View 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/browser/aw_contents_client_bridge_base.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M android_webview/browser/aw_javascript_dialog_manager.cc View 2 chunks +10 lines, -0 lines 0 comments Download
M android_webview/native/aw_contents.cc View 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/native/aw_contents_client_bridge.cc View 1 2 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 25 (10 generated)
benm (inactive)
will fix up commit message soon, but I think your analysis is sound Bo (and ...
6 years, 3 months ago (2014-09-05 17:34:40 UTC) #2
boliu
Write a better description pls What other place did you find? https://codereview.chromium.org/545963002/diff/1/android_webview/browser/aw_contents_client_bridge_base.cc File android_webview/browser/aw_contents_client_bridge_base.cc (right): ...
6 years, 3 months ago (2014-09-05 17:40:53 UTC) #3
benm (inactive)
On 5 September 2014 18:40, <boliu@chromium.org> wrote: > Write a better description pls > As ...
6 years, 3 months ago (2014-09-05 17:44:23 UTC) #4
boliu
lgtm % better message and bug
6 years, 3 months ago (2014-09-05 17:46:25 UTC) #5
benm (inactive)
thanks bo, commit message updated & bug filed (I ended up staying here longer ...)
6 years, 3 months ago (2014-09-05 18:42:37 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benm@chromium.org/545963002/1
6 years, 3 months ago (2014-09-05 19:16:51 UTC) #8
commit-bot: I haz the power
Exceeded time limit waiting for builds to trigger.
6 years, 3 months ago (2014-09-06 01:20:37 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benm@chromium.org/545963002/1
6 years, 3 months ago (2014-09-06 06:34:07 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benm@chromium.org/545963002/20001
6 years, 3 months ago (2014-09-06 10:29:43 UTC) #15
commit-bot: I haz the power
Exceeded time limit waiting for builds to trigger.
6 years, 3 months ago (2014-09-06 13:51:33 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benm@chromium.org/545963002/20001
6 years, 3 months ago (2014-09-06 13:57:56 UTC) #19
commit-bot: I haz the power
Exceeded time limit waiting for builds to trigger.
6 years, 3 months ago (2014-09-06 15:58:20 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benm@chromium.org/545963002/20001
6 years, 3 months ago (2014-09-07 00:04:39 UTC) #23
commit-bot: I haz the power
Committed patchset #2 (id:20001) as bafb7ef3239ed1db29393ca1d528af08a2f19dfb
6 years, 3 months ago (2014-09-07 00:05:55 UTC) #24
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:43:35 UTC) #25
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/ad2403bd4cae2c2764097addf2caa9dfc44e9b10
Cr-Commit-Position: refs/heads/master@{#293642}

Powered by Google App Engine
This is Rietveld 408576698