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

Issue 1988933003: Revert "Introduce AncestorThrottle, which will process 'X-Frame-Options' headers." (Closed)

Created:
4 years, 7 months ago by Mike West
Modified:
4 years, 7 months ago
CC:
apavlov+blink_chromium.org, asvitkine+watch_chromium.org, blink-reviews, blink-reviews-dom_chromium.org, caseq+blink_chromium.org, cbentzel+watch_chromium.org, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, devtools-reviews_chromium.org, dglazkov+blink, eae+blinkwatch, gavinp+loader_chromium.org, jam, Nate Chapin, kinuko+watch, kozyatinskiy+blink_chromium.org, loading-reviews_chromium.org, lushnikov+blink_chromium.org, nasko+codewatch_chromium.org, pfeldman+blink_chromium.org, rwlbuis, sergeyv+blink_chromium.org, sof, 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

Revert "Introduce AncestorThrottle, which will process 'X-Frame-Options' headers." This reverts commit 26a6fc92ae361b4271f8f2197abe7eb063fc43ed, which broke our handling of 'Content-Disposition' and similar download-triggering mechanisms for sites like Drive. Which makes me sad. This revert leaves the new error code in place, as it had already hit the histogram file, and we want to ensure that it doesn't start meaning something else inbetween now and the time at which we reland this patch. Original commit: https://chromium.googlesource.com/chromium/src/+/26a6fc92ae361b4271f8f2197abe7eb063fc43ed BUG=610284, 555418 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/21f43dc397b74d88f8d9d5837c12343b834890e6 Cr-Commit-Position: refs/heads/master@{#394707}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Compiling. #

Patch Set 3 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -510 lines) Patch
M components/error_page/common/localized_error.cc View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
D content/browser/frame_host/ancestor_throttle.h View 1 chunk +0 lines, -67 lines 0 comments Download
D content/browser/frame_host/ancestor_throttle.cc View 1 chunk +0 lines, -186 lines 0 comments Download
D content/browser/frame_host/ancestor_throttle_unittest.cc View 1 chunk +0 lines, -183 lines 0 comments Download
M content/browser/frame_host/navigation_handle_impl.cc View 6 chunks +8 lines, -13 lines 0 comments Download
M content/browser/loader/navigation_resource_throttle.cc View 1 chunk +0 lines, -10 lines 0 comments Download
M content/content_browser.gypi View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M content/content_tests.gypi View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/public/browser/navigation_throttle.h View 2 chunks +1 line, -7 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/network/x-frame-options-deny.html View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/network/x-frame-options-deny-expected.txt View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/security/XFrameOptions/x-frame-options-deny-expected.txt View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/security/XFrameOptions/x-frame-options-multiple-headers-conflict-expected.txt View 1 chunk +3 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-deny-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/DocumentInit.cpp View 1 chunk +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorInstrumentationCustomInl.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/DocumentLoader.h View 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/loader/DocumentLoader.cpp View 1 4 chunks +22 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameLoader.h View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameLoader.cpp View 1 2 2 chunks +48 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/HttpEquiv.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/network/HTTPParsers.h View 2 chunks +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/network/HTTPParsers.cpp View 1 chunk +30 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
Mike West
Charlie, Matt, would you mind stamping this revert while it goes through the bots?
4 years, 7 months ago (2016-05-17 20:39:56 UTC) #3
mmenke
On 2016/05/17 20:39:56, Mike West (OOO) wrote: > Charlie, Matt, would you mind stamping this ...
4 years, 7 months ago (2016-05-17 20:45:58 UTC) #4
Charlie Reis
Thanks. content/ LGTM, though there's a compile error in Blink.
4 years, 7 months ago (2016-05-17 21:21:34 UTC) #5
Alexei Svitkine (slow)
https://codereview.chromium.org/1988933003/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (left): https://codereview.chromium.org/1988933003/diff/1/tools/metrics/histograms/histograms.xml#oldcode79848 tools/metrics/histograms/histograms.xml:79848: - <int value="27" label="BLOCKED_BY_RESPONSE"/> Nit: Can you keep these ...
4 years, 7 months ago (2016-05-17 21:22:17 UTC) #7
Mike West
On 2016/05/17 at 21:22:17, asvitkine wrote: > https://codereview.chromium.org/1988933003/diff/1/tools/metrics/histograms/histograms.xml > File tools/metrics/histograms/histograms.xml (left): > > https://codereview.chromium.org/1988933003/diff/1/tools/metrics/histograms/histograms.xml#oldcode79848 ...
4 years, 7 months ago (2016-05-18 14:15:10 UTC) #8
mmenke
On 2016/05/18 14:15:10, Mike West (OOO) wrote: > On 2016/05/17 at 21:22:17, asvitkine wrote: > ...
4 years, 7 months ago (2016-05-18 14:54:24 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1988933003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1988933003/40001
4 years, 7 months ago (2016-05-19 05:50:22 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-19 07:28:25 UTC) #14
commit-bot: I haz the power
4 years, 7 months ago (2016-05-19 07:29:30 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/21f43dc397b74d88f8d9d5837c12343b834890e6
Cr-Commit-Position: refs/heads/master@{#394707}

Powered by Google App Engine
This is Rietveld 408576698