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

Issue 2151743002: Pass validated URL to WebContentsObserver::DidFailProvidsionalLoad. (Closed)

Created:
4 years, 5 months ago by lazyboy
Modified:
4 years, 5 months ago
Reviewers:
nasko
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Pass validated URL to WebContentsObserver::DidFailProvidsionalLoad We used to filter URL in DidFailProvisionalLoadWithError in WebContentsImpl before r243208 and used to pass the filtered/validated url to WCO::DidFailProvisionalLoad. Moving filtering to NavigatorImpl caused this to change, this CL restores the behavior. BUG=None Test=None, internal cleanup. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/552a93858258daa13c2497884eecfdc2594b1e25 Cr-Commit-Position: refs/heads/master@{#405556}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 3

Patch Set 4 : Pass validated url. #

Patch Set 5 : git cl format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -16 lines) Patch
M content/browser/frame_host/navigator_delegate.h View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 1 2 3 4 1 chunk +5 lines, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 1 chunk +5 lines, -4 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 1 chunk +8 lines, -9 lines 0 comments Download

Messages

Total messages: 21 (11 generated)
lazyboy
4 years, 5 months ago (2016-07-13 23:52:09 UTC) #3
nasko
https://codereview.chromium.org/2151743002/diff/40001/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/2151743002/diff/40001/content/browser/web_contents/web_contents_impl.cc#newcode3232 content/browser/web_contents/web_contents_impl.cc:3232: params.url, The validation has been moved to NavigatorImpl::DidFailProvisionalLoadWithError. Shouldn't ...
4 years, 5 months ago (2016-07-14 00:39:22 UTC) #4
lazyboy
https://codereview.chromium.org/2151743002/diff/40001/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/2151743002/diff/40001/content/browser/web_contents/web_contents_impl.cc#newcode3232 content/browser/web_contents/web_contents_impl.cc:3232: params.url, On 2016/07/14 00:39:21, nasko wrote: > The validation ...
4 years, 5 months ago (2016-07-14 00:48:52 UTC) #5
nasko
https://codereview.chromium.org/2151743002/diff/40001/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/2151743002/diff/40001/content/browser/web_contents/web_contents_impl.cc#newcode3232 content/browser/web_contents/web_contents_impl.cc:3232: params.url, On 2016/07/14 00:48:52, lazyboy wrote: > On 2016/07/14 ...
4 years, 5 months ago (2016-07-14 14:22:46 UTC) #6
lazyboy
Done in patch set #5
4 years, 5 months ago (2016-07-14 17:23:41 UTC) #9
nasko
Thanks! LGTM
4 years, 5 months ago (2016-07-14 18:13:01 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2151743002/80001
4 years, 5 months ago (2016-07-14 20:32:43 UTC) #16
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 5 months ago (2016-07-14 20:38:54 UTC) #18
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-14 20:38:56 UTC) #19
commit-bot: I haz the power
4 years, 5 months ago (2016-07-14 20:41:33 UTC) #21
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/552a93858258daa13c2497884eecfdc2594b1e25
Cr-Commit-Position: refs/heads/master@{#405556}

Powered by Google App Engine
This is Rietveld 408576698