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

Unified Diff: LayoutTests/http/tests/security/contentSecurityPolicy/suborigin-valid-names.html

Issue 27073003: CSP Suborigins Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 6 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/contentSecurityPolicy/suborigin-valid-names.html
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/suborigin-valid-names.html b/LayoutTests/http/tests/security/contentSecurityPolicy/suborigin-valid-names.html
new file mode 100644
index 0000000000000000000000000000000000000000..3889b799e5d9652d554da5348e79dce94efb7781
--- /dev/null
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/suborigin-valid-names.html
@@ -0,0 +1,12 @@
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+</script>
+<iframe src="resources/suborigin.php?suborigin=foobar"></iframe>
+<iframe src="resources/suborigin.php?suborigin=foob4r"></iframe>
+<iframe src="resources/suborigin.php?suborigin=Foobar"></iframe>
+<iframe src="resources/suborigin.php?suborigin=FOOBAR"></iframe>
+<iframe src="resources/suborigin.php?suborigin=42"></iframe>
+<p>
+There should be no console errors for this test to pass.
+</p>

Powered by Google App Engine
This is Rietveld 408576698