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

Issue 1754383002: OOPIF: Add a test for cross-site frames blocked by X-Frame-Options and CSP. (Closed)

Created:
4 years, 9 months ago by alexmos
Modified:
4 years, 9 months ago
Reviewers:
nasko
CC:
chromium-reviews, darin-cc_chromium.org, jam, 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

OOPIF: Add a test for cross-site frames blocked by X-Frame-Options and CSP. The actual issues with OOPIFs were fixed by https://codereview.chromium.org/1742923002, which changed blocked frames to behave like empty 200 responses, rather than canceling the blocked navigations and keeping the frame's old document around. BUG=584845 Committed: https://crrev.com/4170f6e85ae2ad64795a78e0ea52851c2d423cf4 Cr-Commit-Position: refs/heads/master@{#379125}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Added a comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -0 lines) Patch
M content/browser/site_per_process_browsertest.cc View 1 1 chunk +74 lines, -0 lines 0 comments Download
A content/test/data/frame-ancestors-none.html View 1 chunk +10 lines, -0 lines 0 comments Download
A content/test/data/frame-ancestors-none.html.mock-http-headers View 1 chunk +2 lines, -0 lines 0 comments Download
A content/test/data/x-frame-options-deny.html View 1 chunk +10 lines, -0 lines 0 comments Download
A content/test/data/x-frame-options-deny.html.mock-http-headers View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
alexmos
Hey Nasko, do you mind reviewing this test for me? I wrote it in https://codereview.chromium.org/1710283003/, ...
4 years, 9 months ago (2016-03-02 18:36:21 UTC) #3
nasko
LGTM https://codereview.chromium.org/1754383002/diff/1/content/browser/site_per_process_browsertest.cc File content/browser/site_per_process_browsertest.cc (right): https://codereview.chromium.org/1754383002/diff/1/content/browser/site_per_process_browsertest.cc#newcode5507 content/browser/site_per_process_browsertest.cc:5507: EXPECT_TRUE(NavigateIframeToURL(shell()->web_contents(), "child-0", c_url)); Is there any specific reason ...
4 years, 9 months ago (2016-03-03 18:35:32 UTC) #4
alexmos
Thanks! https://codereview.chromium.org/1754383002/diff/1/content/browser/site_per_process_browsertest.cc File content/browser/site_per_process_browsertest.cc (right): https://codereview.chromium.org/1754383002/diff/1/content/browser/site_per_process_browsertest.cc#newcode5507 content/browser/site_per_process_browsertest.cc:5507: EXPECT_TRUE(NavigateIframeToURL(shell()->web_contents(), "child-0", c_url)); On 2016/03/03 18:35:31, nasko wrote: ...
4 years, 9 months ago (2016-03-03 18:44:49 UTC) #5
alexmos
https://codereview.chromium.org/1754383002/diff/1/content/browser/site_per_process_browsertest.cc File content/browser/site_per_process_browsertest.cc (right): https://codereview.chromium.org/1754383002/diff/1/content/browser/site_per_process_browsertest.cc#newcode5507 content/browser/site_per_process_browsertest.cc:5507: EXPECT_TRUE(NavigateIframeToURL(shell()->web_contents(), "child-0", c_url)); On 2016/03/03 18:44:49, alexmos wrote: > ...
4 years, 9 months ago (2016-03-03 19:40:17 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1754383002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1754383002/20001
4 years, 9 months ago (2016-03-03 22:30:15 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-03 22:42:14 UTC) #10
commit-bot: I haz the power
4 years, 9 months ago (2016-03-03 22:45:09 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/4170f6e85ae2ad64795a78e0ea52851c2d423cf4
Cr-Commit-Position: refs/heads/master@{#379125}

Powered by Google App Engine
This is Rietveld 408576698