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

Side by Side Diff: content/test/data/frame-src-self-and-b.html

Issue 1957783002: Replicate Content-Security-Policy into remote frame proxies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed CR feedback from dcheng@. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>This page should only allow subframes from the same origin or b.com</titl e>
5 </head>
6 <body>
7 This page should only allow subframes from the same origin or from b.com,
8 because its CSP headers specify frame-src 'self' and 'b.com'.
9 <iframe src="/cross-site/b.com/title2.html"></iframe>
10 <iframe srcdoc="
11 <html>
12 <head>
13 <title>subtitle1</title>
14 </head>
15 <body>
16 <iframe src='/cross-site/b.com/title2.html'></iframe>
17 </body>
18 </html>"></iframe>
19 </body>
20 </html>
21
OLDNEW
« no previous file with comments | « content/renderer/render_frame_proxy.cc ('k') | content/test/data/frame-src-self-and-b.html.mock-http-headers » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698