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

Issue 382093002: WebTestProxy should explode if readback requests are unhandled (Closed)

Created:
6 years, 5 months ago by enne (OOO)
Modified:
6 years, 5 months ago
Reviewers:
Dirk Pranke
CC:
chromium-reviews, darin-cc_chromium.org, jam, jochen+watch_chromium.org, danakj
Project:
chromium
Visibility:
Public.

Description

WebTestProxy should explode if readback requests are unhandled Async readback requests are a potential use-after-free if the WebTestProxy goes away before they are serviced. However, this is not actually anything a valid test would want to do if it wanted to not be racy. So, just CHECK for outstanding tasks on destruction rather than posting with a weak pointer and silently failing such readbacks. BUG=389569 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282581

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M content/shell/renderer/test_runner/web_test_proxy.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
enne (OOO)
6 years, 5 months ago (2014-07-10 23:20:06 UTC) #1
Dirk Pranke
lgtm
6 years, 5 months ago (2014-07-11 00:17:54 UTC) #2
enne (OOO)
The CQ bit was checked by enne@chromium.org
6 years, 5 months ago (2014-07-11 00:23:04 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enne@chromium.org/382093002/1
6 years, 5 months ago (2014-07-11 00:24:41 UTC) #4
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-11 05:54:17 UTC) #5
commit-bot: I haz the power
6 years, 5 months ago (2014-07-11 07:27:45 UTC) #6
Message was sent while issue was closed.
Change committed as 282581

Powered by Google App Engine
This is Rietveld 408576698