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

Issue 1962393002: Destroy WebWidgetTestClient when its WebWidget is destroyed. (Closed)

Created:
4 years, 7 months ago by lfg
Modified:
4 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, jochen+watch_chromium.org, mkwst+moarreviews-shell_chromium.org, mlamouri+watch-content_chromium.org, mlamouri+watch-test-runner_chromium.org, Peter Beverloo, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Destroy WebWidgetTestClient when its WebWidget is destroyed. This fixes a UaF trying to access the WebWidget from the WebWidgetTestClient. BUG=610513 Committed: https://crrev.com/fdd53d6357138bcd0ad557bc5995f6e55952758c Cr-Commit-Position: refs/heads/master@{#392928}

Patch Set 1 #

Total comments: 2

Patch Set 2 : set webview as widget for layout tests #

Patch Set 3 : keep the TODO #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -9 lines) Patch
M content/shell/renderer/layout_test/layout_test_content_renderer_client.cc View 1 2 2 chunks +4 lines, -9 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
lfg
Hey Lukasz, please take a look.
4 years, 7 months ago (2016-05-10 18:45:50 UTC) #2
Łukasz Anforowicz
WebTestProxy subclasses RenderViewImpl which implements *both* WebWidgetClient and WebViewClient. Lifetime of WebTestProxy is the same ...
4 years, 7 months ago (2016-05-10 19:44:40 UTC) #3
lfg
Please take another look. On 2016/05/10 19:44:40, Łukasz Anforowicz wrote: > WebTestProxy subclasses RenderViewImpl which ...
4 years, 7 months ago (2016-05-10 21:13:02 UTC) #4
Łukasz Anforowicz
lgtm. Thank you for adding linux_site_isolation bot to the mix of tryjobs :-)
4 years, 7 months ago (2016-05-10 22:15:37 UTC) #5
lfg
jochen, please take a look.
4 years, 7 months ago (2016-05-10 22:23:50 UTC) #7
jochen (gone - plz use gerrit)
lgtm
4 years, 7 months ago (2016-05-11 08:56:46 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1962393002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1962393002/40001
4 years, 7 months ago (2016-05-11 15:23:56 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-11 15:27:14 UTC) #12
commit-bot: I haz the power
4 years, 7 months ago (2016-05-11 15:28:20 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/fdd53d6357138bcd0ad557bc5995f6e55952758c
Cr-Commit-Position: refs/heads/master@{#392928}

Powered by Google App Engine
This is Rietveld 408576698