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

Side by Side Diff: LayoutTests/http/tests/security/suborigins/resources/childsuborigin.php

Issue 27073003: CSP Suborigins Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address many of mkwst's comments Created 5 years, 8 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 <?php
2 if ($_GET["report-only"]) {
3 header("Content-Security-Policy-Report-Only: suborigin " . $_GET["suborigin" ]);
4 } else {
5 header("Content-Security-Policy: suborigin " . $_GET["suborigin"]);
6 }
7 ?>
8 <!DOCTYPE html>
9 <script>
10 window.secret = 'I am a secret';
11 parent.postMessage('Done', '*');
12 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698