Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(93)

Issue 2058693002: Do not suppress referrers for '<a ... rel="noopener">'. (Closed)

Created:
4 years, 6 months ago by Mike West
Modified:
4 years, 6 months ago
CC:
blink-reviews, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, gavinp+loader_chromium.org, jam, Nate Chapin, kinuko+watch, loading-reviews_chromium.org, nasko+codewatch_chromium.org, tyoshino+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Do not suppress referrers for '<a ... rel="noopener">'. The current implementation of 'noopener' correctly split the referrer and opener states in Blink, but missed a spot higher up the stack where the two were still conflated. This patch fixes that issue, adds tests to ensure we don't regress, and refactors the Blink-side code a bit so that we're no longer passing the data around twice. BUG=618532 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/4c82bb5386376f64c2a8eb9258ea397cba04b7d1 Cr-Commit-Position: refs/heads/master@{#399391}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -21 lines) Patch
M content/browser/frame_host/render_frame_host_manager_browsertest.cc View 3 chunks +21 lines, -1 line 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 chunk +1 line, -3 lines 1 comment Download
M third_party/WebKit/Source/core/loader/EmptyClients.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/FrameLoader.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/ChromeClient.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/CreateWindow.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/CreateWindow.cpp View 7 chunks +11 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/web/ChromeClientImpl.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/ChromeClientImpl.cpp View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (10 generated)
Mike West
Jochen, do you have a few minutes to take a look at this patch? https://codereview.chromium.org/2058693002/diff/1/content/browser/web_contents/web_contents_impl.cc ...
4 years, 6 months ago (2016-06-10 08:26:06 UTC) #3
jochen (gone - plz use gerrit)
lgtm
4 years, 6 months ago (2016-06-10 08:39:04 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2058693002/1
4 years, 6 months ago (2016-06-10 09:32:51 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/236984)
4 years, 6 months ago (2016-06-10 12:50:22 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2058693002/1
4 years, 6 months ago (2016-06-10 17:20:26 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/237263)
4 years, 6 months ago (2016-06-10 21:03:10 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2058693002/1
4 years, 6 months ago (2016-06-11 05:31:38 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/237617)
4 years, 6 months ago (2016-06-11 09:32:10 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2058693002/1
4 years, 6 months ago (2016-06-12 15:00:30 UTC) #18
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 6 months ago (2016-06-12 16:46:33 UTC) #19
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/4c82bb5386376f64c2a8eb9258ea397cba04b7d1 Cr-Commit-Position: refs/heads/master@{#399391}
4 years, 6 months ago (2016-06-12 16:48:04 UTC) #21
hcarmona
4 years, 6 months ago (2016-06-14 19:38:17 UTC) #22
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/2067993002/ by [email protected].

The reason for reverting is: Reverting for http://crbug.com/619856.

Powered by Google App Engine
This is Rietveld 408576698