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

Issue 372403002: Allow "cross-origin" navigations from about:blank in AreURLsInPageNavigation (Closed)

Created:
6 years, 5 months ago by Nate Chapin
Modified:
6 years, 5 months ago
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Allow "cross-origin" navigations from about:blank in AreURLsInPageNavigation This can happen when an iframe is opened, then popualted via a document.write() from its parent. This will cause the url to change to the parent's url, but the browser process will not be notified of this url change. If the iframe then attempts a fragment navigation, it looks like a cross-origin navigation from about:blank. BUG=390798 TEST=Added case to NavigationControllerTest.IsInPageNavigation Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282679

Patch Set 1 #

Total comments: 1

Patch Set 2 : +TODOs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -1 line) Patch
M content/browser/frame_host/navigation_controller_impl.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl_unittest.cc View 1 1 chunk +14 lines, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
Nate Chapin
nasko: PTAL abarth: Does this seem like a reasonable way to handle the url change ...
6 years, 5 months ago (2014-07-08 20:07:58 UTC) #1
abarth-chromium
On 2014/07/08 at 20:07:58, japhet wrote: > abarth: Does this seem like a reasonable way ...
6 years, 5 months ago (2014-07-09 06:58:34 UTC) #2
nasko
https://codereview.chromium.org/372403002/diff/1/content/browser/frame_host/navigation_controller_impl.cc File content/browser/frame_host/navigation_controller_impl.cc (right): https://codereview.chromium.org/372403002/diff/1/content/browser/frame_host/navigation_controller_impl.cc#newcode126 content/browser/frame_host/navigation_controller_impl.cc:126: existing_url == GURL(url::kAboutBlankURL) || Shouldn't this only apply if ...
6 years, 5 months ago (2014-07-09 07:11:17 UTC) #3
Nate Chapin
On 2014/07/09 07:11:17, nasko (in Munich) wrote: > https://codereview.chromium.org/372403002/diff/1/content/browser/frame_host/navigation_controller_impl.cc > File content/browser/frame_host/navigation_controller_impl.cc (right): > > ...
6 years, 5 months ago (2014-07-09 19:09:19 UTC) #4
nasko
Please add a TODO or a comment so we don't forget to get this done. ...
6 years, 5 months ago (2014-07-10 09:41:01 UTC) #5
Nate Chapin
The CQ bit was checked by japhet@chromium.org
6 years, 5 months ago (2014-07-11 17:39:58 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/japhet@chromium.org/372403002/20001
6 years, 5 months ago (2014-07-11 17:41:00 UTC) #7
commit-bot: I haz the power
Change committed as 282679
6 years, 5 months ago (2014-07-11 20:06:06 UTC) #8
vapier
i guess your BUG line is incorrect. you probably want to mention the real BUG ...
6 years, 5 months ago (2014-07-13 16:52:01 UTC) #9
Nate Chapin
6 years, 5 months ago (2014-07-14 17:53:24 UTC) #10
Message was sent while issue was closed.
On 2014/07/13 16:52:01, vapier wrote:
> i guess your BUG line is incorrect.  you probably want to mention the real BUG
#
> here for posterity (and update the bug in question with the CLs that landed).

Ah, yeah, there was a typo. Should have been 390796

Powered by Google App Engine
This is Rietveld 408576698