|
|
Chromium Code Reviews
DescriptionRemove dispatchWillSendRequest from WebFrame
Customers of AssociatedURLLoader do not need this because
AssociatedURLLoader internally dispatches it.
I think customers of Platform WebURLLoader should not need this
because if it needs to use it it should be using AssociatedURLLoader.
(Current customers are only two: NetErrorHelper and MojoContextState)
BUG=694904
Review-Url: https://codereview.chromium.org/2701333004
Cr-Commit-Position: refs/heads/master@{#451963}
Committed: https://chromium.googlesource.com/chromium/src/+/047e3c9956a25ff9ed0391f550f337842cb3e7d6
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : . #
Messages
Total messages: 46 (33 generated)
Description was changed from ========== Remove dispatchWillSendRequest from ResourceFetcherImpl BUG= ========== to ========== Remove dispatchWillSendRequest from WebFrame BUG= ==========
The CQ bit was checked by kinuko@chromium.org to run a CQ dry run
Patchset #2 (id:20001) has been deleted
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by kinuko@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_tsan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by kinuko@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by kinuko@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Description was changed from ========== Remove dispatchWillSendRequest from WebFrame BUG= ========== to ========== Remove dispatchWillSendRequest from WebFrame Customers of AssociatedURLLoader do not need this because AssociatedURLLoader internally dispatches it. I think customers of Platform WebURLLoader should not need this because if it needs to use it it should be using AssociatedURLLoader. BUG= ==========
Patchset #2 (id:40001) has been deleted
Description was changed from ========== Remove dispatchWillSendRequest from WebFrame Customers of AssociatedURLLoader do not need this because AssociatedURLLoader internally dispatches it. I think customers of Platform WebURLLoader should not need this because if it needs to use it it should be using AssociatedURLLoader. BUG= ========== to ========== Remove dispatchWillSendRequest from WebFrame Customers of AssociatedURLLoader do not need this because AssociatedURLLoader internally dispatches it. I think customers of Platform WebURLLoader should not need this because if it needs to use it it should be using AssociatedURLLoader. (Current customers are NetErrorHelper and MojoContextState) BUG= ==========
kinuko@chromium.org changed reviewers: + japhet@chromium.org, tyoshino@chromium.org
I think we could possibly remove this plumbing but not 100% sure. Wdyt?
Description was changed from ========== Remove dispatchWillSendRequest from WebFrame Customers of AssociatedURLLoader do not need this because AssociatedURLLoader internally dispatches it. I think customers of Platform WebURLLoader should not need this because if it needs to use it it should be using AssociatedURLLoader. (Current customers are NetErrorHelper and MojoContextState) BUG= ========== to ========== Remove dispatchWillSendRequest from WebFrame Customers of AssociatedURLLoader do not need this because AssociatedURLLoader internally dispatches it. I think customers of Platform WebURLLoader should not need this because if it needs to use it it should be using AssociatedURLLoader. (Current customers are only two: NetErrorHelper and MojoContextState) BUG= ==========
On 2017/02/21 05:25:32, kinuko wrote: > I think we could possibly remove this plumbing but not 100% sure. Wdyt? One more note: I feel no one can be probably sure, and I wonder if we could just land this and see if it breaks something. (I can remove the WebFrame interface changes from this CL for easier revert)
On 2017/02/21 06:45:02, kinuko wrote: > On 2017/02/21 05:25:32, kinuko wrote: > > I think we could possibly remove this plumbing but not 100% sure. Wdyt? > > One more note: I feel no one can be probably sure, and I wonder if we could just > land this and see if it breaks something. (I can remove the WebFrame interface > changes from this CL for easier revert) I basically agree that it's weird that ResourceFetcherImpl is doing something with the frame. Especially, I don't know much how Gin (Gin's AMD is using the path) is used recently. Also, given that we've been with the plumbing, I'm not so sure that this won't break anything. But current situation is also not good. Things in RenderFrameImpl::willSendRequest() that need to be coordinated with Blink side's logic are not actually coordinated. Removal from AssociatedResourceFetcherImpl is lg, sure. lgtm for trying this.
On 2017/02/21 06:53:54, tyoshino wrote: > On 2017/02/21 06:45:02, kinuko wrote: > > On 2017/02/21 05:25:32, kinuko wrote: > > > I think we could possibly remove this plumbing but not 100% sure. Wdyt? > > > > One more note: I feel no one can be probably sure, and I wonder if we could > just > > land this and see if it breaks something. (I can remove the WebFrame interface > > changes from this CL for easier revert) > > I basically agree that it's weird that ResourceFetcherImpl is doing something > with the frame. Especially, I don't know much how Gin (Gin's AMD is using the > path) is used recently. Also, given that we've been with the plumbing, I'm not > so sure that this won't break anything. But current situation is also not good. > Things in RenderFrameImpl::willSendRequest() that need to be coordinated with > Blink side's logic are not actually coordinated. > > Removal from AssociatedResourceFetcherImpl is lg, sure. > > lgtm for trying this. lgtm2 to try. If something in ResourceFetcherImpl breaks, let's understand why and resolve that issue. For that matter, why do we have separate interfaces for doing a pseudo-blink load, with and without AssociatedURLLoader? I don't know the history behind ResourceFetcherImpl, but it really seems like it should either be using AssociatedURLLoader or not talking to blink at all.
Description was changed from ========== Remove dispatchWillSendRequest from WebFrame Customers of AssociatedURLLoader do not need this because AssociatedURLLoader internally dispatches it. I think customers of Platform WebURLLoader should not need this because if it needs to use it it should be using AssociatedURLLoader. (Current customers are only two: NetErrorHelper and MojoContextState) BUG= ========== to ========== Remove dispatchWillSendRequest from WebFrame Customers of AssociatedURLLoader do not need this because AssociatedURLLoader internally dispatches it. I think customers of Platform WebURLLoader should not need this because if it needs to use it it should be using AssociatedURLLoader. (Current customers are only two: NetErrorHelper and MojoContextState) BUG=694904 ==========
On 2017/02/21 19:19:37, Nate Chapin wrote: > On 2017/02/21 06:53:54, tyoshino wrote: > > On 2017/02/21 06:45:02, kinuko wrote: > > > On 2017/02/21 05:25:32, kinuko wrote: > > > > I think we could possibly remove this plumbing but not 100% sure. Wdyt? > > > > > > One more note: I feel no one can be probably sure, and I wonder if we could > > just > > > land this and see if it breaks something. (I can remove the WebFrame > interface > > > changes from this CL for easier revert) > > > > I basically agree that it's weird that ResourceFetcherImpl is doing something > > with the frame. Especially, I don't know much how Gin (Gin's AMD is using the > > path) is used recently. Also, given that we've been with the plumbing, I'm not > > so sure that this won't break anything. But current situation is also not > good. > > Things in RenderFrameImpl::willSendRequest() that need to be coordinated with > > Blink side's logic are not actually coordinated. > > > > Removal from AssociatedResourceFetcherImpl is lg, sure. > > > > lgtm for trying this. > > lgtm2 to try. If something in ResourceFetcherImpl breaks, let's understand why > and resolve that issue. For that matter, why do we have separate interfaces for > doing a pseudo-blink load, with and without AssociatedURLLoader? I don't know > the history behind ResourceFetcherImpl, but it really seems like it should > either be using AssociatedURLLoader or not talking to blink at all. Thanks, filed a bug (crbug.com/694904) for tracking, and will be landing.
On 2017/02/21 19:19:37, Nate Chapin wrote: > On 2017/02/21 06:53:54, tyoshino wrote: > > On 2017/02/21 06:45:02, kinuko wrote: > > > On 2017/02/21 05:25:32, kinuko wrote: > > > > I think we could possibly remove this plumbing but not 100% sure. Wdyt? > > > > > > One more note: I feel no one can be probably sure, and I wonder if we could > > just > > > land this and see if it breaks something. (I can remove the WebFrame > interface > > > changes from this CL for easier revert) > > > > I basically agree that it's weird that ResourceFetcherImpl is doing something > > with the frame. Especially, I don't know much how Gin (Gin's AMD is using the > > path) is used recently. Also, given that we've been with the plumbing, I'm not > > so sure that this won't break anything. But current situation is also not > good. > > Things in RenderFrameImpl::willSendRequest() that need to be coordinated with > > Blink side's logic are not actually coordinated. > > > > Removal from AssociatedResourceFetcherImpl is lg, sure. > > > > lgtm for trying this. > > lgtm2 to try. If something in ResourceFetcherImpl breaks, let's understand why > and resolve that issue. For that matter, why do we have separate interfaces for > doing a pseudo-blink load, with and without AssociatedURLLoader? I don't know > the history behind ResourceFetcherImpl, but it really seems like it should > either be using AssociatedURLLoader or not talking to blink at all. Before this clean up by me https://codereview.chromium.org/2399463007 they were more conflated. Maybe the strange stuffs are results of that.
The CQ bit was checked by kinuko@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
On 2017/02/21 19:19:37, Nate Chapin wrote: > On 2017/02/21 06:53:54, tyoshino wrote: > > On 2017/02/21 06:45:02, kinuko wrote: > > > On 2017/02/21 05:25:32, kinuko wrote: > > > > I think we could possibly remove this plumbing but not 100% sure. Wdyt? > > > > > > One more note: I feel no one can be probably sure, and I wonder if we could > > just > > > land this and see if it breaks something. (I can remove the WebFrame > interface > > > changes from this CL for easier revert) > > > > I basically agree that it's weird that ResourceFetcherImpl is doing something > > with the frame. Especially, I don't know much how Gin (Gin's AMD is using the > > path) is used recently. Also, given that we've been with the plumbing, I'm not > > so sure that this won't break anything. But current situation is also not > good. > > Things in RenderFrameImpl::willSendRequest() that need to be coordinated with > > Blink side's logic are not actually coordinated. > > > > Removal from AssociatedResourceFetcherImpl is lg, sure. > > > > lgtm for trying this. > > lgtm2 to try. If something in ResourceFetcherImpl breaks, let's understand why > and resolve that issue. For that matter, why do we have separate interfaces for > doing a pseudo-blink load, with and without AssociatedURLLoader? I don't know > the history behind ResourceFetcherImpl, but it really seems like it should > either be using AssociatedURLLoader or not talking to blink at all. Nate, I think I need your stamp without '2' part in the same token :)
The CQ bit was checked by kinuko@chromium.org to run a CQ dry run
kinuko@chromium.org changed reviewers: + dcheng@chromium.org
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
On 2017/02/22 06:48:50, kinuko wrote: > On 2017/02/21 19:19:37, Nate Chapin wrote: > > lgtm2 to try. If something in ResourceFetcherImpl breaks, let's understand why > > and resolve that issue. For that matter, why do we have separate interfaces > for > > doing a pseudo-blink load, with and without AssociatedURLLoader? I don't know > > the history behind ResourceFetcherImpl, but it really seems like it should > > either be using AssociatedURLLoader or not talking to blink at all. > > Nate, I think I need your stamp without '2' part in the same token :) Daniel- might you be able to stamp this (or have more comments on this)?
rubber stamp lgtm based on japhet's review
The CQ bit was unchecked by kinuko@chromium.org
The CQ bit was checked by kinuko@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 80001, "attempt_start_ts": 1487751813431010,
"parent_rev": "5a5c943ccde6a22137a1b9e23a4d334a26b8633b", "commit_rev":
"047e3c9956a25ff9ed0391f550f337842cb3e7d6"}
Message was sent while issue was closed.
Description was changed from ========== Remove dispatchWillSendRequest from WebFrame Customers of AssociatedURLLoader do not need this because AssociatedURLLoader internally dispatches it. I think customers of Platform WebURLLoader should not need this because if it needs to use it it should be using AssociatedURLLoader. (Current customers are only two: NetErrorHelper and MojoContextState) BUG=694904 ========== to ========== Remove dispatchWillSendRequest from WebFrame Customers of AssociatedURLLoader do not need this because AssociatedURLLoader internally dispatches it. I think customers of Platform WebURLLoader should not need this because if it needs to use it it should be using AssociatedURLLoader. (Current customers are only two: NetErrorHelper and MojoContextState) BUG=694904 Review-Url: https://codereview.chromium.org/2701333004 Cr-Commit-Position: refs/heads/master@{#451963} Committed: https://chromium.googlesource.com/chromium/src/+/047e3c9956a25ff9ed0391f550f3... ==========
Message was sent while issue was closed.
Committed patchset #3 (id:80001) as https://chromium.googlesource.com/chromium/src/+/047e3c9956a25ff9ed0391f550f3... |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
