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

Issue 1969743002: XFO: Bypass ancestor checks for 'Content-Disposition: attachment; ...' (Closed)

Created:
4 years, 7 months ago by Mike West
Modified:
4 years, 7 months ago
CC:
chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, jam, nasko+codewatch_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

XFO: Bypass ancestor checks for 'Content-Disposition: attachment; ...' As a result of moving our 'X-Frame-Options' checks up to the browser process (https://chromium.googlesource.com/chromium/src/+/26a6fc92ae361b4271f8f2197abe7eb063fc43ed) we're now applying that header's protections to responses that we would previously have treated as downloads. This patch brings us back to our initial behavior (which aligns with other major browsers). BUG=610284 R=creis@chromium.org,clamy@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -5 lines) Patch
M content/browser/frame_host/ancestor_throttle.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/frame_host/ancestor_throttle.cc View 3 chunks +10 lines, -1 line 0 comments Download
M content/browser/frame_host/ancestor_throttle_unittest.cc View 4 chunks +31 lines, -4 lines 0 comments Download

Messages

Total messages: 5 (3 generated)
Mike West
Hi! WDYT about this approach to fixing https://crbug.com/610284?
4 years, 7 months ago (2016-05-11 10:26:22 UTC) #2
Charlie Reis
4 years, 7 months ago (2016-05-11 16:59:00 UTC) #4
Given mmenke's concern and nasko's comment on the bug, it sounds like we might
want to set this aside, revert the original CL, and reland it when it addresses
this problem.  (I'm sad to see the original one reverted, but it does seem worth
getting this aspect right.)

Powered by Google App Engine
This is Rietveld 408576698