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

Issue 582623002: Fix URLRequest pepper unit test (Closed)

Created:
6 years, 3 months ago by landell
Modified:
6 years, 3 months ago
CC:
chromium-reviews, Mostyn Bramley-Moore
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fix URLRequest pepper unit test This patch creates new URLLoaderResource objects for each request since those objects can't be reused. Calling Open() on an instance of URLLoaderResource requires that mode_ is set to MODE_WAITING_TO_OPEN. After Open() has been called mode_ will never reach that state again. BUG=None Committed: https://crrev.com/3d0670895e15c8e913d8d14322d3eefd9693b92d Cr-Commit-Position: refs/heads/master@{#296155}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Review fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -14 lines) Patch
M ppapi/tests/test_url_request.h View 2 chunks +0 lines, -3 lines 0 comments Download
M ppapi/tests/test_url_request.cc View 1 6 chunks +19 lines, -11 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
landell
The addressed issue manifests itself when running the tests AppendDataToBody and AppendFileToBody after each other, ...
6 years, 3 months ago (2014-09-18 08:09:31 UTC) #2
dmichael (off chromium)
A couple of nits, o/w lgtm. Thanks for catching that. https://codereview.chromium.org/582623002/diff/1/ppapi/tests/test_url_request.cc File ppapi/tests/test_url_request.cc (right): https://codereview.chromium.org/582623002/diff/1/ppapi/tests/test_url_request.cc#newcode108 ...
6 years, 3 months ago (2014-09-19 16:05:12 UTC) #4
landell
On 2014/09/19 16:05:12, dmichael wrote: > A couple of nits, o/w lgtm. > > Thanks ...
6 years, 3 months ago (2014-09-22 08:51:30 UTC) #5
landell
6 years, 3 months ago (2014-09-22 08:51:40 UTC) #6
dmichael (off chromium)
lgtm
6 years, 3 months ago (2014-09-22 15:42:28 UTC) #7
dmichael (off chromium)
Second lgtm is usually not needed for nits like this. If you end up with ...
6 years, 3 months ago (2014-09-22 15:43:59 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/582623002/20001
6 years, 3 months ago (2014-09-23 07:11:14 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001) as 034d9c19cacff42228a3eb2f0ae4d6b9a51494ab
6 years, 3 months ago (2014-09-23 07:55:48 UTC) #11
commit-bot: I haz the power
6 years, 3 months ago (2014-09-23 07:56:26 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/3d0670895e15c8e913d8d14322d3eefd9693b92d
Cr-Commit-Position: refs/heads/master@{#296155}

Powered by Google App Engine
This is Rietveld 408576698