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

Issue 2618363002: PlzNavigate: don't send unexpected form urls to the browser (Closed)

Created:
3 years, 11 months ago by clamy
Modified:
3 years, 11 months ago
Reviewers:
nasko
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PlzNavigate: don't send unexpected form urls to the browser Layout tests sometimes attempt to load urls of the form about:blank?foo, which are sent to the browser since they are not about:blank. However the browser does not expect these urls, and they are converted to about:blank when sanitizing the params received in the BeginNavigation IPC. Don't send these urls to the browser when layout tests are active. BUG=608372 Review-Url: https://codereview.chromium.org/2618363002 Cr-Commit-Position: refs/heads/master@{#442557} Committed: https://chromium.googlesource.com/chromium/src/+/14d8238284dab1d8aaad166d5f1ba03cceaf793b

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -2 lines) Patch
M content/renderer/render_frame_impl.cc View 1 chunk +9 lines, -0 lines 2 comments Download
M third_party/WebKit/LayoutTests/FlagExpectations/enable-browser-side-navigation View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (9 generated)
clamy
@nasko: PTAL
3 years, 11 months ago (2017-01-09 16:35:03 UTC) #5
nasko
LGTM https://codereview.chromium.org/2618363002/diff/1/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/2618363002/diff/1/content/renderer/render_frame_impl.cc#newcode5406 content/renderer/render_frame_impl.cc:5406: if (url.SchemeIs(url::kAboutScheme) && url.path() == "blank") Ugh, is ...
3 years, 11 months ago (2017-01-09 23:57:51 UTC) #8
clamy
Thanks! https://codereview.chromium.org/2618363002/diff/1/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/2618363002/diff/1/content/renderer/render_frame_impl.cc#newcode5406 content/renderer/render_frame_impl.cc:5406: if (url.SchemeIs(url::kAboutScheme) && url.path() == "blank") On 2017/01/09 ...
3 years, 11 months ago (2017-01-10 12:13:52 UTC) #9
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/2618363002/1
3 years, 11 months ago (2017-01-10 12:14:15 UTC) #11
commit-bot: I haz the power
3 years, 11 months ago (2017-01-10 12:18:44 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/14d8238284dab1d8aaad166d5f1b...

Powered by Google App Engine
This is Rietveld 408576698