Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(35)

Issue 1198443002: Fetch DataConsumerHandle test cleanup (Closed)

Created:
4 years, 10 months ago by yhirano
Modified:
4 years, 8 months ago
Reviewers:
hiroshige, Nico
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@tee
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Fetch DataConsumerHandle test cleanup This CL is a preperation for decoupling Updater from CompositingDataConsumerHandle. This CL does: - Move TestingThread from TeeTest.cpp to TestUtil.h and use it in ThreadingTestBase to support oilpan objects in created threads. - Move CompositingDataConsumerHandle creation from the main thread to the updating thread. Creating the handle in the main thread violates the handle assumption. BUG=480746 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197743

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : rebase #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -98 lines) Patch
M Source/modules/fetch/CompositeDataConsumerHandleTest.cpp View 5 chunks +39 lines, -20 lines 0 comments Download
M Source/modules/fetch/DataConsumerHandleTestUtil.h View 1 2 6 chunks +57 lines, -17 lines 0 comments Download
A Source/modules/fetch/DataConsumerHandleTestUtil.cpp View 1 2 1 chunk +56 lines, -0 lines 1 comment Download
M Source/modules/fetch/DataConsumerTeeTest.cpp View 1 2 10 chunks +10 lines, -61 lines 0 comments Download
M Source/modules/modules.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
yhirano
No hurry. This CL depends on https://codereview.chromium.org/1195563002/.
4 years, 10 months ago (2015-06-19 10:07:49 UTC) #2
hiroshige
Basically good, but I'm not sure about initialization/shutdown of DataConsumerHandleTestUtil::TestingThread::m_isolate. nit optional: "TestingThread" sounds like ...
4 years, 10 months ago (2015-06-22 19:24:49 UTC) #3
yhirano
> nit optional: "TestingThread" sounds like "reading/updatingThread". Another name > might be better (TestingThread is ...
4 years, 10 months ago (2015-06-23 05:34:33 UTC) #4
hiroshige
On 2015/06/23 05:34:33, yhirano wrote: > > nit optional: "TestingThread" sounds like "reading/updatingThread". Another > ...
4 years, 10 months ago (2015-06-23 06:18:19 UTC) #5
yhirano
On 2015/06/23 06:18:19, hiroshige wrote: > On 2015/06/23 05:34:33, yhirano wrote: > > > nit ...
4 years, 10 months ago (2015-06-23 07:51:02 UTC) #6
hiroshige
lgtm.
4 years, 10 months ago (2015-06-23 09:53:10 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1198443002/40001
4 years, 10 months ago (2015-06-24 13:58:39 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://src.chromium.org/viewvc/blink?view=rev&revision=197743
4 years, 10 months ago (2015-06-24 15:08:59 UTC) #11
Nico
https://codereview.chromium.org/1198443002/diff/40001/Source/modules/fetch/DataConsumerHandleTestUtil.cpp File Source/modules/fetch/DataConsumerHandleTestUtil.cpp (right): https://codereview.chromium.org/1198443002/diff/40001/Source/modules/fetch/DataConsumerHandleTestUtil.cpp#newcode36 Source/modules/fetch/DataConsumerHandleTestUtil.cpp:36: m_scriptState = ScriptState::create(v8::Context::New(isolate()), DOMWrapperWorld::create(isolate())); It looks like this is ...
4 years, 8 months ago (2015-08-26 03:54:52 UTC) #13
yhirano
4 years, 8 months ago (2015-08-26 04:49:17 UTC) #14
Message was sent while issue was closed.
Thanks for reporting. I filed a bug (https://crbug.com/524875).

Powered by Google App Engine
This is Rietveld 408576698