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

Issue 2032903007: Allow about:blank to be considered in-page if origin matches. (Closed)

Created:
4 years, 6 months ago by Charlie Reis
Modified:
4 years, 6 months ago
Reviewers:
Avi (use Gerrit)
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow about:blank to be considered in-page if origin matches. This is necessary in cases that document.write changes the effective URL of the about:blank page, and then the user goes back. BUG=446959 TEST=See bug for repro steps. CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/f164daa4f2973cba2f0654d3715e47638a8de920 Cr-Commit-Position: refs/heads/master@{#398168}

Patch Set 1 #

Patch Set 2 : Fix unit tests and add test #

Total comments: 6

Patch Set 3 : Add document.close() to tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+193 lines, -39 lines) Patch
M content/browser/frame_host/navigation_controller_impl.h View 1 2 chunks +10 lines, -9 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl.cc View 1 3 chunks +8 lines, -2 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl_browsertest.cc View 1 2 1 chunk +138 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl_unittest.cc View 1 3 chunks +35 lines, -27 lines 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 9 (4 generated)
Charlie Reis
Avi, can you take a look? This should fix the other known repro steps for ...
4 years, 6 months ago (2016-06-06 19:30:54 UTC) #3
Avi (use Gerrit)
lgtm https://codereview.chromium.org/2032903007/diff/20001/content/browser/frame_host/navigation_controller_impl.cc File content/browser/frame_host/navigation_controller_impl.cc (right): https://codereview.chromium.org/2032903007/diff/20001/content/browser/frame_host/navigation_controller_impl.cc#newcode1413 content/browser/frame_host/navigation_controller_impl.cc:1413: last_committed_url.GetOrigin() == url.GetOrigin() || On 2016/06/06 19:30:54, Charlie ...
4 years, 6 months ago (2016-06-06 19:46:41 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2032903007/40001
4 years, 6 months ago (2016-06-06 20:04:06 UTC) #6
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-07 00:17:38 UTC) #7
commit-bot: I haz the power
4 years, 6 months ago (2016-06-07 00:20:45 UTC) #9
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f164daa4f2973cba2f0654d3715e47638a8de920
Cr-Commit-Position: refs/heads/master@{#398168}

Powered by Google App Engine
This is Rietveld 408576698