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

Issue 2092293002: Block framebusts without a user gesture (Closed)

Created:
4 years, 6 months ago by Nate Chapin
Modified:
4 years, 3 months ago
CC:
blink-reviews, chromium-reviews, dcheng, mlamouri+watch-blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Block framebusts without a user gesture Intent to deprecate and remove: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/Xi8-y4ySjA4 BUG=624061 Committed: https://crrev.com/b9aa142c91bea6d08117589fbcd00183fce21322 Cr-Commit-Position: refs/heads/master@{#417102}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : +experiment #

Patch Set 4 : link to chromestatus #

Patch Set 5 : Fix tests #

Patch Set 6 : Rebase #

Total comments: 2

Patch Set 7 : RuntimeEnabledFeatures flag->stable, fix generated_resources.grd #

Patch Set 8 : ENABLED_BY_DEFAULT in content/, too #

Total comments: 1

Patch Set 9 : better flag description #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -20 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M content/child/runtime_features.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M content/public/common/content_features.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/common/content_features.cc View 1 2 3 4 5 6 7 8 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/fileapi/create-blob-url-from-data-url.html View 1 2 1 chunk +6 lines, -7 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/resources/iframe-that-performs-parent-navigation.html View 1 2 1 chunk +14 lines, -4 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/resources/iframe-that-performs-top-navigation-without-user-gesture.html View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/xss-ALLOWED-parent-navigation-change.html View 1 2 1 chunk +7 lines, -2 lines 0 comments Download
A + third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/xss-DENIED-top-navigation-without-user-gesture.html View 1 2 2 chunks +1 line, -3 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/xss-DENIED-top-navigation-without-user-gesture-expected.txt View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/security/xss-DENIED-window-open-parent-expected.txt View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/Frame.cpp View 1 2 3 3 chunks +17 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 47 (33 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2092293002/1
4 years, 5 months ago (2016-06-28 21:29:16 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/95354)
4 years, 5 months ago (2016-06-28 22:19:30 UTC) #4
Nate Chapin
mkwst, PTAL. ojan, FYI. Any opinions on the need for a flag for this? Given ...
4 years, 3 months ago (2016-08-30 22:51:15 UTC) #26
ojan
lgtm. ship it! https://codereview.chromium.org/2092293002/diff/100001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2092293002/diff/100001/chrome/app/generated_resources.grd#newcode15207 chrome/app/generated_resources.grd:15207: + <message name="IDS_FLAGS_FONT_CACHE_SCALING_DESCRIPTION" desc="Description for the ...
4 years, 3 months ago (2016-08-30 23:36:42 UTC) #28
Mike West
https://codereview.chromium.org/2092293002/diff/100001/third_party/WebKit/Source/core/frame/Frame.cpp File third_party/WebKit/Source/core/frame/Frame.cpp (right): https://codereview.chromium.org/2092293002/diff/100001/third_party/WebKit/Source/core/frame/Frame.cpp#newcode185 third_party/WebKit/Source/core/frame/Frame.cpp:185: if (!RuntimeEnabledFeatures::framebustingNeedsSameOriginOrUserGestureEnabled()) Is the "same origin" bit accurate? I ...
4 years, 3 months ago (2016-08-31 13:14:48 UTC) #29
Nate Chapin
On 2016/08/31 13:14:48, Mike West (OOO until 29th) wrote: > https://codereview.chromium.org/2092293002/diff/100001/third_party/WebKit/Source/core/frame/Frame.cpp > File third_party/WebKit/Source/core/frame/Frame.cpp (right): ...
4 years, 3 months ago (2016-08-31 16:31:08 UTC) #30
ojan
Mike, I worry about breaking too much legitimate content if we break same origin as ...
4 years, 3 months ago (2016-08-31 16:58:28 UTC) #31
Mike West
On 2016/08/31 at 16:58:28, ojan wrote: > Mike, I worry about breaking too much legitimate ...
4 years, 3 months ago (2016-09-01 12:47:45 UTC) #36
Nate Chapin
jochen, would you mind reviewing the content/ changes?
4 years, 3 months ago (2016-09-06 19:45:26 UTC) #38
jochen (gone - plz use gerrit)
lgtm https://codereview.chromium.org/2092293002/diff/140001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2092293002/diff/140001/chrome/app/generated_resources.grd#newcode15213 chrome/app/generated_resources.grd:15213: + <message name="IDS_FLAGS_FRAMEBUSTING_NAME" desc="Title for the flag to ...
4 years, 3 months ago (2016-09-07 14:24:54 UTC) #39
Nate Chapin
On 2016/09/07 14:24:54, jochen wrote: > lgtm > > https://codereview.chromium.org/2092293002/diff/140001/chrome/app/generated_resources.grd > File chrome/app/generated_resources.grd (right): > ...
4 years, 3 months ago (2016-09-07 20:59:45 UTC) #40
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/2092293002/160001
4 years, 3 months ago (2016-09-07 21:01:06 UTC) #43
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 3 months ago (2016-09-07 22:41:30 UTC) #45
commit-bot: I haz the power
4 years, 3 months ago (2016-09-07 22:43:12 UTC) #47
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/b9aa142c91bea6d08117589fbcd00183fce21322
Cr-Commit-Position: refs/heads/master@{#417102}

Powered by Google App Engine
This is Rietveld 408576698