Issue metadata
Sign in to add a comment
|
NetworkService::CreateNetworkContext calls std::move twice on the same object. |
||||||||||||||||||||||||
Issue descriptionNetworkService::CreateNetworkContext calls std::move(request) twice on the request object in the same line, which has undefined before. I assume that the NetworkContext should not be setting up a binding itself, and only the StrongBinding should be set up instead, but I'm not all that familiar with Mojo.
,
Jun 27 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/cfbf85b0c37adf3acccead282bf5c9b794ba4009 commit cfbf85b0c37adf3acccead282bf5c9b794ba4009 Author: mmenke <mmenke@chromium.org> Date: Tue Jun 27 21:15:01 2017 NetworkService: Destroy NetworkContexts on NetworkService teardown. Also fix NetworkContexts potentially not being destroyed on connection error / consumer teardown, due to calling str::move twice on the same RequestPtr. BUG= 736472 Review-Url: https://codereview.chromium.org/2962693002 Cr-Commit-Position: refs/heads/master@{#482745} [modify] https://crrev.com/cfbf85b0c37adf3acccead282bf5c9b794ba4009/content/network/network_context.cc [modify] https://crrev.com/cfbf85b0c37adf3acccead282bf5c9b794ba4009/content/network/network_context.h [modify] https://crrev.com/cfbf85b0c37adf3acccead282bf5c9b794ba4009/content/network/network_service.cc [modify] https://crrev.com/cfbf85b0c37adf3acccead282bf5c9b794ba4009/content/network/network_service.h [add] https://crrev.com/cfbf85b0c37adf3acccead282bf5c9b794ba4009/content/network/network_service_unittest.cc [modify] https://crrev.com/cfbf85b0c37adf3acccead282bf5c9b794ba4009/content/test/BUILD.gn
,
Jun 27 2017
,
Jun 27 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/1caf74b3fa2e801138207bae19471d408298268b commit 1caf74b3fa2e801138207bae19471d408298268b Author: mmenke <mmenke@chromium.org> Date: Tue Jun 27 22:19:07 2017 Revert of NetworkService: Destroy NetworkContexts on NetworkService teardown. (patchset #3 id:40001 of https://codereview.chromium.org/2962693002/ ) Reason for revert: This conflicted with https://codereview.chromium.org/2951813002/, which landed at about the same time. Will fix and reland. Original issue's description: > NetworkService: Destroy NetworkContexts on NetworkService teardown. > > Also fix NetworkContexts potentially not being destroyed on connection > error / consumer teardown, due to calling str::move twice on the same > RequestPtr. > > BUG= 736472 > > Review-Url: https://codereview.chromium.org/2962693002 > Cr-Commit-Position: refs/heads/master@{#482745} > Committed: https://chromium.googlesource.com/chromium/src/+/cfbf85b0c37adf3acccead282bf5c9b794ba4009 TBR=jam@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG= 736472 Review-Url: https://codereview.chromium.org/2960843005 Cr-Commit-Position: refs/heads/master@{#482763} [modify] https://crrev.com/1caf74b3fa2e801138207bae19471d408298268b/content/network/network_context.cc [modify] https://crrev.com/1caf74b3fa2e801138207bae19471d408298268b/content/network/network_context.h [modify] https://crrev.com/1caf74b3fa2e801138207bae19471d408298268b/content/network/network_service.cc [modify] https://crrev.com/1caf74b3fa2e801138207bae19471d408298268b/content/network/network_service.h [delete] https://crrev.com/b962595bafd843504c3489fe8dbbf5e4c518528b/content/network/network_service_unittest.cc [modify] https://crrev.com/1caf74b3fa2e801138207bae19471d408298268b/content/test/BUILD.gn
,
Jun 29 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/502a6133a5974683b23edab936d6b480dcd7684e commit 502a6133a5974683b23edab936d6b480dcd7684e Author: mmenke <mmenke@chromium.org> Date: Thu Jun 29 00:36:29 2017 NetworkService: Destroy NetworkContexts on NetworkService teardown. Also fix NetworkContexts potentially not being destroyed on connection error / consumer teardown, due to calling str::move twice on the same RequestPtr. This is a reland of https://codereview.chromium.org/2962693002, which was reverted in https://codereview.chromium.org/2960843005/ due to a conflict with https://codereview.chromium.org/2951813002/. The solution was to add a base::test::ScopedTaskEnvironment to the tests. BUG= 736472 Review-Url: https://codereview.chromium.org/2963823002 Cr-Commit-Position: refs/heads/master@{#483225} [modify] https://crrev.com/502a6133a5974683b23edab936d6b480dcd7684e/content/network/network_context.cc [modify] https://crrev.com/502a6133a5974683b23edab936d6b480dcd7684e/content/network/network_context.h [modify] https://crrev.com/502a6133a5974683b23edab936d6b480dcd7684e/content/network/network_service.cc [modify] https://crrev.com/502a6133a5974683b23edab936d6b480dcd7684e/content/network/network_service.h [add] https://crrev.com/502a6133a5974683b23edab936d6b480dcd7684e/content/network/network_service_unittest.cc [modify] https://crrev.com/502a6133a5974683b23edab936d6b480dcd7684e/content/test/BUILD.gn
,
Nov 7 2017
Apologies, applied the wrong component in bulk. |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by mmenke@chromium.org
, Jun 23 2017Owner: mmenke@chromium.org
Status: Assigned (was: Untriaged)