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

Unified Diff: LayoutTests/http/tests/security/suborigins/resources/multiple-suborigins.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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/security/suborigins/resources/multiple-suborigins.php
diff --git a/LayoutTests/http/tests/security/suborigins/resources/multiple-suborigins.php b/LayoutTests/http/tests/security/suborigins/resources/multiple-suborigins.php
new file mode 100644
index 0000000000000000000000000000000000000000..41bbbf4c62fb45d96598626c59cc2b61f35c7ab5
--- /dev/null
+++ b/LayoutTests/http/tests/security/suborigins/resources/multiple-suborigins.php
@@ -0,0 +1,8 @@
+<?php
+header("Content-Security-Policy: suborigin foo, suborigin bar");
+?>
+<!DOCTYPE html>
+<script>
+window.secret = 'I am a secret';
+parent.postMessage('Done', '*');
+</script>

Powered by Google App Engine
This is Rietveld 408576698